public static class MagicDrawProfile.MetaPropertyStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NEWNAME |
static java.lang.String |
NEWTYPES |
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
SUGGESTEDVALUES |
| Modifier | Constructor and Description |
|---|---|
protected |
MetaPropertyStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and 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)
Checks if stereotype of this wrapper is applied to given 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) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String NEWNAME
public static final java.lang.String NEWTYPES
public static final java.lang.String SUGGESTEDVALUES
protected MetaPropertyStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getNewNameProperty()
@CheckForNull public Property getNewTypesProperty()
@CheckForNull public Property getSuggestedValuesProperty()
public void setNewName(Element element, @CheckForNull java.lang.String value)
public void clearNewName(Element element)
@CheckForNull public java.lang.String getNewName(Element element)
public void setNewTypes(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearNewTypes(Element element)
public void setSuggestedValues(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
public void clearSuggestedValues(Element element)
public void addSuggestedValues(Element element, java.lang.String value)
public void removeSuggestedValues(Element element, java.lang.String value)
public java.util.List<java.lang.String> getSuggestedValues(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)