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

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

Best Java code snippets using org.flowable.bpmn.model.IOSpecification.getDataInputs (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

dataSpec.setName(xtr.getAttributeValue(null, ATTRIBUTE_NAME));
dataSpec.setItemSubjectRef(parseItemSubjectRef(xtr.getAttributeValue(null, ATTRIBUTE_ITEM_SUBJECT_REF), model));
ioSpecification.getDataInputs().add(dataSpec);
origin: org.flowable/flowable-engine

protected void initializeIoSpecification(IOSpecification activityIoSpecification, DelegateExecution execution, BpmnModel bpmnModel) {
  for (DataSpec dataSpec : activityIoSpecification.getDataInputs()) {
    ItemDefinition itemDefinition = itemDefinitionMap.get(dataSpec.getItemSubjectRef());
    execution.setTransientVariable(dataSpec.getId(), itemDefinition.createInstance());
  }
  for (DataSpec dataSpec : activityIoSpecification.getDataOutputs()) {
    ItemDefinition itemDefinition = itemDefinitionMap.get(dataSpec.getItemSubjectRef());
    execution.setTransientVariable(dataSpec.getId(), itemDefinition.createInstance());
  }
}
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.modelIOSpecificationgetDataInputs

Popular methods of IOSpecification

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

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Collectors (java.util.stream)
  • JCheckBox (javax.swing)
  • JFrame (javax.swing)
  • Top plugins for Android Studio
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