Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.BoundReferenceStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.BoundReferenceStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.BoundReferenceStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile_pprivate PropertybindingPathstatic java.lang.StringBINDINGPATHGives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd.private PropertyboundEndstatic java.lang.StringBOUNDENDGives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition.static 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_NAMEstatic 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 protectedBoundReferenceStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBindingPath(Element element, Element value)protected voidclear()voidclearBindingPath(Element element)voidclearBoundEnd(Element element)voidclearLower(Element element)voidclearUpper(Element element)java.util.List<Element>getBindingPath(Element element)PropertygetBindingPathProperty()ElementgetBoundEnd(Element element)PropertygetBoundEndProperty()java.lang.IntegergetLower(Element element)PropertygetLowerProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.lang.IntegergetUpper(Element element)PropertygetUpperProperty()booleanis(Element element)static booleanisInstance(Element element)voidremoveBindingPath(Element element, Element value)voidsetBindingPath(Element element, java.util.Collection<? extends Element> value)voidsetBoundEnd(Element element, Element value)voidsetLower(Element element, java.lang.Integer value)voidsetUpper(Element element, java.lang.Integer 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
-
BINDINGPATH
public static final java.lang.String BINDINGPATH
Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd.- See Also:
- Constant Field Values
-
BOUNDEND
public static final java.lang.String BOUNDEND
Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition.- 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
-
bindingPath
@CheckForNull private Property bindingPath
-
boundEnd
@CheckForNull private Property boundEnd
-
-
Constructor Detail
-
BoundReferenceStereotype
protected BoundReferenceStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getBindingPathProperty
@CheckForNull public Property getBindingPathProperty()
-
getBoundEndProperty
@CheckForNull public Property getBoundEndProperty()
-
getLowerProperty
@CheckForNull public Property getLowerProperty()
-
getUpperProperty
@CheckForNull public Property getUpperProperty()
-
setBindingPath
public void setBindingPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearBindingPath
public void clearBindingPath(Element element)
-
clearBoundEnd
public void clearBoundEnd(Element element)
-
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()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-