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_pprivate Propertycapacitystatic java.lang.StringCAPACITYDefines the capacity of the Data Store.static java.lang.StringIDThis attribute is used to uniquely identify BPMN elements.private PropertyisUnlimitedstatic java.lang.StringISUNLIMITEDIf 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.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataStoreStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearCapacity(Element element)voidclearId(Element element)voidclearIsUnlimited(Element element)java.lang.IntegergetCapacity(Element element)PropertygetCapacityProperty()java.lang.StringgetId(Element element)PropertygetIdProperty()PropertygetIsUnlimitedProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)java.lang.BooleanisIsUnlimited(Element element)voidsetCapacity(Element element, java.lang.Integer value)voidsetId(Element element, java.lang.String value)voidsetIsUnlimited(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-