Package com.nomagic.uml2
Class MagicDrawProfile.MetaPropertyStereotype
- java.lang.Object
 - 
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
 - 
- com.nomagic.uml2.MagicDrawProfile.MetaPropertyStereotype
 
 
 
- 
- Enclosing class:
 - MagicDrawProfile
 
public static class MagicDrawProfile.MetaPropertyStereotype extends ProfileImplementation.StereotypeWrapper
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile_pprivate PropertynewNamestatic java.lang.StringNEWNAMEprivate PropertynewTypesstatic java.lang.StringNEWTYPESstatic java.lang.StringSTEREOTYPE_NAMEprivate PropertysuggestedValuesstatic java.lang.StringSUGGESTEDVALUES 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedMetaPropertyStereotype(MagicDrawProfile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewTypes(Element element, Element value)voidaddSuggestedValues(Element element, java.lang.String value)protected voidclear()voidclearNewName(Element element)voidclearNewTypes(Element element)voidclearSuggestedValues(Element element)java.lang.StringgetNewName(Element element)PropertygetNewNameProperty()java.util.List<Element>getNewTypes(Element element)PropertygetNewTypesProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.util.List<java.lang.String>getSuggestedValues(Element element)PropertygetSuggestedValuesProperty()booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidremoveNewTypes(Element element, Element value)voidremoveSuggestedValues(Element element, java.lang.String value)voidsetNewName(Element element, java.lang.String value)voidsetNewTypes(Element element, java.util.Collection<? extends Element> value)voidsetSuggestedValues(Element element, java.util.Collection<java.lang.String> value)- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply 
 - 
 
 - 
 
- 
- 
Field Detail
- 
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
 - Constant Field Values
 
 
- 
NEWNAME
public static final java.lang.String NEWNAME
- See Also:
 - Constant Field Values
 
 
- 
NEWTYPES
public static final java.lang.String NEWTYPES
- See Also:
 - Constant Field Values
 
 
- 
SUGGESTEDVALUES
public static final java.lang.String SUGGESTEDVALUES
- See Also:
 - Constant Field Values
 
 
- 
_p
private final MagicDrawProfile _p
 
- 
newName
@CheckForNull private Property newName
 
- 
newTypes
@CheckForNull private Property newTypes
 
- 
suggestedValues
@CheckForNull private Property suggestedValues
 
 - 
 
- 
Constructor Detail
- 
MetaPropertyStereotype
protected MetaPropertyStereotype(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
 
 
- 
getNewNameProperty
@CheckForNull public Property getNewNameProperty()
 
- 
getNewTypesProperty
@CheckForNull public Property getNewTypesProperty()
 
- 
getSuggestedValuesProperty
@CheckForNull public Property getSuggestedValuesProperty()
 
- 
setNewName
public void setNewName(Element element, @CheckForNull java.lang.String value)
 
- 
clearNewName
public void clearNewName(Element element)
 
- 
getNewName
@CheckForNull public java.lang.String getNewName(Element element)
 
- 
setNewTypes
public void setNewTypes(Element element, @CheckForNull java.util.Collection<? extends Element> value)
 
- 
clearNewTypes
public void clearNewTypes(Element element)
 
- 
setSuggestedValues
public void setSuggestedValues(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
 
- 
clearSuggestedValues
public void clearSuggestedValues(Element element)
 
- 
addSuggestedValues
public void addSuggestedValues(Element element, java.lang.String value)
 
- 
removeSuggestedValues
public void removeSuggestedValues(Element element, java.lang.String value)
 
- 
getSuggestedValues
public java.util.List<java.lang.String> getSuggestedValues(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) 
 - 
 
 -