Class BPMN2Profile.GatewayStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.GatewayStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.GatewayStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GATEWAYDIRECTION
An attribute that adds constraints on how the gateway may be used.static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
GatewayStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearGatewayDirection(Element element)
void
clearId(Element element)
BPMN2Profile.GatewayDirectionEnum
getGatewayDirection(Element element)
Property
getGatewayDirectionProperty()
java.lang.String
getId(Element element)
Property
getIdProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setGatewayDirection(Element element, BPMN2Profile.GatewayDirectionEnum value)
void
setId(Element element, java.lang.String value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
GATEWAYDIRECTION
public static final java.lang.String GATEWAYDIRECTION
An attribute that adds constraints on how the gateway may be used. Unspecified: There are no constraints. The Gateway may have any number of incoming and outgoing Sequence Flow. Converging: This Gateway may have multiple incoming Sequence Flow but must have no more than one outgoing SequenceFlow Diverging: This Gateway may have multiple outgoing Sequence Flow but must have no more than one incoming Sequence Flow Mixed: This Gateway contains multiple outgoing and multiple incoming Sequence Flow- 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
-
-
Constructor Detail
-
GatewayStereotype
protected GatewayStereotype(BPMN2Profile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getGatewayDirectionProperty
@CheckForNull public Property getGatewayDirectionProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setGatewayDirection
public void setGatewayDirection(Element element, @CheckForNull BPMN2Profile.GatewayDirectionEnum value)
-
clearGatewayDirection
public void clearGatewayDirection(Element element)
-
getGatewayDirection
@CheckForNull public BPMN2Profile.GatewayDirectionEnum getGatewayDirection(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()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-