Class BPMN2Profile.DataObjectStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.DataObjectStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.DataObjectStereotype 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
ISCOLLECTION
Defines if the Data Object represents a collection of elements.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataObjectStereotype(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
clearIsCollection(Element element)
java.lang.String
getId(Element element)
Property
getIdProperty()
BPMN2Profile.isCollectionEnum
getIsCollection(Element element)
Property
getIsCollectionProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setId(Element element, java.lang.String value)
void
setIsCollection(Element element, BPMN2Profile.isCollectionEnum 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
-
ISCOLLECTION
public static final java.lang.String ISCOLLECTION
Defines if the Data Object represents a collection of elements. It is needed when no itemDefinition is referenced. If an itemDefinition is referenced, then this attribute MUST have the same value as the isCollection attribute of the referenced itemDefinition. The default value for this attribute is false.- 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
-
DataObjectStereotype
protected DataObjectStereotype(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
-
getIsCollectionProperty
@CheckForNull public Property getIsCollectionProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setIsCollection
public void setIsCollection(Element element, @CheckForNull BPMN2Profile.isCollectionEnum value)
-
clearIsCollection
public void clearIsCollection(Element element)
-
getIsCollection
@CheckForNull public BPMN2Profile.isCollectionEnum getIsCollection(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)
-
-