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
FieldsModifier and TypeFieldDescriptionstatic final StringGives the context for sourcePropertyPath to begin from.static final StringA series of properties that identifies the source of the directed relationship in the context of the block specified by the sourceContext property.static final Stringstatic final StringGives the context for targetPropertyPath to begin from.static final StringA 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSourcePropertyPath(Element element, Element value) voidaddTargetPropertyPath(Element element, Element value) voidclearSourceContext(Element element) voidclearSourcePropertyPath(Element element) voidclearTargetContext(Element element) voidclearTargetPropertyPath(Element element) getSourceContext(Element element) getSourcePropertyPath(Element element) Returns stereotype for this wrapper.getTargetContext(Element element) getTargetPropertyPath(Element element) booleanstatic booleanisInstance(Element element) voidremoveSourcePropertyPath(Element element, Element value) voidremoveTargetPropertyPath(Element element, Element value) voidsetSourceContext(Element element, Element value) voidsetSourcePropertyPath(Element element, Collection<? extends Element> value) voidsetTargetContext(Element element, Element value) voidsetTargetPropertyPath(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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
-