Class BPMN2Profile.FormalExpressionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.FormalExpressionStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.FormalExpressionStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
body
static java.lang.String
BODY
The body of the expression.private Property
evaluatesToTypeRef
static java.lang.String
EVALUATESTOTYPEREF
The type of object that this Expression returns when evaluated.static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.private Property
language
static java.lang.String
LANGUAGE
Overrides the expression language specified in the Definitions.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
FormalExpressionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearBody(Element element)
void
clearEvaluatesToTypeRef(Element element)
void
clearId(Element element)
void
clearLanguage(Element element)
Element
getBody(Element element)
Property
getBodyProperty()
Element
getEvaluatesToTypeRef(Element element)
Property
getEvaluatesToTypeRefProperty()
java.lang.String
getId(Element element)
Property
getIdProperty()
java.lang.String
getLanguage(Element element)
Property
getLanguageProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setBody(Element element, Element value)
void
setEvaluatesToTypeRef(Element element, Element value)
void
setId(Element element, java.lang.String value)
void
setLanguage(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
-
BODY
public static final java.lang.String BODY
The body of the expression.- See Also:
- Constant Field Values
-
EVALUATESTOTYPEREF
public static final java.lang.String EVALUATESTOTYPEREF
The type of object that this Expression returns when evaluated. For example, conditional Expressions evaluate to a boolean.- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
Overrides the expression language specified in the Definitions.- 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
-
body
@CheckForNull private Property body
-
evaluatesToTypeRef
@CheckForNull private Property evaluatesToTypeRef
-
language
@CheckForNull private Property language
-
-
Constructor Detail
-
FormalExpressionStereotype
protected FormalExpressionStereotype(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
-
getBodyProperty
@CheckForNull public Property getBodyProperty()
-
getEvaluatesToTypeRefProperty
@CheckForNull public Property getEvaluatesToTypeRefProperty()
-
getLanguageProperty
@CheckForNull public Property getLanguageProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
clearBody
public void clearBody(Element element)
-
setEvaluatesToTypeRef
public void setEvaluatesToTypeRef(Element element, @CheckForNull Element value)
-
clearEvaluatesToTypeRef
public void clearEvaluatesToTypeRef(Element element)
-
setLanguage
public void setLanguage(Element element, @CheckForNull java.lang.String value)
-
clearLanguage
public void clearLanguage(Element element)
-
getLanguage
@CheckForNull public java.lang.String getLanguage(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)
-
-