Class BPMN2Profile.ResourceParameterBindingStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ResourceParameterBindingStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ResourceParameterBindingStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
expression
static java.lang.String
EXPRESSION
The Expression that evaluates the value used to bind the ResourceParameter.private Property
parameterRef
static java.lang.String
PARAMETERREF
Reference to the parameter defined by the Resource.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceParameterBindingStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearExpression(Element element)
void
clearParameterRef(Element element)
java.lang.String
getExpression(Element element)
Property
getExpressionProperty()
Element
getParameterRef(Element element)
Property
getParameterRefProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setExpression(Element element, java.lang.String value)
void
setParameterRef(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
-
EXPRESSION
public static final java.lang.String EXPRESSION
The Expression that evaluates the value used to bind the ResourceParameter.- See Also:
- Constant Field Values
-
PARAMETERREF
public static final java.lang.String PARAMETERREF
Reference to the parameter defined by the Resource.- See Also:
- Constant Field Values
-
_p
private final BPMN2Profile _p
-
expression
@CheckForNull private Property expression
-
parameterRef
@CheckForNull private Property parameterRef
-
-
Constructor Detail
-
ResourceParameterBindingStereotype
protected ResourceParameterBindingStereotype(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
-
getExpressionProperty
@CheckForNull public Property getExpressionProperty()
-
getParameterRefProperty
@CheckForNull public Property getParameterRefProperty()
-
setExpression
public void setExpression(Element element, @CheckForNull java.lang.String value)
-
clearExpression
public void clearExpression(Element element)
-
getExpression
@CheckForNull public java.lang.String getExpression(Element element)
-
clearParameterRef
public void clearParameterRef(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)
-
-