Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.BoundReferenceStereotype
- java.lang.Object
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.BoundReferenceStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.BoundReferenceStereotype extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile
_p
private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
bindingPath
static java.lang.String
BINDINGPATH
Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd.private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
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(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
protected void
clear()
void
clearBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearBoundEnd(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element>
getBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getBindingPathProperty()
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
getBoundEnd(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getBoundEndProperty()
java.lang.Integer
getLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getLowerProperty()
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype
getStereotype()
java.lang.Integer
getUpper(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getUpperProperty()
boolean
is(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
static boolean
isInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
removeBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
void
setBoundEnd(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setLower(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.Integer value)
void
setUpper(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
-
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 com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property bindingPath
-
boundEnd
@CheckForNull private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property boundEnd
-
-
Constructor Detail
-
BoundReferenceStereotype
protected BoundReferenceStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
-
getBindingPathProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getBindingPathProperty()
-
getBoundEndProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getBoundEndProperty()
-
getLowerProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getLowerProperty()
-
getUpperProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getUpperProperty()
-
setBindingPath
public void setBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
-
clearBindingPath
public void clearBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
addBindingPath
public void addBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
removeBindingPath
public void removeBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
getBindingPath
public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getBindingPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setBoundEnd
public void setBoundEnd(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
clearBoundEnd
public void clearBoundEnd(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getBoundEnd
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getBoundEnd(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
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)
-
-