Class BPMN2Profile.DataStoreStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.DataStoreStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.DataStoreStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
capacity
static java.lang.String
CAPACITY
Defines the capacity of the Data Store.static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.private Property
isUnlimited
static java.lang.String
ISUNLIMITED
If isUnlimited is set to true, then the capacity of a Data Store is set as unlimited and will override any value of the capacity attribute.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataStoreStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearCapacity(Element element)
void
clearId(Element element)
void
clearIsUnlimited(Element element)
java.lang.Integer
getCapacity(Element element)
Property
getCapacityProperty()
java.lang.String
getId(Element element)
Property
getIdProperty()
Property
getIsUnlimitedProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isIsUnlimited(Element element)
void
setCapacity(Element element, java.lang.Integer value)
void
setId(Element element, java.lang.String value)
void
setIsUnlimited(Element element, java.lang.Boolean 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
-
CAPACITY
public static final java.lang.String CAPACITY
Defines the capacity of the Data Store. This is not needed if the isUnlimited attribute is set to true.- See Also:
- Constant Field Values
-
ISUNLIMITED
public static final java.lang.String ISUNLIMITED
If isUnlimited is set to true, then the capacity of a Data Store is set as unlimited and will override any value of the capacity attribute.- 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
-
capacity
@CheckForNull private Property capacity
-
isUnlimited
@CheckForNull private Property isUnlimited
-
-
Constructor Detail
-
DataStoreStereotype
protected DataStoreStereotype(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
-
getCapacityProperty
@CheckForNull public Property getCapacityProperty()
-
getIsUnlimitedProperty
@CheckForNull public Property getIsUnlimitedProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setCapacity
public void setCapacity(Element element, @CheckForNull java.lang.Integer value)
-
clearCapacity
public void clearCapacity(Element element)
-
getCapacity
@CheckForNull public java.lang.Integer getCapacity(Element element)
-
setIsUnlimited
public void setIsUnlimited(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsUnlimited
public void clearIsUnlimited(Element element)
-
isIsUnlimited
@CheckForNull public java.lang.Boolean isIsUnlimited(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:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-