Codota Logo
SequenceFlow.getSourceRef
Code IndexAdd Codota to your IDE (free)

How to use
getSourceRef
method
in
com.ebmwebsourcing.easybpmn.bpmn20.api.element.SequenceFlow

Best Java code snippets using com.ebmwebsourcing.easybpmn.bpmn20.api.element.SequenceFlow.getSourceRef (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: com.ebmwebsourcing.easybpmn/bpmn20-impl

@Override
public List<FlowNode> getOutgoingFlowNodes() {
  WithFlowElements wfe = DefinitionsHelper.getParentContainer(this);
  List<FlowNode> result = new ArrayList<FlowNode>();
  if(wfe!=null && wfe.hasFlowElement()){
    for(SequenceFlow sf : wfe.getFlowElementsByClass(SequenceFlow.class)){
      if(sf.getSourceRef().equals(this)){
        result.add(sf.getTargetRef());
      }
    }
  }
  return result;
}
origin: com.ebmwebsourcing.easybpmn/bpmn20-impl

@Override
public List<FlowNode> getIncomingFlowNodes() {
  WithFlowElements wfe = DefinitionsHelper.getParentContainer(this);
  List<FlowNode> result = new ArrayList<FlowNode>();
  if(wfe!=null && wfe.hasFlowElement()){
    for(SequenceFlow sf : wfe.getFlowElementsByClass(SequenceFlow.class)){
      if(sf.getTargetRef().equals(this)){
        result.add(sf.getSourceRef());
      }
    }
  }
  return result;
}
origin: com.ebmwebsourcing.easybpmn/bpmn20-api

public static SequenceFlow getSequenceFlow(WithFlowElements proc, String sourceId, String targetId) {
  for (SequenceFlow sf : proc.getFlowElementsByClass(SequenceFlow.class)) {
    if (sf.getSourceRef().getId().equals(sourceId)
        && sf.getTargetRef().getId().equals(targetId)) {
      return sf;
    }
  }
  return null;
}
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);
  }
}
com.ebmwebsourcing.easybpmn.bpmn20.api.elementSequenceFlowgetSourceRef

Popular methods of SequenceFlow

  • getTargetRef
  • getConditionExpression
  • getId
  • getName
  • setConditionExpression
  • setId
  • setName
  • setSourceRef
  • setTargetRef

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now