Class BPMN2Profile.MessageEventDefinitionStereotype
- java.lang.Object
 - 
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
 - 
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
 - 
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.MessageEventDefinitionStereotype
 
 
 
 
- 
- Enclosing class:
 - BPMN2Profile
 
public static class BPMN2Profile.MessageEventDefinitionStereotype extends ProfileImplementation.StereotypeWrapper
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile_pstatic java.lang.StringIDThis attribute is used to uniquely identify BPMN elements.private PropertymessageRefstatic java.lang.StringMESSAGEREFThe Message MUST be supplied (if the processType attribute of the Process is set to executable).private PropertyoperationRefstatic java.lang.StringOPERATIONREFThis attribute specifies the operation that is used by the Message Event.static java.lang.StringSTEREOTYPE_NAME 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedMessageEventDefinitionStereotype(BPMN2Profile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearId(Element element)voidclearMessageRef(Element element)voidclearOperationRef(Element element)java.lang.StringgetId(Element element)PropertygetIdProperty()ElementgetMessageRef(Element element)PropertygetMessageRefProperty()ElementgetOperationRef(Element element)PropertygetOperationRefProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetId(Element element, java.lang.String value)voidsetMessageRef(Element element, Element value)voidsetOperationRef(Element element, Element value)- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply 
- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName 
 - 
 
 - 
 
- 
- 
Field Detail
- 
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
 - Constant Field Values
 
 
- 
MESSAGEREF
public static final java.lang.String MESSAGEREF
The Message MUST be supplied (if the processType attribute of the Process is set to executable).- See Also:
 - Constant Field Values
 
 
- 
OPERATIONREF
public static final java.lang.String OPERATIONREF
This attribute specifies the operation that is used by the Message Event. It MUST be specified for executable Processes.- See Also:
 - Constant Field Values
 
 
- 
ID
public static final java.lang.String ID
This attribute is used to uniquely identify BPMN elements.- See Also:
 - Constant Field Values
 
 
- 
_p
private final BPMN2Profile _p
 
- 
messageRef
@CheckForNull private Property messageRef
 
- 
operationRef
@CheckForNull private Property operationRef
 
 - 
 
- 
Constructor Detail
- 
MessageEventDefinitionStereotype
protected MessageEventDefinitionStereotype(BPMN2Profile profile)
 
 - 
 
- 
Method Detail
- 
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
 - stereotype
 
 
- 
getMessageRefProperty
@CheckForNull public Property getMessageRefProperty()
 
- 
getOperationRefProperty
@CheckForNull public Property getOperationRefProperty()
 
- 
getIdProperty
@CheckForNull public Property getIdProperty()
 
- 
clearMessageRef
public void clearMessageRef(Element element)
 
- 
clearOperationRef
public void clearOperationRef(Element element)
 
- 
setId
public void setId(Element element, @CheckForNull java.lang.String value)
 
- 
clearId
public void clearId(Element element)
 
- 
getId
@CheckForNull public java.lang.String getId(Element element)
 
- 
clear
protected void clear()
- Overrides:
 clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
 
- 
is
public boolean is(@CheckForNull Element element) 
- 
isInstance
public static boolean isInstance(@CheckForNull Element element) 
 - 
 
 -