Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.AllocateStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.AllocateStereotype
- Enclosing class:
- SysMLProfile
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Gives the context for sourcePropertyPath to begin from.static final String
A series of properties that identifies the source of the directed relationship in the context of the block specified by the sourceContext property.static final String
static final String
Gives the context for targetPropertyPath to begin from.static final String
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSourcePropertyPath
(Element element, Element value) void
addTargetPropertyPath
(Element element, Element value) void
clearSourceContext
(Element element) void
clearSourcePropertyPath
(Element element) void
clearTargetContext
(Element element) void
clearTargetPropertyPath
(Element element) getSourceContext
(Element element) getSourcePropertyPath
(Element element) Returns stereotype for this wrapper.getTargetContext
(Element element) getTargetPropertyPath
(Element element) boolean
static boolean
isInstance
(Element element) void
removeSourcePropertyPath
(Element element, Element value) void
removeTargetPropertyPath
(Element element, Element value) void
setSourceContext
(Element element, Element value) void
setSourcePropertyPath
(Element element, Collection<? extends Element> value) void
setTargetContext
(Element element, Element value) void
setTargetPropertyPath
(Element element, Collection<? extends Element> value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
SOURCECONTEXT
Gives the context for sourcePropertyPath to begin from.- See Also:
-
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:
-
TARGETCONTEXT
Gives the context for targetPropertyPath to begin from.- See Also:
-
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:
-
-
Constructor Details
-
AllocateStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getSourceContextProperty
-
getSourcePropertyPathProperty
-
getTargetContextProperty
-
getTargetPropertyPathProperty
-
setSourceContext
-
clearSourceContext
-
getSourceContext
-
setSourcePropertyPath
public void setSourcePropertyPath(Element element, @CheckForNull Collection<? extends Element> value) -
clearSourcePropertyPath
-
addSourcePropertyPath
-
removeSourcePropertyPath
-
getSourcePropertyPath
-
setTargetContext
-
clearTargetContext
-
getTargetContext
-
setTargetPropertyPath
public void setTargetPropertyPath(Element element, @CheckForNull Collection<? extends Element> value) -
clearTargetPropertyPath
-
addTargetPropertyPath
-
removeTargetPropertyPath
-
getTargetPropertyPath
-
is
-
isInstance
-