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 static java.lang.String
REFERENCEDATA
static java.lang.String
REFERREDELEMENTS
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementReferenceInTextStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
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)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, 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
-
-
Constructor Detail
-
ElementReferenceInTextStereotype
protected ElementReferenceInTextStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-