congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ParticipantBean.setInterfaces
Code IndexAdd Tabnine to your IDE (free)

How to use
setInterfaces
method
in
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.common.ParticipantBean

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

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/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 ParticipantBean adaptParticipant(Participant participant, CollaborationBean c, DefinitionsBean defs) {
  ParticipantBean result = new ParticipantBean(participant.getId());
  
  result.setName(participant.getName());
  result.setInterfaces(findInterfaces(defs, participant.getInterfaceRef()));
  result.setEndPoints(findEndPoints(defs, participant.getEndPointRef()));
  if(participant.getProcessRef()!=null){
    IProcessBean pBean = findProcess(defs, participant.getProcessRef().getLocalPart());
    result.setProcess(pBean);
    pBean.setDefinitionalCollaboration(c);
  }
  else {
    result.setProcess(null);
  }
  setDocumentationAndExtensions(result, participant);
  
  c.addParticipant(result);
  elements.put(result.getId(), result);
  
  return result;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

participant.setInterfaces(interfaces);
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.commonParticipantBeansetInterfaces

Popular methods of ParticipantBean

  • <init>
  • setName
  • setDocumentation
  • setProcess
  • getId
  • getName
  • getProcess
  • setEndPoints

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Path (java.nio.file)
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JComboBox (javax.swing)
  • JPanel (javax.swing)
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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