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 ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static 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 appliedstatic java.lang.String
STEREOTYPE_NAME
static 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.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EndPathMultiplicityStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearLower(Element element)
void
clearUpper(Element element)
java.lang.Integer
getLower(Element element)
Property
getLowerProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.Integer
getUpper(Element element)
Property
getUpperProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
setLower(Element element, java.lang.Integer value)
void
setUpper(Element element, java.lang.Integer 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
-
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
-
-
Constructor Detail
-
EndPathMultiplicityStereotype
protected EndPathMultiplicityStereotype(SysMLProfile 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
-
getLowerProperty
@CheckForNull public Property getLowerProperty()
-
getUpperProperty
@CheckForNull public Property getUpperProperty()
-
setLower
public void setLower(Element element, @CheckForNull java.lang.Integer value)
-
clearLower
public void clearLower(Element element)
-
getLower
@CheckForNull public java.lang.Integer getLower(Element element)
-
setUpper
public void setUpper(Element element, @CheckForNull java.lang.Integer value)
-
clearUpper
public void clearUpper(Element element)
-
getUpper
@CheckForNull public java.lang.Integer getUpper(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-