congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.common
Code IndexAdd Tabnine to your IDE (free)

How to use com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.common

Best Java code snippets using com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.common (Showing top 20 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public String toString() {
  return "["+this.getId()+":"+this.getName()+"]";
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

  @Override
  public String toString() {
    
    return getId()+" ("+structureRef+")";
  }
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

  @Override
  public String toString() {
    return this.getId()+":"+name;
  }
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private static ParticipantBean buildUpperParticipant(DefinitionsBean globalResult) {
  UPPER_Participant_ID = createUniqueId();
  ParticipantBean result = new ParticipantBean(UPPER_Participant_ID);
  result.setName("Sensor Array");
  PartnerRoleBean pr = new PartnerRoleBean(createUniqueId());
  pr.setName(result.getName());
  pr.addParticipant(result);
  
  globalResult.addPartnerRole(pr);
  
  
  ProcessBean process = new ProcessBean(createUniqueId());
  process.setName(result.getName().replace(" ","")+"Process");
  process.setType(ProcessTypes.PUBLIC);
  globalResult.addProcess(process);
  result.setProcess(process);
  process.addLane(buildUpperLane(process, globalResult));
  
  return result;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private static List<IMessageBean> buildMessages() {
  List<IMessageBean> result = new ArrayList<IMessageBean>();
  
  MessageBean msg1 = new MessageBean(createUniqueId());
  msg1.setName("");
  ItemDefinitionBean idb1 = new ItemDefinitionBean(createUniqueId());
  msg1.setItemDefinition(idb1);
  
  return result;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private static List<IMessageFlowBean> buildMessageFlows() {
  ArrayList<IMessageFlowBean> result = new ArrayList<IMessageFlowBean>();
  
  MF_1_ID = createUniqueId();
  MessageFlowBean messageFlow1 = new MessageFlowBean(MF_1_ID);
  messageFlow1.setSource((IInteractionNodeBean) MFsource);
  messageFlow1.setTarget((IInteractionNodeBean) MFtarget);
  
  result.add(messageFlow1);
  
  return result;
}
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

  /**
   * Info: Pool syntax model is built in LaneSyntaxModelBinder
   */
  public void bindSyntaxModel(IModelElement diagramElementSyntaxModel,
      IEditorModel editorModel, IDiagramElement diagramElement) {
    
    
    ParticipantBean participantBean     = (ParticipantBean) diagramElementSyntaxModel;
    PoolEditorModel poolEditorModel     = (PoolEditorModel) editorModel;
    

    
    participantBean.setName(poolEditorModel.getName());
    participantBean.setDocumentation(poolEditorModel.getDocumentation());
    participantBean.setInterfaces(poolEditorModel.getInterfaces());
    
//        if (poolEditorModel.getParticipantMultiplicityMax()!=null) participantBean.setMaximumMultiplicity(Integer.parseInt(poolEditorModel.getParticipantMultiplicityMax()));
//        if (poolEditorModel.getParticipantMultiplicityMin()!=null) participantBean.setMinimumMultiplicity(Integer.parseInt(poolEditorModel.getParticipantMultiplicityMin()));
//        

    
  
  }

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

private static void adaptPartnerRoles(DefinitionsBean defs, PartnerRole[] partnerRoles) {
  if(partnerRoles!=null){
    for(PartnerRole pr : partnerRoles){
      PartnerRoleBean prb = new PartnerRoleBean(pr.getId());
      prb.setName(pr.getName());
      setDocumentationAndExtensions(prb, pr);
      prb.setParticipants(findParticipants(defs, pr.getParticipantRef()));
    }
  }
}

origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

@Override
public void onInstantiation(DefaultParticipantEditorModel watchedModel,
    CollaborationBean modelToBind) {
  this.participant = new ParticipantBean();
  this.initialized = false;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public String toString() {
  return "["+this.getId()+":"+this.getName()+"]";
}

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected IItemDefinitionBean getNewDefaultRecord() {
  return new ItemDefinitionBean(DOM.createUniqueId());
}
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected IMessageBean getNewDefaultRecord() {
  return new MessageBean(DOM.createUniqueId());
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public ParticipantBean(String id){
  super(id);
  this.setInterfaces(new ArrayList<IInterfaceBean>());
  this.process = new ProcessBean();
  endPoints = new ArrayList<IEndPointBean>();
  minimumMultiplicity = 0;
  maximumMultiplicity = 1;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

protected PartnerRoleBean(){
  super();
  setParticipants(new ArrayList<IParticipantBean>());
}

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected ISignalBean getNewDefaultRecord() {
  return new SignalBean(DOM.createUniqueId());
}
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected IErrorBean getNewDefaultRecord() {
  return new ErrorBean(DOM.createUniqueId());
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public String toString() {
  return getName();
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private static ParticipantBean buildLowerParticipant(DefinitionsBean globalResult) {
  LOWER_Participant_ID = createUniqueId();
  ParticipantBean result = new ParticipantBean(LOWER_Participant_ID);
  result.setName("Document Writer");
  
  PartnerRoleBean pr = new PartnerRoleBean(createUniqueId());
  pr.setName(result.getName());
  pr.addParticipant(result);
  globalResult.addPartnerRole(pr);
  
  ProcessBean process = new ProcessBean(createUniqueId());
  process.setName(result.getName().replace(" ","")+"Process");
  process.setType(ProcessTypes.PUBLIC);
  globalResult.addProcess(process);
  result.setProcess(process);
  process.addLane(buildLowerLane1(process,globalResult));
  process.addLane(buildLowerLane2(process));
  
  return result;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public PartnerRoleBean(String id){
  super(id);
  setParticipants(new ArrayList<IParticipantBean>());
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private static ParticipantBean buildlowerParticipant(DefinitionsBean globalResult) {
  
  LOWER_Participant_ID = createUniqueId();
  
  ParticipantBean result = new ParticipantBean(LOWER_Participant_ID);
  result.setName("VO memberS");
  
  PartnerRoleBean pr = new PartnerRoleBean(createUniqueId());
  pr.setName(result.getName());
  pr.addParticipant(result);
  globalResult.addPartnerRole(pr);
  
  ProcessBean process = new ProcessBean(createUniqueId());
  process.setName(process.getId());
  process.setType(ProcessTypes.PUBLIC);
  globalResult.addProcess(process);
  result.setProcess(process);
  process.addLane(buildLowerLane(process,globalResult));
  
  return result;
}

com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.common

Most used classes

  • ErrorBean
  • ItemDefinitionBean
  • MessageBean
  • MessageFlowBean
  • ParticipantBean
  • PartnerRoleBean,
  • AssociationBean,
  • EscalationBean,
  • TextAnnotationBean
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now