Package com.nomagic.uml2
Class MagicDrawProfile.TermStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.MagicDrawProfile.TermStereotype
- Enclosing class:
- MagicDrawProfile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSynonyms(Element element, String value) protected voidclear()voidclearSynonyms(Element element) Returns stereotype for this wrapper.getSynonyms(Element element) booleanChecks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element) voidremoveSynonyms(Element element, String value) voidsetSynonyms(Element element, Collection<String> value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
SYNONYMS
A list of words and phrases defining synonyms of a term.- See Also:
-
-
Constructor Details
-
TermStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getSynonymsProperty
-
setSynonyms
-
clearSynonyms
-
addSynonyms
-
removeSynonyms
-
getSynonyms
-
clear
protected void clear() -
is
Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Specified by:
isin classProfileImplementation.StereotypeWrapper- Parameters:
element- element- Returns:
- true if stereotype of this wrapper is applied to given element
-
isInstance
-