public static class MagicDrawProfile.NumberingSchemeStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NUMBERINGSTYLE
Select a multi-lever style to number elements in more than one numbering level.
|
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
NumberingSchemeStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearNumberingStyle(Element element) |
MagicDrawProfile.NumberingStyleEnum |
getNumberingStyle(Element element) |
Property |
getNumberingStyleProperty() |
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 |
setNumberingStyle(Element element,
MagicDrawProfile.NumberingStyleEnum value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String NUMBERINGSTYLE
protected NumberingSchemeStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getNumberingStyleProperty()
public void setNumberingStyle(Element element, @CheckForNull MagicDrawProfile.NumberingStyleEnum value)
public void clearNumberingStyle(Element element)
@CheckForNull public MagicDrawProfile.NumberingStyleEnum getNumberingStyle(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)