/**
  * Remove a org.semanticwb.process.model.ParallelIntermediateCatchEvent
  *
  * @param id Identifier for org.semanticwb.process.model.ParallelIntermediateCatchEvent
  * @param model Model of the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  */
 public static void removeParallelIntermediateCatchEvent(
     String id, org.semanticwb.model.SWBModel model) {
   model
       .getSemanticObject()
       .getModel()
       .removeSemanticObject(model.getSemanticObject().getModel().getObjectUri(id, sclass));
 }
 /**
  * Create a org.semanticwb.process.model.ParallelIntermediateCatchEvent
  *
  * @param id Identifier for org.semanticwb.process.model.ParallelIntermediateCatchEvent
  * @param model Model of the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  * @return A org.semanticwb.process.model.ParallelIntermediateCatchEvent
  */
 public static org.semanticwb.process.model.ParallelIntermediateCatchEvent
     createParallelIntermediateCatchEvent(String id, org.semanticwb.model.SWBModel model) {
   return (org.semanticwb.process.model.ParallelIntermediateCatchEvent)
       model
           .getSemanticObject()
           .getModel()
           .createGenericObject(
               model.getSemanticObject().getModel().getObjectUri(id, sclass), sclass);
 }
 /**
  * Create a org.semanticwb.process.model.ExclusiveGateway
  *
  * @param id Identifier for org.semanticwb.process.model.ExclusiveGateway
  * @param model Model of the org.semanticwb.process.model.ExclusiveGateway
  * @return A org.semanticwb.process.model.ExclusiveGateway
  */
 public static org.semanticwb.process.model.ExclusiveGateway createExclusiveGateway(
     String id, org.semanticwb.model.SWBModel model) {
   return (org.semanticwb.process.model.ExclusiveGateway)
       model
           .getSemanticObject()
           .getModel()
           .createGenericObject(
               model.getSemanticObject().getModel().getObjectUri(id, sclass), sclass);
 }
 /**
  * Create a org.semanticwb.process.model.WebServiceParameter
  *
  * @param id Identifier for org.semanticwb.process.model.WebServiceParameter
  * @param model Model of the org.semanticwb.process.model.WebServiceParameter
  * @return A org.semanticwb.process.model.WebServiceParameter
  */
 public static org.semanticwb.process.model.WebServiceParameter createWebServiceParameter(
     String id, org.semanticwb.model.SWBModel model) {
   return (org.semanticwb.process.model.WebServiceParameter)
       model
           .getSemanticObject()
           .getModel()
           .createGenericObject(
               model.getSemanticObject().getModel().getObjectUri(id, sclass), sclass);
 }
 /**
  * Gets all org.semanticwb.process.model.ExclusiveGateway with a determined Creator
  *
  * @param value Creator of the type org.semanticwb.model.User
  * @param model Model of the org.semanticwb.process.model.ExclusiveGateway
  * @return Iterator with all the org.semanticwb.process.model.ExclusiveGateway
  */
 public static java.util.Iterator<org.semanticwb.process.model.ExclusiveGateway>
     listExclusiveGatewayByCreator(
         org.semanticwb.model.User value, org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<org.semanticwb.process.model.ExclusiveGateway> it =
       new org.semanticwb.model.GenericIterator(
           model
               .getSemanticObject()
               .getModel()
               .listSubjectsByClass(swb_creator, value.getSemanticObject(), sclass));
   return it;
 }
 /**
  * Gets all org.semanticwb.process.model.ExclusiveGateway with a determined Child
  *
  * @param value Child of the type org.semanticwb.process.model.GraphicalElement
  * @param model Model of the org.semanticwb.process.model.ExclusiveGateway
  * @return Iterator with all the org.semanticwb.process.model.ExclusiveGateway
  */
 public static java.util.Iterator<org.semanticwb.process.model.ExclusiveGateway>
     listExclusiveGatewayByChild(
         org.semanticwb.process.model.GraphicalElement value,
         org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<org.semanticwb.process.model.ExclusiveGateway> it =
       new org.semanticwb.model.GenericIterator(
           model
               .getSemanticObject()
               .getModel()
               .listSubjectsByClass(swp_hasChildInv, value.getSemanticObject(), sclass));
   return it;
 }
 /**
  * Gets all org.semanticwb.process.model.ParallelIntermediateCatchEvent with a determined
  * Creator
  *
  * @param value Creator of the type org.semanticwb.model.User
  * @param model Model of the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  * @return Iterator with all the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  */
 public static java.util.Iterator<org.semanticwb.process.model.ParallelIntermediateCatchEvent>
     listParallelIntermediateCatchEventByCreator(
         org.semanticwb.model.User value, org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<
           org.semanticwb.process.model.ParallelIntermediateCatchEvent>
       it =
           new org.semanticwb.model.GenericIterator(
               model
                   .getSemanticObject()
                   .getModel()
                   .listSubjectsByClass(swb_creator, value.getSemanticObject(), sclass));
   return it;
 }
 /**
  * Gets all org.semanticwb.process.model.ExclusiveGateway with a determined FlowObjectInstance
  *
  * @param value FlowObjectInstance of the type org.semanticwb.process.model.FlowNodeInstance
  * @param model Model of the org.semanticwb.process.model.ExclusiveGateway
  * @return Iterator with all the org.semanticwb.process.model.ExclusiveGateway
  */
 public static java.util.Iterator<org.semanticwb.process.model.ExclusiveGateway>
     listExclusiveGatewayByFlowObjectInstance(
         org.semanticwb.process.model.FlowNodeInstance value,
         org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<org.semanticwb.process.model.ExclusiveGateway> it =
       new org.semanticwb.model.GenericIterator(
           model
               .getSemanticObject()
               .getModel()
               .listSubjectsByClass(
                   swp_hasFlowNodeInstanceInv, value.getSemanticObject(), sclass));
   return it;
 }
 /**
  * Gets all org.semanticwb.process.model.ExclusiveGateway with a determined
  * InputConnectionObject
  *
  * @param value InputConnectionObject of the type org.semanticwb.process.model.ConnectionObject
  * @param model Model of the org.semanticwb.process.model.ExclusiveGateway
  * @return Iterator with all the org.semanticwb.process.model.ExclusiveGateway
  */
 public static java.util.Iterator<org.semanticwb.process.model.ExclusiveGateway>
     listExclusiveGatewayByInputConnectionObject(
         org.semanticwb.process.model.ConnectionObject value,
         org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<org.semanticwb.process.model.ExclusiveGateway> it =
       new org.semanticwb.model.GenericIterator(
           model
               .getSemanticObject()
               .getModel()
               .listSubjectsByClass(
                   swp_hasInputConnectionObjectInv, value.getSemanticObject(), sclass));
   return it;
 }
 /**
  * Gets all org.semanticwb.process.model.ParallelIntermediateCatchEvent with a determined Child
  *
  * @param value Child of the type org.semanticwb.process.model.GraphicalElement
  * @param model Model of the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  * @return Iterator with all the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  */
 public static java.util.Iterator<org.semanticwb.process.model.ParallelIntermediateCatchEvent>
     listParallelIntermediateCatchEventByChild(
         org.semanticwb.process.model.GraphicalElement value,
         org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<
           org.semanticwb.process.model.ParallelIntermediateCatchEvent>
       it =
           new org.semanticwb.model.GenericIterator(
               model
                   .getSemanticObject()
                   .getModel()
                   .listSubjectsByClass(swp_hasChildInv, value.getSemanticObject(), sclass));
   return it;
 }
 /**
  * Gets all org.semanticwb.process.model.ParallelIntermediateCatchEvent with a determined
  * FlowObjectInstance
  *
  * @param value FlowObjectInstance of the type org.semanticwb.process.model.FlowNodeInstance
  * @param model Model of the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  * @return Iterator with all the org.semanticwb.process.model.ParallelIntermediateCatchEvent
  */
 public static java.util.Iterator<org.semanticwb.process.model.ParallelIntermediateCatchEvent>
     listParallelIntermediateCatchEventByFlowObjectInstance(
         org.semanticwb.process.model.FlowNodeInstance value,
         org.semanticwb.model.SWBModel model) {
   org.semanticwb.model.GenericIterator<
           org.semanticwb.process.model.ParallelIntermediateCatchEvent>
       it =
           new org.semanticwb.model.GenericIterator(
               model
                   .getSemanticObject()
                   .getModel()
                   .listSubjectsByClass(
                       swp_hasFlowNodeInstanceInv, value.getSemanticObject(), sclass));
   return it;
 }
 public static org.semanticwb.process.model.WebServiceParameter createWebServiceParameter(
     org.semanticwb.model.SWBModel model) {
   long id = model.getSemanticObject().getModel().getCounter(sclass);
   return org.semanticwb.process.model.WebServiceParameter.ClassMgr.createWebServiceParameter(
       String.valueOf(id), model);
 }
 /**
  * Returns a list of WebServiceParameter for a model
  *
  * @param model Model to find
  * @return Iterator of org.semanticwb.process.model.WebServiceParameter
  */
 public static java.util.Iterator<org.semanticwb.process.model.WebServiceParameter>
     listWebServiceParameters(org.semanticwb.model.SWBModel model) {
   java.util.Iterator it = model.getSemanticObject().getModel().listInstancesOfClass(sclass);
   return new org.semanticwb.model.GenericIterator<
       org.semanticwb.process.model.WebServiceParameter>(it, true);
 }
