Package com.nomagic.uml2
Class MagicDrawProfile.MetaPropertyStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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 static java.lang.String
NEWNAME
static java.lang.String
NEWTYPES
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
SUGGESTEDVALUES
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetaPropertyStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNewTypes(Element element, Element value)
void
addSuggestedValues(Element element, java.lang.String value)
protected void
clear()
void
clearNewName(Element element)
void
clearNewTypes(Element element)
void
clearSuggestedValues(Element element)
java.lang.String
getNewName(Element element)
Property
getNewNameProperty()
java.util.List<Element>
getNewTypes(Element element)
Property
getNewTypesProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.util.List<java.lang.String>
getSuggestedValues(Element element)
Property
getSuggestedValuesProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeNewTypes(Element element, Element value)
void
removeSuggestedValues(Element element, java.lang.String value)
void
setNewName(Element element, java.lang.String value)
void
setNewTypes(Element element, java.util.Collection<? extends Element> value)
void
setSuggestedValues(Element element, java.util.Collection<java.lang.String> 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
-
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
-
-
Constructor Detail
-
MetaPropertyStereotype
protected MetaPropertyStereotype(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
-
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()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-