Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.RefineStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.RefineStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.RefineStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SOURCECONTEXT
Gives the context for sourcePropertyPath to begin from.static 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.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TARGETCONTEXT
Gives the context for targetPropertyPath to begin from.static 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.
-
Constructor Summary
Constructors Modifier Constructor Description protected
RefineStereotype(SysMLProfile profile)
-
Method Summary
-
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
-
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
-
-
Constructor Detail
-
RefineStereotype
protected RefineStereotype(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
-
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)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-