Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ElementPropertyPathStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.ElementPropertyPathStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ElementPropertyPathStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROPERTYPATH
The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector.static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementPropertyPathStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyPath(Element element, Element value)
protected void
clear()
void
clearPropertyPath(Element element)
java.util.List<Element>
getPropertyPath(Element element)
Property
getPropertyPathProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removePropertyPath(Element element, Element value)
void
setPropertyPath(Element element, java.util.Collection<? extends Element> 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
-
PROPERTYPATH
public static final java.lang.String PROPERTYPATH
The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ElementPropertyPathStereotype
protected ElementPropertyPathStereotype(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
-
getPropertyPathProperty
@CheckForNull public Property getPropertyPathProperty()
-
setPropertyPath
public void setPropertyPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearPropertyPath
public void clearPropertyPath(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-