public static class SysMLProfile.CopyStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and 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.
|
Modifier | Constructor and Description |
---|---|
protected |
CopyStereotype(SysMLProfile profile) |
apply, unApply
clear, getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String SOURCECONTEXT
public static final java.lang.String SOURCEPROPERTYPATH
public static final java.lang.String TARGETCONTEXT
public static final java.lang.String TARGETPROPERTYPATH
protected CopyStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getSourceContextProperty()
@CheckForNull public Property getSourcePropertyPathProperty()
@CheckForNull public Property getTargetContextProperty()
@CheckForNull public Property getTargetPropertyPathProperty()
public void clearSourceContext(Element element)
public void setSourcePropertyPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearSourcePropertyPath(Element element)
public void clearTargetContext(Element element)
public void setTargetPropertyPath(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearTargetPropertyPath(Element element)
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)