Package com.nomagic.uml2
Class MagicDrawProfile.ElementReferenceInTextStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.ElementReferenceInTextStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.ElementReferenceInTextStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfileprofileprivate PropertyreferenceDatastatic java.lang.StringREFERENCEDATAprivate PropertyreferredElementsstatic java.lang.StringREFERREDELEMENTSstatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedElementReferenceInTextStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReferredElements(Element element, Element value)protected voidclear()voidclearReferenceData(Element element)voidclearReferredElements(Element element)java.lang.StringgetReferenceData(Element element)PropertygetReferenceDataProperty()java.util.List<Element>getReferredElements(Element element)PropertygetReferredElementsProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidremoveReferredElements(Element element, Element value)voidsetReferenceData(Element element, java.lang.String value)voidsetReferredElements(Element element, java.util.Collection<? extends Element> value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
REFERENCEDATA
public static final java.lang.String REFERENCEDATA
- See Also:
- Constant Field Values
-
REFERREDELEMENTS
public static final java.lang.String REFERREDELEMENTS
- See Also:
- Constant Field Values
-
profile
private final MagicDrawProfile profile
-
referenceData
@CheckForNull private Property referenceData
-
referredElements
@CheckForNull private Property referredElements
-
-
Constructor Detail
-
ElementReferenceInTextStereotype
protected ElementReferenceInTextStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getReferenceDataProperty
@CheckForNull public Property getReferenceDataProperty()
-
getReferredElementsProperty
@CheckForNull public Property getReferredElementsProperty()
-
setReferenceData
public void setReferenceData(Element element, @CheckForNull java.lang.String value)
-
clearReferenceData
public void clearReferenceData(Element element)
-
getReferenceData
@CheckForNull public java.lang.String getReferenceData(Element element)
-
setReferredElements
public void setReferredElements(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearReferredElements
public void clearReferredElements(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-