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

How to use
getDataInputs
method
in
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.process.data.IIOSpecificationBean

Best Java code snippets using com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.process.data.IIOSpecificationBean.getDataInputs (Showing top 4 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void clearIOSpec() {
  ioSpecification.getDataInputs().clear();
  ioSpecification.getDataOutputs().clear();
}

origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

private IDataInputBean getDataInput(IFlowNodeBean fn, String defaultId) {
  if(fn instanceof IActivityBean) {
    IActivityBean acti = (IActivityBean) fn;
    if(!acti.getIoSpecification().getDataInputs().isEmpty()) {
      return acti.getIoSpecification().getDataInputs().get(0);
    }
  }
  else if(fn instanceof IThrowEventBean) {
    IThrowEventBean event = (IThrowEventBean) fn;
    if(!event.getDataInputs().isEmpty()) {
      return event.getDataInputs().get(0);
    }
  }
  return new DataInputBean(defaultId);
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private void parseIOSpec(IIOSpecificationBean ios){
  if(ios!=null){
    this.visitIOSpecification(ios);
    
    if(ios.getDataInputs()!=null){
      for(IDataInputBean dib : ios.getDataInputs()){
        this.visitDataInput(dib,ios);
      }
    }
    if(ios.getDataOutputs()!=null){
      for(IDataOutputBean dib : ios.getDataOutputs()){
        this.visitDataOutput(dib,ios);
      }
    }
  }
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

@Override
public void visitIOSpecification(IIOSpecificationBean ios) {
  InputOutputSpecification result = null;
  
  boolean hasDataInput = ios.getDataInputs()!=null && !ios.getDataInputs().isEmpty();
  boolean hasDataOutput = ios.getDataOutputs()!=null && !ios.getDataOutputs().isEmpty();
  if(hasDataInput || hasDataOutput) {
    result = newInstance(InputOutputSpecification.class);
    result.setId(ios.getId());
    setDocumentationAndExtensions(result, ios);
    InputSet is = newInstance(InputSet.class);
    result.addInputSet(is);
    OutputSet os = newInstance(OutputSet.class);
    result.addOutputSet(os);
    currentWithDataInput = result;
    currentInputSet = is;
    currentWithDataOutput = result;
    currentOutputSet = os;
  }
  
  currentIOSpecOwner.pop().setIoSpecification(result);
}

com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.process.dataIIOSpecificationBeangetDataInputs

Popular methods of IIOSpecificationBean

  • getDataOutputs
  • getId
  • addDataInput
  • addDataOutput

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 12 Jupyter Notebook extensions
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