congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IMessageBean
Code IndexAdd Tabnine to your IDE (free)

How to use
IMessageBean
in
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.IMessageBean (Showing top 12 results out of 315)

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/petalsbpm-domain

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

@Override
public void visitMessage(IMessageBean messageBean) {
  Message m = newInstance(Message.class);
  setDocumentationAndExtensions(m, messageBean);
  m.setId(messageBean.getId());
  m.setName(messageBean.getName());
  if(messageBean.getItemDefinition()!=null){
    m.setItemRef(getBaseElementRef(messageBean.getItemDefinition()));
  }
  
  defs.addRootElement(m);
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

public IMessageBean getMessageByName(String name) {
  for (IInterfaceBean itf : interfaces) {
    for (IOperationBean op : itf.getOperations()) {
      if (op.getMessageIn().getName().equals(name)) {
        return op.getMessageIn();
      }
      if (op.getMessageOut() != null && op.getMessageOut().getName().equals(name)) {
        return op.getMessageOut();
      }
    }
  }
  return null;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

this.visitMessage(msg);
IItemDefinitionBean idb = msg.getItemDefinition();
if(idb!=null){
  this.visitMessageItemDefinition(idb);
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected void bind(Record record, IMessageBean value) {
  
  value.setName(record.getAsString(Message.name.toString()));
  
  IItemDefinitionBean id = (IItemDefinitionBean) record.getAsObject(Message.itemRef.toString());
  
  value.setItemDefinition(id);
}
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 visitMessage(IMessageBean msg) {
  if(msg.getId().equals(this.id) && bean==null){bean = msg;}
}
@Override
origin: com.ebmwebsourcing.petalsbpm/definitions-editor

private void validate(IMessageBean msg){
  if (msg.getName()!=null && msg.getItemDefinition()!=null && validMsgs.contains(msg)==false){
    
    validMsgs.add(msg);
    
    fireEvent(new AddMessageEvent(msg));
    
  }
  
}

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

@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

public IMessageBean getMessageById(String id){
  for(IMessageBean e : getMessages()){
    if(e.getId().equals(id)){
      return e;
    }
  }
  return null;
}

com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.api.standard.commonIMessageBean

Most used methods

  • getItemDefinition
  • getName
  • getId
  • setItemDefinition
  • setName

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • String (java.lang)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Notification (javax.management)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • CodeWhisperer alternatives
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