public static class MagicDrawProfile.ElementReferenceInTextStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REFERENCEDATA |
static java.lang.String |
REFERREDELEMENTS |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
ElementReferenceInTextStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addReferredElements(Element element,
Element value) |
protected void |
clear() |
void |
clearReferenceData(Element element) |
void |
clearReferredElements(Element element) |
java.lang.String |
getReferenceData(Element element) |
Property |
getReferenceDataProperty() |
java.util.List<Element> |
getReferredElements(Element element) |
Property |
getReferredElementsProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeReferredElements(Element element,
Element value) |
void |
setReferenceData(Element element,
java.lang.String value) |
void |
setReferredElements(Element element,
java.util.Collection<? extends Element> value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String REFERENCEDATA
public static final java.lang.String REFERREDELEMENTS
protected ElementReferenceInTextStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getReferenceDataProperty()
@CheckForNull public Property getReferredElementsProperty()
public void setReferenceData(Element element, @CheckForNull java.lang.String value)
public void clearReferenceData(Element element)
@CheckForNull public java.lang.String getReferenceData(Element element)
public void setReferredElements(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearReferredElements(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)