public static class MagicDrawProfile.TypeModifierStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
TYPEMODIFIER |
Modifier | Constructor and Description |
---|---|
protected |
TypeModifierStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearTypeModifier(Element element) |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.lang.String |
getTypeModifier(Element element) |
Property |
getTypeModifierProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setTypeModifier(Element element,
java.lang.String value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String TYPEMODIFIER
protected TypeModifierStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getTypeModifierProperty()
public void setTypeModifier(Element element, @CheckForNull java.lang.String value)
public void clearTypeModifier(Element element)
@CheckForNull public java.lang.String getTypeModifier(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)