|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.bpmn2.util.ExternalDomainArtifactsReferenceUtil
public class ExternalDomainArtifactsReferenceUtil
Use this class only when you want to get BPMN Interfaces/Operations as well as referenced External domain Interfaces/Operations from supported BPMN elements. This class provides utility methods for getting operations and supportedInterfaces, which includes BPMN Operations and Interfaces as well as external domain interfaces and operations referenced in BPMN model. for e.g. UML Interfaces/Operations associated with CallableElement/ServiceTask With out this class we are not able to retrieve external domain Interfaces and Operations, because ServiceTask::getOperation only returns if there is a BPMN Operation associated to the task similarly CallableElement::getSupportedInterfaces only returns BPMN interfaces BPMN model stores external domain Interfaces and Operations by using Relationship feature of BPMN meta model. Need to revisit the methods when BPMN modeler starts supporting other domain artifacts such as WSDL, etc.
Constructor Summary | |
---|---|
ExternalDomainArtifactsReferenceUtil()
|
Method Summary | |
---|---|
static org.eclipse.emf.ecore.EObject |
getMessageEventDefinitionOperation(MessageEventDefinition messageEventDefinition)
This method will return Operation (bpmn/external domain operation) associated with the given MessageEventDefinition. |
static org.eclipse.emf.ecore.EObject |
getServiceTaskOperation(ServiceTask serviceTask)
This method will return Operation (bpmn/external domain operation) associated with the given ServiceTask. |
static java.util.Set<org.eclipse.emf.ecore.EObject> |
getSupportedInterfaces(CallableElement callableElement)
This method will return supported Interfaces associated with the given CallableElement including BPMN Interfaces as well as external domain Interfaces. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalDomainArtifactsReferenceUtil()
Method Detail |
---|
public static org.eclipse.emf.ecore.EObject getServiceTaskOperation(ServiceTask serviceTask)
serviceTask
-
public static org.eclipse.emf.ecore.EObject getMessageEventDefinitionOperation(MessageEventDefinition messageEventDefinition)
serviceTask
-
public static java.util.Set<org.eclipse.emf.ecore.EObject> getSupportedInterfaces(CallableElement callableElement)
callableElement
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |