Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.DirectedRelationshipPropertyPathStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.DirectedRelationshipPropertyPathStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.DirectedRelationshipPropertyPathStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile_pprivate PropertysourceContextstatic java.lang.StringSOURCECONTEXTGives the context for sourcePropertyPath to begin from.private PropertysourcePropertyPathstatic java.lang.StringSOURCEPROPERTYPATHA series of properties that identifies the source of the directed relationship in the context of the block specified by the sourceContext property.static java.lang.StringSTEREOTYPE_NAMEprivate PropertytargetContextstatic java.lang.StringTARGETCONTEXTGives the context for targetPropertyPath to begin from.private PropertytargetPropertyPathstatic java.lang.StringTARGETPROPERTYPATHA series of properties that identifies the target of the directed relationship in the context of the block specified by the targetContext property.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDirectedRelationshipPropertyPathStereotype(SysMLProfile profile)
-
Method Summary
-
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
-
SOURCECONTEXT
public static final java.lang.String SOURCECONTEXT
Gives the context for sourcePropertyPath to begin from.- See Also:
- Constant Field Values
-
SOURCEPROPERTYPATH
public static final java.lang.String SOURCEPROPERTYPATH
A series of properties that identifies the source of the directed relationship in the context of the block specified by the sourceContext property.- See Also:
- Constant Field Values
-
TARGETCONTEXT
public static final java.lang.String TARGETCONTEXT
Gives the context for targetPropertyPath to begin from.- See Also:
- Constant Field Values
-
TARGETPROPERTYPATH
public static final java.lang.String TARGETPROPERTYPATH
A series of properties that identifies the target of the directed relationship in the context of the block specified by the targetContext property.- See Also:
- Constant Field Values
-
_p
private final SysMLProfile _p
-
sourceContext
@CheckForNull private Property sourceContext
-
sourcePropertyPath
@CheckForNull private Property sourcePropertyPath
-
targetContext
@CheckForNull private Property targetContext
-
targetPropertyPath
@CheckForNull private Property targetPropertyPath
-
-
Constructor Detail
-
DirectedRelationshipPropertyPathStereotype
protected DirectedRelationshipPropertyPathStereotype(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
-
getSourceContextProperty
@CheckForNull public Property getSourceContextProperty()
-
getSourcePropertyPathProperty
@CheckForNull public Property getSourcePropertyPathProperty()
-
getTargetContextProperty
@CheckForNull public Property getTargetContextProperty()
-
getTargetPropertyPathProperty
@CheckForNull public Property getTargetPropertyPathProperty()
-
clearSourceContext
public void clearSourceContext(Element element)
-
setSourcePropertyPath
public void setSourcePropertyPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearSourcePropertyPath
public void clearSourcePropertyPath(Element element)
-
clearTargetContext
public void clearTargetContext(Element element)
-
setTargetPropertyPath
public void setTargetPropertyPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearTargetPropertyPath
public void clearTargetPropertyPath(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)
-
-