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_pprivate Propertybodystatic java.lang.StringBODYThe body of the expression.private PropertyevaluatesToTypeRefstatic java.lang.StringEVALUATESTOTYPEREFThe type of object that this Expression returns when evaluated.static java.lang.StringIDThis attribute is used to uniquely identify BPMN elements.private Propertylanguagestatic java.lang.StringLANGUAGEOverrides the expression language specified in the Definitions.static java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormalExpressionStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearBody(Element element)voidclearEvaluatesToTypeRef(Element element)voidclearId(Element element)voidclearLanguage(Element element)ElementgetBody(Element element)PropertygetBodyProperty()ElementgetEvaluatesToTypeRef(Element element)PropertygetEvaluatesToTypeRefProperty()java.lang.StringgetId(Element element)PropertygetIdProperty()java.lang.StringgetLanguage(Element element)PropertygetLanguageProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidsetBody(Element element, Element value)voidsetEvaluatesToTypeRef(Element element, Element value)voidsetId(Element element, java.lang.String value)voidsetLanguage(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-