public static class MagicDrawProfile.GroupedStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
GroupedStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearGroup(Element element) |
MagicDrawProfile.CustomizationGroupNamesEnum |
getGroup(Element element) |
Property |
getGroupProperty() |
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 |
setGroup(Element element,
MagicDrawProfile.CustomizationGroupNamesEnum value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String GROUP
protected GroupedStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getGroupProperty()
public void setGroup(Element element, @CheckForNull MagicDrawProfile.CustomizationGroupNamesEnum value)
public void clearGroup(Element element)
@CheckForNull public MagicDrawProfile.CustomizationGroupNamesEnum getGroup(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)