Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.EndPathMultiplicityStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.EndPathMultiplicityStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.EndPathMultiplicityStereotype extends com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile_pprivate com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Propertylowerstatic java.lang.StringLOWERGives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is appliedstatic java.lang.StringSTEREOTYPE_NAMEprivate com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Propertyupperstatic java.lang.StringUPPERGives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied.
-
Constructor Summary
Constructors Modifier Constructor Description protectedEndPathMultiplicityStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)voidclearUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)java.lang.IntegergetLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PropertygetLowerProperty()com.nomagic.uml2.ext.magicdraw.mdprofiles.StereotypegetStereotype()java.lang.IntegergetUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PropertygetUpperProperty()booleanis(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)static booleanisInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)voidsetLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.Integer value)voidsetUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.Integer value)
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
LOWER
public static final java.lang.String LOWER
Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied- See Also:
- Constant Field Values
-
UPPER
public static final java.lang.String UPPER
Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied.- See Also:
- Constant Field Values
-
_p
private final SysMLProfile _p
-
lower
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property lower
-
upper
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property upper
-
-
Constructor Detail
-
EndPathMultiplicityStereotype
protected EndPathMultiplicityStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
- Specified by:
getStereotypein classcom.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
getLowerProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getLowerProperty()
-
getUpperProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getUpperProperty()
-
setLower
public void setLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.lang.Integer value)
-
clearLower
public void clearLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getLower
@CheckForNull public java.lang.Integer getLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setUpper
public void setUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.lang.Integer value)
-
clearUpper
public void clearUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getUpper
@CheckForNull public java.lang.Integer getUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
isInstance
public static boolean isInstance(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
-