Example #1
0
 /**
  * Set value of TestEntity_SecondEntity
  *
  * @param context
  * @param testentity_secondentity
  */
 public final void setTestEntity_SecondEntity(
     IContext context, myfirstmodule.proxies.SecondEntity testentity_secondentity) {
   if (testentity_secondentity == null)
     getMendixObject().setValue(context, MemberNames.TestEntity_SecondEntity.toString(), null);
   else
     getMendixObject()
         .setValue(
             context,
             MemberNames.TestEntity_SecondEntity.toString(),
             testentity_secondentity.getMendixObject().getId());
 }
Example #2
0
 /**
  * @param context
  * @return value of TestEntity_SecondEntity
  */
 public final myfirstmodule.proxies.SecondEntity getTestEntity_SecondEntity(IContext context)
     throws CoreException {
   myfirstmodule.proxies.SecondEntity result = null;
   IMendixIdentifier identifier =
       getMendixObject().getValue(context, MemberNames.TestEntity_SecondEntity.toString());
   if (identifier != null) result = myfirstmodule.proxies.SecondEntity.load(context, identifier);
   return result;
 }