Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.AddFlowPropertyValueOnNestedPortActionStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.AddFlowPropertyValueOnNestedPortActionStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.AddFlowPropertyValueOnNestedPortActionStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile_pprivate PropertyonNestedPortstatic java.lang.StringONNESTEDPORTstatic java.lang.StringPROPERTYPATHThe 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.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedAddFlowPropertyValueOnNestedPortActionStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnNestedPort(Element element, Element value)voidaddPropertyPath(Element element, Element value)protected voidclear()voidclearOnNestedPort(Element element)voidclearPropertyPath(Element element)java.util.List<Element>getOnNestedPort(Element element)PropertygetOnNestedPortProperty()java.util.List<Element>getPropertyPath(Element element)PropertygetPropertyPathProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidremoveOnNestedPort(Element element, Element value)voidremovePropertyPath(Element element, Element value)voidsetOnNestedPort(Element element, java.util.Collection<? extends Element> value)voidsetPropertyPath(Element element, java.util.Collection<? extends Element> 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
-
ONNESTEDPORT
public static final java.lang.String ONNESTEDPORT
- 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
-
_p
private final SysMLProfile _p
-
onNestedPort
@CheckForNull private Property onNestedPort
-
-
Constructor Detail
-
AddFlowPropertyValueOnNestedPortActionStereotype
protected AddFlowPropertyValueOnNestedPortActionStereotype(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
-
getOnNestedPortProperty
@CheckForNull public Property getOnNestedPortProperty()
-
getPropertyPathProperty
@CheckForNull public Property getPropertyPathProperty()
-
setOnNestedPort
public void setOnNestedPort(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearOnNestedPort
public void clearOnNestedPort(Element element)
-
setPropertyPath
public void setPropertyPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearPropertyPath
public void clearPropertyPath(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)
-
-