Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.BoundReferenceStereotype
- java.lang.Object
-
- 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 static java.lang.String
BINDINGPATH
Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd.static 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.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
BoundReferenceStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBindingPath(Element element, Element value)
protected void
clear()
void
clearBindingPath(Element element)
void
clearBoundEnd(Element element)
void
clearLower(Element element)
void
clearUpper(Element element)
java.util.List<Element>
getBindingPath(Element element)
Property
getBindingPathProperty()
Element
getBoundEnd(Element element)
Property
getBoundEndProperty()
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
removeBindingPath(Element element, Element value)
void
setBindingPath(Element element, java.util.Collection<? extends Element> value)
void
setBoundEnd(Element element, Element value)
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
-
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
-
-
Constructor Detail
-
BoundReferenceStereotype
protected BoundReferenceStereotype(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
-
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()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-