Class BPMN2Profile.ResourceRoleStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ResourceRoleStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ResourceRoleStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
RESOURCEASSIGNMENTEXPRESSION
This defines the Expression used for the Resource assignment (see below).static java.lang.String
RESOURCEPARAMETERBINDINGS
This defines the Parameter bindings used for the Resource assignment.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceRoleStereotype(BPMN2Profile profile)
-
Method Summary
-
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
-
RESOURCEASSIGNMENTEXPRESSION
public static final java.lang.String RESOURCEASSIGNMENTEXPRESSION
This defines the Expression used for the Resource assignment (see below). Should not be specified when a resourceRef is provided.- See Also:
- Constant Field Values
-
RESOURCEPARAMETERBINDINGS
public static final java.lang.String RESOURCEPARAMETERBINDINGS
This defines the Parameter bindings used for the Resource assignment. Is only applicable if a resourceRef is specified.- 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
-
ResourceRoleStereotype
protected ResourceRoleStereotype(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
-
getResourceAssignmentExpressionProperty
@CheckForNull public Property getResourceAssignmentExpressionProperty()
-
getResourceParameterBindingsProperty
@CheckForNull public Property getResourceParameterBindingsProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setResourceAssignmentExpression
public void setResourceAssignmentExpression(Element element, @CheckForNull Element value)
-
clearResourceAssignmentExpression
public void clearResourceAssignmentExpression(Element element)
-
getResourceAssignmentExpression
@CheckForNull public Element getResourceAssignmentExpression(Element element)
-
setResourceParameterBindings
public void setResourceParameterBindings(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearResourceParameterBindings
public void clearResourceParameterBindings(Element element)
-
addResourceParameterBindings
public void addResourceParameterBindings(Element element, Element value)
-
removeResourceParameterBindings
public void removeResourceParameterBindings(Element element, Element value)
-
getResourceParameterBindings
public java.util.List<Element> getResourceParameterBindings(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)
-
-