Package com.nomagic.uml2
Class MagicDrawProfile.NumberPartStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.NumberPartStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.NumberPartStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXPRESSION
static java.lang.String
INITIALVALUE
static java.lang.String
SEQUENCE
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumberPartStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
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)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
EXPRESSION
public static final java.lang.String EXPRESSION
- See Also:
- Constant Field Values
-
INITIALVALUE
public static final java.lang.String INITIALVALUE
- See Also:
- Constant Field Values
-
SEQUENCE
public static final java.lang.String SEQUENCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NumberPartStereotype
protected NumberPartStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getExpressionProperty
@CheckForNull public Property getExpressionProperty()
-
getInitialValueProperty
@CheckForNull public Property getInitialValueProperty()
-
getSequenceProperty
@CheckForNull public Property getSequenceProperty()
-
setExpression
public void setExpression(Element element, @CheckForNull java.lang.String value)
-
clearExpression
public void clearExpression(Element element)
-
getExpression
@CheckForNull public java.lang.String getExpression(Element element)
-
setInitialValue
public void setInitialValue(Element element, @CheckForNull java.lang.String value)
-
clearInitialValue
public void clearInitialValue(Element element)
-
getInitialValue
@CheckForNull public java.lang.String getInitialValue(Element element)
-
setSequence
public void setSequence(Element element, @CheckForNull MagicDrawProfile.SequenceTypeEnum value)
-
clearSequence
public void clearSequence(Element element)
-
getSequence
@CheckForNull public MagicDrawProfile.SequenceTypeEnum getSequence(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-