Tabnine Logo
IOSpecification.getDataInputRefs
Code IndexAdd Tabnine to your IDE (free)

How to use
getDataInputRefs
method
in
org.flowable.bpmn.model.IOSpecification

Best Java code snippets using org.flowable.bpmn.model.IOSpecification.getDataInputRefs (Showing top 5 results out of 315)

origin: org.flowable/flowable-bpmn-model

  public void setValues(IOSpecification otherSpec) {
    dataInputs = new ArrayList<>();
    if (otherSpec.getDataInputs() != null && !otherSpec.getDataInputs().isEmpty()) {
      for (DataSpec dataSpec : otherSpec.getDataInputs()) {
        dataInputs.add(dataSpec.clone());
      }
    }

    dataOutputs = new ArrayList<>();
    if (otherSpec.getDataOutputs() != null && !otherSpec.getDataOutputs().isEmpty()) {
      for (DataSpec dataSpec : otherSpec.getDataOutputs()) {
        dataOutputs.add(dataSpec.clone());
      }
    }

    dataInputRefs = new ArrayList<>(otherSpec.getDataInputRefs());
    dataOutputRefs = new ArrayList<>(otherSpec.getDataOutputRefs());
  }
}
origin: org.ow2.petals.flowable/flowable-bpmn-model

  public void setValues(IOSpecification otherSpec) {
    dataInputs = new ArrayList<>();
    if (otherSpec.getDataInputs() != null && !otherSpec.getDataInputs().isEmpty()) {
      for (DataSpec dataSpec : otherSpec.getDataInputs()) {
        dataInputs.add(dataSpec.clone());
      }
    }

    dataOutputs = new ArrayList<>();
    if (otherSpec.getDataOutputs() != null && !otherSpec.getDataOutputs().isEmpty()) {
      for (DataSpec dataSpec : otherSpec.getDataOutputs()) {
        dataOutputs.add(dataSpec.clone());
      }
    }

    dataInputRefs = new ArrayList<>(otherSpec.getDataInputRefs());
    dataOutputRefs = new ArrayList<>(otherSpec.getDataOutputRefs());
  }
}
origin: org.flowable/flowable-bpmn-converter

String dataInputRefs = xtr.getElementText();
if (StringUtils.isNotEmpty(dataInputRefs)) {
  ioSpecification.getDataInputRefs().add(dataInputRefs.trim());
origin: org.flowable/flowable-engine

if (ioSpecification.getDataInputRefs().size() > 0) {
  String firstDataInputName = ioSpecification.getDataInputRefs().get(0);
  ItemInstance inputItem = (ItemInstance) execution.getTransientVariable(firstDataInputName);
  message = new MessageInstance(operation.getInMessage(), inputItem);
origin: org.flowable/flowable5-engine

protected IOSpecification createIOSpecification(BpmnParse bpmnParse, org.flowable.bpmn.model.IOSpecification specificationModel) {
  IOSpecification ioSpecification = new IOSpecification();
  for (DataSpec dataInputElement : specificationModel.getDataInputs()) {
    ItemDefinition itemDefinition = bpmnParse.getItemDefinitions().get(dataInputElement.getItemSubjectRef());
    Data dataInput = new Data(bpmnParse.getTargetNamespace() + ":" + dataInputElement.getId(), dataInputElement.getId(), itemDefinition);
    ioSpecification.addInput(dataInput);
  }
  for (DataSpec dataOutputElement : specificationModel.getDataOutputs()) {
    ItemDefinition itemDefinition = bpmnParse.getItemDefinitions().get(dataOutputElement.getItemSubjectRef());
    Data dataOutput = new Data(bpmnParse.getTargetNamespace() + ":" + dataOutputElement.getId(), dataOutputElement.getId(), itemDefinition);
    ioSpecification.addOutput(dataOutput);
  }
  for (String dataInputRef : specificationModel.getDataInputRefs()) {
    DataRef dataRef = new DataRef(dataInputRef);
    ioSpecification.addInputRef(dataRef);
  }
  for (String dataOutputRef : specificationModel.getDataOutputRefs()) {
    DataRef dataRef = new DataRef(dataOutputRef);
    ioSpecification.addOutputRef(dataRef);
  }
  return ioSpecification;
}
org.flowable.bpmn.modelIOSpecificationgetDataInputRefs

Popular methods of IOSpecification

  • getDataInputs
  • getDataOutputRefs
  • getDataOutputs
  • <init>
  • clone
  • setValues

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • JFrame (javax.swing)
  • JPanel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 15 Vim 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