Exemplo n.º 14
0
 /**
  * Remove a org.semanticwb.process.model.ExclusiveGateway
  *
  * @param id Identifier for org.semanticwb.process.model.ExclusiveGateway
  * @param model Model of the org.semanticwb.process.model.ExclusiveGateway
  */
 public static void removeExclusiveGateway(String id, org.semanticwb.model.SWBModel model) {
   model
       .getSemanticObject()
       .getModel()
       .removeSemanticObject(model.getSemanticObject().getModel().getObjectUri(id, sclass));
 }
Exemplo n.º 15
0
 public static org.semanticwb.process.model.ExclusiveGateway createExclusiveGateway(
     org.semanticwb.model.SWBModel model) {
   long id = model.getSemanticObject().getModel().getCounter(sclass);
   return org.semanticwb.process.model.ExclusiveGateway.ClassMgr.createExclusiveGateway(
       String.valueOf(id), model);
 }
 public static org.semanticwb.process.model.ParallelIntermediateCatchEvent
     createParallelIntermediateCatchEvent(org.semanticwb.model.SWBModel model) {
   long id = model.getSemanticObject().getModel().getCounter(sclass);
   return org.semanticwb.process.model.ParallelIntermediateCatchEvent.ClassMgr
       .createParallelIntermediateCatchEvent(String.valueOf(id), model);
 }
