Class BPMN2Profile.ConditionalEventDefinitionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ConditionalEventDefinitionStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ConditionalEventDefinitionStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
condition
static java.lang.String
CONDITION
The Expression might be underspecified and provided in the form of natural language.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
ConditionalEventDefinitionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearCondition(Element element)
void
clearId(Element element)
java.lang.String
getCondition(Element element)
Property
getConditionProperty()
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
setCondition(Element element, java.lang.String value)
void
setId(Element element, java.lang.String 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
-
CONDITION
public static final java.lang.String CONDITION
The Expression might be underspecified and provided in the form of natural language. For executable Processes (isExecutable = true), if the trigger is Conditional, then a FormalExpression MUST be entered.- 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
-
condition
@CheckForNull private Property condition
-
-
Constructor Detail
-
ConditionalEventDefinitionStereotype
protected ConditionalEventDefinitionStereotype(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
-
getConditionProperty
@CheckForNull public Property getConditionProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setCondition
public void setCondition(Element element, @CheckForNull java.lang.String value)
-
clearCondition
public void clearCondition(Element element)
-
getCondition
@CheckForNull public java.lang.String getCondition(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:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-