Package com.nomagic.uml2
Class MagicDrawProfile.AutoNumberStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.AutoNumberStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.AutoNumberStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MagicDrawProfile
_p
private Property
defaultNumber
static java.lang.String
DEFAULTNUMBER
private Property
numberedProperty
static java.lang.String
NUMBEREDPROPERTY
private Property
numberingScheme
static java.lang.String
NUMBERINGSCHEME
private Property
prefix
static java.lang.String
PREFIX
static java.lang.String
STEREOTYPE_NAME
private Property
usePrefixOnOwner
static java.lang.String
USEPREFIXONOWNER
-
Constructor Summary
Constructors Modifier Constructor Description protected
AutoNumberStereotype(MagicDrawProfile profile)
-
Method Summary
-
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
-
DEFAULTNUMBER
public static final java.lang.String DEFAULTNUMBER
- See Also:
- Constant Field Values
-
NUMBEREDPROPERTY
public static final java.lang.String NUMBEREDPROPERTY
- See Also:
- Constant Field Values
-
NUMBERINGSCHEME
public static final java.lang.String NUMBERINGSCHEME
- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
USEPREFIXONOWNER
public static final java.lang.String USEPREFIXONOWNER
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
defaultNumber
@CheckForNull private Property defaultNumber
-
numberedProperty
@CheckForNull private Property numberedProperty
-
numberingScheme
@CheckForNull private Property numberingScheme
-
prefix
@CheckForNull private Property prefix
-
usePrefixOnOwner
@CheckForNull private Property usePrefixOnOwner
-
-
Constructor Detail
-
AutoNumberStereotype
protected AutoNumberStereotype(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
-
getDefaultNumberProperty
@CheckForNull public Property getDefaultNumberProperty()
-
getNumberedPropertyProperty
@CheckForNull public Property getNumberedPropertyProperty()
-
getNumberingSchemeProperty
@CheckForNull public Property getNumberingSchemeProperty()
-
getPrefixProperty
@CheckForNull public Property getPrefixProperty()
-
getUsePrefixOnOwnerProperty
@CheckForNull public Property getUsePrefixOnOwnerProperty()
-
setDefaultNumber
public void setDefaultNumber(Element element, @CheckForNull java.lang.Boolean value)
-
clearDefaultNumber
public void clearDefaultNumber(Element element)
-
isDefaultNumber
@CheckForNull public java.lang.Boolean isDefaultNumber(Element element)
-
clearNumberedProperty
public void clearNumberedProperty(Element element)
-
clearNumberingScheme
public void clearNumberingScheme(Element element)
-
setPrefix
public void setPrefix(Element element, @CheckForNull java.lang.String value)
-
clearPrefix
public void clearPrefix(Element element)
-
getPrefix
@CheckForNull public java.lang.String getPrefix(Element element)
-
setUsePrefixOnOwner
public void setUsePrefixOnOwner(Element element, @CheckForNull java.lang.Boolean value)
-
clearUsePrefixOnOwner
public void clearUsePrefixOnOwner(Element element)
-
isUsePrefixOnOwner
@CheckForNull public java.lang.Boolean isUsePrefixOnOwner(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
Description copied from class:ProfileImplementation.StereotypeWrapper
Checks 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)
-
-