Tabnine Logo
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.common
Code IndexAdd Tabnine to your IDE (free)

How to use com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.common

Best Java code snippets using com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.common (Showing top 20 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected boolean isValid(IErrorBean data) {
  
  if (data.getName()!=null && data.getStructureRef()!=null && data.getErrorCode()!=null){
    return true;
  }
  
  return false;
}

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected Object[] convertDataToObject(IItemDefinitionBean data) {
  
  Object[] object = new Object[3];
  
  object[0] = data.getItemKind();
  object[1] = data.getStructureRef();
  object[2] = data.getCollection();
  
  
  return object;
}

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected Object[] convertDataToObject(IMessageBean data) {
  
  Object[] object = new Object[2];
  
  object[0] = data.getName();
  object[1] = data.getItemDefinition();
  
  return object;
}
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

@Override
public void bind(DefaultParticipantEditorModel watchedModel,
    CollaborationBean modelToBind) {
  if(this.initialized) {
    participant.setDocumentation(watchedModel.getDocumentation());
    participant.setInterfaces(watchedModel.getInterfaces());
    participant.setMaximumMultiplicity(watchedModel.getMaximumMultiplicity());
    participant.setMinimumMultiplicity(watchedModel.getMinimumMultiplicity());
    participant.setName(watchedModel.getName());
  }
}
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected boolean isValid(IItemDefinitionBean data) {
  
  if (data.getItemKind()!=null && data.getStructureRef()!=null ){
    return true;
  }
  
  return false;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public IParticipantBean getParticipantByProcess(IProcessBean process){
  
  for(IParticipantBean p:participants){
    if (p.getProcess()!=null){
      if (p.getProcess().equals(process)){
        return p;
      }
    }
  }
  
  return null;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitParticipant(IParticipantBean participant) {
  if(participant.getId().equals(this.id) && bean==null){bean = participant;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitMessage(IMessageBean msg) {
  if(msg.getId().equals(this.id) && bean==null){bean = msg;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private <T extends IFlowElementBean> T searchListById(List<T> l, String id){
  for(T t : l){
    if(t.getId().equals(id)){
      return t;
    }
  }
  return null;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitMessageFlow(IMessageFlowBean mfb) {
  if(mfb.getId().equals(this.id) && bean==null){bean = mfb;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitOperationError(IErrorBean msg,IOperationBean opBean) {
  if(msg.getId().equals(this.id) && bean==null){bean = msg;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitItemDefinition(IItemDefinitionBean itemDefinition) {
  if(itemDefinition.getId().equals(this.id) && bean==null){bean = itemDefinition;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitPartnerRole(IPartnerRoleBean partnerRole) {
  if(partnerRole.getId().equals(this.id) && bean==null){bean = partnerRole;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected Object[] convertDataToObject(IErrorBean data) {
  
  Object[] object = new Object[3];
  
  object[0] = data.getName();
  object[1] = data.getStructureRef();
  object[2] = data.getErrorCode();
  
  return object;
}
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected boolean isValid(IMessageBean data) {
  
  boolean isValid = false;
  
  if (data.getName()!=null && data.getItemDefinition()!=null){
    isValid = true;
  }
  
  return isValid;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitMessageFlowMessage(IMessageBean msg) {
  if(msg.getId().equals(this.id) && bean==null){bean = msg;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private <T extends IFlowElementBean> T searchListById(List<T> l, String id){
  for(T t : l){
    if(t.getId().equals(id)){
      return t;
    }
  }
  return null;
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitOperationMessageOut(IMessageBean msg,IOperationBean opBean) {
  if(msg.getId().equals(this.id) && bean==null){bean = msg;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private <T extends IFlowElementBean> T searchListById(List<T> l, String id){
  for(T t : l){
    if(t.getId().equals(id)){
      return t;
    }
  }
  return null;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

@Override
public void visitOperationMessageIn(IMessageBean msg,IOperationBean opBean) {
  if(msg.getId().equals(this.id) && bean==null){bean = msg;}
}
@Override
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.common

Most used classes

  • IParticipantBean
  • IErrorBean
  • IItemDefinitionBean
  • IMessageBean
  • IMessageFlowBean
  • IFlowNodeBean,
  • IPartnerRoleBean,
  • IAssociationBean,
  • ITextAnnotationBean,
  • WithArtifactsBean,
  • IEscalationBean
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