Exemplo n.º 17
0
 /**
  * Returns a list of ExclusiveGateway for a model
  *
  * @param model Model to find
  * @return Iterator of org.semanticwb.process.model.ExclusiveGateway
  */
 public static java.util.Iterator<org.semanticwb.process.model.ExclusiveGateway>
     listExclusiveGateways(org.semanticwb.model.SWBModel model) {
   java.util.Iterator it = model.getSemanticObject().getModel().listInstancesOfClass(sclass);
   return new org.semanticwb.model.GenericIterator<
       org.semanticwb.process.model.ExclusiveGateway>(it, true);
 }
 /**
  * Remove a org.semanticwb.process.model.WebServiceParameter
  *
  * @param id Identifier for org.semanticwb.process.model.WebServiceParameter
  * @param model Model of the org.semanticwb.process.model.WebServiceParameter
  */
 public static void removeWebServiceParameter(String id, org.semanticwb.model.SWBModel model) {
   model
       .getSemanticObject()
       .getModel()
       .removeSemanticObject(model.getSemanticObject().getModel().getObjectUri(id, sclass));
 }
 /**
  * Returns a list of ParallelIntermediateCatchEvent for a model
  *
  * @param model Model to find
  * @return Iterator of org.semanticwb.process.model.ParallelIntermediateCatchEvent
  */
 public static java.util.Iterator<org.semanticwb.process.model.ParallelIntermediateCatchEvent>
     listParallelIntermediateCatchEvents(org.semanticwb.model.SWBModel model) {
   java.util.Iterator it = model.getSemanticObject().getModel().listInstancesOfClass(sclass);
   return new org.semanticwb.model.GenericIterator<
       org.semanticwb.process.model.ParallelIntermediateCatchEvent>(it, true);
 }