public static class SysMLProfile.BoundReferenceStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and 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 applied
|
static 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.
|
Modifier | Constructor and Description |
---|---|
protected |
BoundReferenceStereotype(SysMLProfile profile) |
Modifier and Type | Method and 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)
Checks if stereotype of this wrapper is applied to given 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) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String BINDINGPATH
public static final java.lang.String BOUNDEND
public static final java.lang.String LOWER
public static final java.lang.String UPPER
protected BoundReferenceStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getBindingPathProperty()
@CheckForNull public Property getBoundEndProperty()
@CheckForNull public Property getLowerProperty()
@CheckForNull public Property getUpperProperty()
public void setBindingPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearBindingPath(Element element)
public void clearBoundEnd(Element element)
public void setLower(Element element, @CheckForNull java.lang.Integer value)
public void clearLower(Element element)
@CheckForNull public java.lang.Integer getLower(Element element)
public void setUpper(Element element, @CheckForNull java.lang.Integer value)
public void clearUpper(Element element)
@CheckForNull public java.lang.Integer getUpper(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)