Class BPMN2Profile.ResourceParameterStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ResourceParameterStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ResourceParameterStereotype 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
ISREQUIRED
Specifies, if a parameter is optional or mandatory.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceParameterStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearId(Element element)
void
clearIsRequired(Element element)
java.lang.String
getId(Element element)
Property
getIdProperty()
Property
getIsRequiredProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isIsRequired(Element element)
void
setId(Element element, java.lang.String value)
void
setIsRequired(Element element, java.lang.Boolean value)
-
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
-
ISREQUIRED
public static final java.lang.String ISREQUIRED
Specifies, if a parameter is optional or mandatory.- 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
-
ResourceParameterStereotype
protected ResourceParameterStereotype(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
-
getIsRequiredProperty
@CheckForNull public Property getIsRequiredProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setIsRequired
public void setIsRequired(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsRequired
public void clearIsRequired(Element element)
-
isIsRequired
@CheckForNull public java.lang.Boolean isIsRequired(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)
-
-