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 private MagicDrawProfile_pprivate Propertyexpressionstatic java.lang.StringEXPRESSIONprivate PropertyinitialValuestatic java.lang.StringINITIALVALUEprivate Propertysequencestatic java.lang.StringSEQUENCEstatic java.lang.StringSTEREOTYPE_NAME 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedNumberPartStereotype(MagicDrawProfile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearExpression(Element element)voidclearInitialValue(Element element)voidclearSequence(Element element)java.lang.StringgetExpression(Element element)PropertygetExpressionProperty()java.lang.StringgetInitialValue(Element element)PropertygetInitialValueProperty()MagicDrawProfile.SequenceTypeEnumgetSequence(Element element)PropertygetSequenceProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidsetExpression(Element element, java.lang.String value)voidsetInitialValue(Element element, java.lang.String value)voidsetSequence(Element element, MagicDrawProfile.SequenceTypeEnum value)- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, 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
 
 
- 
_p
private final MagicDrawProfile _p
 
- 
expression
@CheckForNull private Property expression
 
- 
initialValue
@CheckForNull private Property initialValue
 
- 
sequence
@CheckForNull private Property sequence
 
 - 
 
- 
Constructor Detail
- 
NumberPartStereotype
protected NumberPartStereotype(MagicDrawProfile profile)
 
 - 
 
- 
Method Detail
- 
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein 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)Description copied from class:ProfileImplementation.StereotypeWrapperChecks if stereotype of this wrapper is applied to given element.- Parameters:
 element- element- Returns:
 - true if stereotype of this wrapper is applied to given element
 
 
- 
isInstance
public static boolean isInstance(@CheckForNull Element element) 
 - 
 
 -