public static class MagicDrawProfile.SuggestedStringValuesStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
VALUES |
Modifier | Constructor and Description |
---|---|
protected |
SuggestedStringValuesStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addValues(Element element,
java.lang.String value) |
protected void |
clear() |
void |
clearValues(Element element) |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.util.List<java.lang.String> |
getValues(Element element) |
Property |
getValuesProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeValues(Element element,
java.lang.String value) |
void |
setValues(Element element,
java.util.Collection<java.lang.String> value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String VALUES
protected SuggestedStringValuesStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getValuesProperty()
public void setValues(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
public void clearValues(Element element)
public void addValues(Element element, java.lang.String value)
public void removeValues(Element element, java.lang.String value)
public java.util.List<java.lang.String> getValues(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)