Package nexj.core.runtime

Examples of nexj.core.runtime.InstanceArrayList


         }
      }

      Metaclass supportGroupMetaclass = getMetadata().getMetaclass("SupportGroup");
      Instance group = new Instance(supportGroupMetaclass, m_context);
      InstanceList participants = new InstanceArrayList(2);
     
      group.setNew();
      group.setValue("name", "A group");
      group.setValue("participants", participants);
      participants.add(doctor);
      doctor.setValue("licenseNumber", "Lic 01");
      commit();
     
      group = Query.createRead(supportGroupMetaclass, null, null, null, -1, 0, false, Query.SEC_NONE, m_context).read().getInstance(0);
     
View Full Code Here

TOP

Related Classes of nexj.core.runtime.InstanceArrayList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.