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

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

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

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

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

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitIOSpecification(IIOSpecificationBean ios) {
  if(ios.getId().equals(this.id) && bean==null){bean = ios;}
}
@Override
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);
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

this.dataOutputs.add(target);
this.ioSpecification.addDataOutput(source);
    this.getProcess().getIoSpecification().addDataInput(dinput);
    this.getProcess().getIoSpecification().addDataOutput(doutput);
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

private IDataOutputBean getDataOutput(IFlowNodeBean fn, String defaultId) {
  if(fn instanceof IActivityBean) {
    IActivityBean acti = (IActivityBean) fn;
    if(!acti.getIoSpecification().getDataOutputs().isEmpty()) {
      return acti.getIoSpecification().getDataOutputs().get(0);
    }
  }
  else if(fn instanceof ICatchEventBean) {
    ICatchEventBean event = (ICatchEventBean) fn;
    if(!event.getDataOutputs().isEmpty()) {
      return event.getDataOutputs().get(0);
    }
  }
  return new DataOutputBean(defaultId);
}
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 synchroniWithThrowEvent(IThrowEventBean e) {
  for(IItemAwareElementBean data : e.getIncomingItemAwareElements()){
    //if its a dataObject add it to current process
    if (data instanceof IDataObjectBean){
      this.addDataObject((IDataObjectBean) data);
    //if its a dataInput/dataOuput add it to current processes ioSpecification	
    }else if (data instanceof IDataInputBean){
      this.getIoSpecification().addDataInput((IDataInputBean) data);
    }
  }
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private void synchronizeWithCatchEvent(ICatchEventBean e) {
  for(IItemAwareElementBean data : e.getOutgoingItemAwareElements()) {
    //if its a dataObject add it to current process
    if (data instanceof IDataObjectBean) {
      this.addDataObject((IDataObjectBean) data);
    //if its a dataInput/dataOuput add it to current processes ioSpecification	
    }else if(data instanceof IDataOutputBean) {
      this.getIoSpecification().addDataOutput((IDataOutputBean) data);
    }            
  }        
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

this.ioSpecification.addDataInput(target);
    this.getProcess().getIoSpecification().addDataInput(dinput);
    this.getProcess().getIoSpecification().addDataOutput(doutput);
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-domain

private void synchronizeWith(IActivityBean activity){
  //consider data object / data input /data output
  for(IItemAwareElementBean data:activity.getDataInputs()){
    //if its a dataObject add it to current process
    if (data instanceof IDataObjectBean){
      IDataObjectBean dataObject = (IDataObjectBean) data;
      this.addDataObject(dataObject);
    //if its a dataInput/dataOuput add it to current processes ioSpecification	
    }else if (data instanceof IDataInputBean){
      IDataInputBean dinput = (IDataInputBean) data;
      this.getIoSpecification().addDataInput(dinput);
    }
  }
  
  for(IItemAwareElementBean data:activity.getDataOutputs()){
    //if its a dataObject add it to current process
    if (data instanceof IDataObjectBean){
      IDataObjectBean dataObject = (IDataObjectBean) data;
      this.addDataObject(dataObject);
    //if its a dataInput/dataOuput add it to current processes ioSpecification	
    }else if(data instanceof IDataOutputBean){
      IDataOutputBean doutput = (IDataOutputBean) data;
      this.getIoSpecification().addDataOutput(doutput);
    }            
  }        
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void addDataInput(IItemAwareElementBean source,IDataInputBean target) {
  this.incomingItemAwareElements.add(source);
  
  this.addDataInput(target);
  
  if (this.getProcess()!=null){
    //if its a dataObject add it to current process
    if (source instanceof IDataObjectBean){
      IDataObjectBean dataObject = (IDataObjectBean) source;
      this.getProcess().addDataObject(dataObject);
    //if its a dataInput/dataOuput add it to current processes ioSpecification				
    }else if (source instanceof IDataInputBean){
      IDataInputBean dinput = (IDataInputBean) source;
      this.getProcess().getIoSpecification().addDataInput(dinput);
    }else if(source instanceof IDataOutputBean){
      IDataOutputBean doutput = (IDataOutputBean) source;
      this.getProcess().getIoSpecification().addDataOutput(doutput);
    }
  }
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void addDataOutput(IDataOutputBean source,IItemAwareElementBean target) {
  this.outgoingItemAwareElements.add(target);
  this.addDataOutput(source);
  
  if (this.getProcess()!=null){
    //if its a dataObject add it to current process
    if (target instanceof IDataObjectBean){
      IDataObjectBean dataObject = (IDataObjectBean) target;
      this.getProcess().addDataObject(dataObject);
    //if its a dataInput/dataOuput add it to current processes ioSpecification				
    }else if (target instanceof IDataInputBean){
      IDataInputBean dinput = (IDataInputBean) target;
      this.getProcess().getIoSpecification().addDataInput(dinput);
    }else if(target instanceof IDataOutputBean){
      IDataOutputBean doutput = (IDataOutputBean) target;
      this.getProcess().getIoSpecification().addDataOutput(doutput);
    }
  }
}
////////////////////////////////////////////
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.process.dataIIOSpecificationBean

Most used methods

  • getDataInputs
  • getDataOutputs
  • getId
  • addDataInput
  • addDataOutput

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • String (java.lang)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 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