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