Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.TraceStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.TraceStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.TraceStereotype extends com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private SysMLProfile
_p
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
TraceStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
addTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
clearSourceContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearTargetContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
clearTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
getSourceContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getSourceContextProperty()
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element>
getSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getSourcePropertyPathProperty()
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype
getStereotype()
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
getTargetContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getTargetContextProperty()
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element>
getTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property
getTargetPropertyPathProperty()
boolean
is(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
static boolean
isInstance(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
void
removeSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
removeTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setSourceContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
void
setTargetContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
void
setTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
-
-
-
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
-
-
Constructor Detail
-
TraceStereotype
protected TraceStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
- Specified by:
getStereotype
in classcom.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
getSourceContextProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getSourceContextProperty()
-
getSourcePropertyPathProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getSourcePropertyPathProperty()
-
getTargetContextProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getTargetContextProperty()
-
getTargetPropertyPathProperty
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getTargetPropertyPathProperty()
-
setSourceContext
public void setSourceContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
clearSourceContext
public void clearSourceContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getSourceContext
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getSourceContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setSourcePropertyPath
public void setSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
-
clearSourcePropertyPath
public void clearSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
addSourcePropertyPath
public void addSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
removeSourcePropertyPath
public void removeSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
getSourcePropertyPath
public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getSourcePropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setTargetContext
public void setTargetContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
clearTargetContext
public void clearTargetContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
getTargetContext
@CheckForNull public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getTargetContext(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
setTargetPropertyPath
public void setTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, @CheckForNull java.util.Collection<? extends com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> value)
-
clearTargetPropertyPath
public void clearTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
addTargetPropertyPath
public void addTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
removeTargetPropertyPath
public void removeTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
-
getTargetPropertyPath
public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getTargetPropertyPath(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
is
public boolean is(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
isInstance
public static boolean isInstance(@CheckForNull com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
-
-