public static class MagicDrawProfile.NumberPartStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXPRESSION |
static java.lang.String |
INITIALVALUE |
static java.lang.String |
SEQUENCE |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
NumberPartStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearExpression(Element element) |
void |
clearInitialValue(Element element) |
void |
clearSequence(Element element) |
java.lang.String |
getExpression(Element element) |
Property |
getExpressionProperty() |
java.lang.String |
getInitialValue(Element element) |
Property |
getInitialValueProperty() |
MagicDrawProfile.SequenceTypeEnum |
getSequence(Element element) |
Property |
getSequenceProperty() |
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 |
setExpression(Element element,
java.lang.String value) |
void |
setInitialValue(Element element,
java.lang.String value) |
void |
setSequence(Element element,
MagicDrawProfile.SequenceTypeEnum value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String EXPRESSION
public static final java.lang.String INITIALVALUE
public static final java.lang.String SEQUENCE
protected NumberPartStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getExpressionProperty()
@CheckForNull public Property getInitialValueProperty()
@CheckForNull public Property getSequenceProperty()
public void setExpression(Element element, @CheckForNull java.lang.String value)
public void clearExpression(Element element)
@CheckForNull public java.lang.String getExpression(Element element)
public void setInitialValue(Element element, @CheckForNull java.lang.String value)
public void clearInitialValue(Element element)
@CheckForNull public java.lang.String getInitialValue(Element element)
public void setSequence(Element element, @CheckForNull MagicDrawProfile.SequenceTypeEnum value)
public void clearSequence(Element element)
@CheckForNull public MagicDrawProfile.SequenceTypeEnum getSequence(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)