congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MessageBean.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.common.MessageBean.<init> (Showing top 7 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/definitions-editor

@Override
protected IMessageBean getNewDefaultRecord() {
  return new MessageBean(DOM.createUniqueId());
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

private static List<IMessageBean> buildMessages() {
  List<IMessageBean> result = new ArrayList<IMessageBean>();
  
  MessageBean msg1 = new MessageBean(createUniqueId());
  msg1.setName("");
  ItemDefinitionBean idb1 = new ItemDefinitionBean(createUniqueId());
  msg1.setItemDefinition(idb1);
  
  return result;
}
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

private static IMessageBean createMessageFromRef(QName messageRef, Definitions wsdl11Definitions, Set<IItemDefinitionBean> itemDefinitions) {
  if(messages.containsKey(messageRef.getLocalPart())) {
    return messages.get(messageRef.getLocalPart());
  }
  
  Message m = null;
  for(Message msg : wsdl11Definitions.getMessages()) {
    if(msg.getName().equals(messageRef.getLocalPart())) {
      m = msg;
      break;
    }
  }
  MessageBean mb = new MessageBean(m.getName()+"Message");
  mb.setName(m.getName());
  
  ItemDefinitionBean idb = new ItemDefinitionBean(mb.getId()+"ItemDefinition");
  idb.setCollection(false);
  idb.setStructureRef(m.getParts()[0].getElement().toString());
  idb.setItemKind(ItemKind.INFORMATION);
  mb.setItemDefinition(idb);
  itemDefinitions.add(idb);
  
  messages.put(messageRef.getLocalPart(), mb);
  
  return mb;
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

private static void adaptMessages(DefinitionsBean defs, Message[] messages){
  if(messages!=null){
    for(Message msg : messages){
      MessageBean msgBean = new MessageBean(msg.getId());
      msgBean.setName(msg.getName());
      setDocumentationAndExtensions(msgBean, msg);
      if(msg.getItemRef()!=null){
        msgBean.setItemDefinition(defs.getItemDefinitionById(msg.getItemRef().getLocalPart()));
      }
      elements.put(msg.getId(), msgBean);
      defs.addMessage(msgBean);
    }
  }
}

origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

MessageBean msg1 = new MessageBean(IdGenerator.createUniqueId());
MessageBean msg2 = new MessageBean(IdGenerator.createUniqueId());
MessageBean msg3 = new MessageBean(IdGenerator.createUniqueId());
MessageBean msg4 = new MessageBean(IdGenerator.createUniqueId());
StartEventBean startEvent = new StartEventBean(PROCESS1_EL1_ID);
EventDefinitionBean ed = new MessageEventDefinitionBean(IdGenerator.createUniqueId());
((MessageEventDefinitionBean)ed).setMessage(new MessageBean(IdGenerator.createUniqueId()));
startEvent.addTrigger(ed);
def.addEventDefinition(ed);
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

seb.setName("Receive template");
EventDefinitionBean ed = new MessageEventDefinitionBean(LOWER_LANE_EL_1_ID+"eventDefinition");
((MessageEventDefinitionBean)ed).setMessage(new MessageBean(IdGenerator.createUniqueId()));
seb.addTrigger(ed);
globalResult.addEventDefinition(ed);
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-domain

startEvent.setName("VO Member ...");
EventDefinitionBean ed = new MessageEventDefinitionBean(createUniqueId());
((MessageEventDefinitionBean)ed).setMessage(new MessageBean(IdGenerator.createUniqueId()));
globalResult.addEventDefinition(ed);
startEvent.addTrigger(ed);
com.ebmwebsourcing.petalsbpm.business.domain.bpmn2.to.standard.commonMessageBean<init>

Popular methods of MessageBean

  • getId
  • setItemDefinition
  • setName
  • getName

Popular in Java

  • Finding current android device location
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • 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