Tabnine Logo
SequenceFlowBean.setName
Code IndexAdd Tabnine to your IDE (free)

How to use
setName
method
in
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.process.gateway.SequenceFlowBean

Best Java code snippets using com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.process.gateway.SequenceFlowBean.setName (Showing top 3 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

private static void adaptSequenceFlow(SequenceFlow sf, WithSequenceFlowsBean wfe, DefinitionsBean def){
  SequenceFlowBean sfb = new SequenceFlowBean(sf.getId());
  setDocumentationAndExtensions(sfb, sf);
  sfb.setName(sf.getName());
  if(sf.getConditionExpression()!=null){
    sfb.setExpression(adaptExpression(sf.getConditionExpression()));
  }
  sfb.setSourceNode((IFlowElementBean) elements.get(sf.getSourceRef().getId())); 
  sfb.setTargetNode((IFlowElementBean) elements.get(sf.getTargetRef().getId()));
  
  wfe.addSequenceFlow(sfb);
  elements.put(sfb.getId(), sfb);
  if(defaultFlows.containsKey(sfb.getId())){
    defaultFlows.get(sfb.getId()).setDefaultSequenceFlow(sfb);
  }
}
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

public void bindSyntaxModel(IModelElement diagramElementSyntaxModel,
    IEditorModel editorModel, IDiagramElement diagramElement) {
  
  SequenceFlowBean bean = (SequenceFlowBean) diagramElementSyntaxModel;
  SequenceFlowEditorModel eModel = (SequenceFlowEditorModel) editorModel;
  
  bean.setName(eModel.getName());
  bean.setDocumentation(eModel.getDocumentation());
  
  if (eModel.getConditionnalExpression()!=null){
    ExpressionBean exp = new ExpressionBean(IdGenerator.createUniqueId());
    exp.setContent(eModel.getConditionnalExpression());
    bean.setExpression(exp);
  }
  
  //set target and source
  IBPMNEdge sequenceFlowEdge = (IBPMNEdge) diagramElement;
  
  IBPMNShape source = (IBPMNShape) sequenceFlowEdge.getSource();
  
  IBPMNShape target = (IBPMNShape) sequenceFlowEdge.getTarget();
  
  if (source!=null){
    if (source.getModelElement() instanceof IFlowElementBean) bean.setSourceNode((IFlowElementBean) source.getModelElement());
  }
  if (target!=null){
    if (target.getModelElement() instanceof IFlowElementBean) bean.setTargetNode((IFlowElementBean) target.getModelElement());
  }
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

sf5.setSourceNode(gateway);
sf5.setTargetNode(task5);
sf5.setName("Comments");
ExpressionBean expsf5 = new ExpressionBean(createUniqueId());
expsf5.setContent("Initial idea rejected");
sf7.setSourceNode(task5);
sf7.setTargetNode(endEvent);
sf7.setName("Decision");
process.addSequenceFlow(sf7);
sf8.setSourceNode(task6);
sf8.setTargetNode(endEvent);
sf8.setName("Template");
process.addSequenceFlow(sf8);
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.process.gatewaySequenceFlowBeansetName

Popular methods of SequenceFlowBean

  • setExpression
  • setSourceNode
  • setTargetNode
  • <init>
  • getId
  • getExpression
  • getName
  • setDocumentation

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JTextField (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text plugins
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