Package com.nomagic.uml2
Class MagicDrawProfile.ElementReferenceInTextStereotype
- java.lang.Object
 - 
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
 - 
- 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 MagicDrawProfile_pprivate 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)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, isDerivedStereotype, isSameOrDerivedStereotype, unApply 
- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName 
 - 
 
 - 
 
- 
- 
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
 
 
- 
_p
private final MagicDrawProfile _p
 
- 
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()
- Overrides:
 clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
 
- 
is
public boolean is(@CheckForNull Element element) 
- 
isInstance
public static boolean isInstance(@CheckForNull Element element) 
 - 
 
 -