Package com.nomagic.requirements.util
Class MDCustomizationForRequirements.NumberOwnerStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.requirements.util.MDCustomizationForRequirements.NumberOwnerStereotype
-
- Enclosing class:
- MDCustomizationForRequirements
public static class MDCustomizationForRequirements.NumberOwnerStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private MDCustomizationForRequirements
_p
private Property
numberingStyle
static java.lang.String
NUMBERINGSTYLE
private Property
prefix
static java.lang.String
PREFIX
private Property
separator
static java.lang.String
SEPARATOR
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumberOwnerStereotype(MDCustomizationForRequirements profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearNumberingStyle(Element element)
void
clearPrefix(Element element)
void
clearSeparator(Element element)
MDCustomizationForRequirements.NumberingStyleEnum
getNumberingStyle(Element element)
Property
getNumberingStyleProperty()
java.lang.Object
getPrefix(Element element)
Property
getPrefixProperty()
java.lang.Object
getSeparator(Element element)
Property
getSeparatorProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setNumberingStyle(Element element, MDCustomizationForRequirements.NumberingStyleEnum value)
void
setPrefix(Element element, java.lang.Object value)
void
setSeparator(Element element, java.lang.Object value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
NUMBERINGSTYLE
public static final java.lang.String NUMBERINGSTYLE
- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
SEPARATOR
public static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
_p
private final MDCustomizationForRequirements _p
-
numberingStyle
@CheckForNull private Property numberingStyle
-
prefix
@CheckForNull private Property prefix
-
separator
@CheckForNull private Property separator
-
-
Constructor Detail
-
NumberOwnerStereotype
protected NumberOwnerStereotype(MDCustomizationForRequirements 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
-
getNumberingStyleProperty
@CheckForNull public Property getNumberingStyleProperty()
-
getPrefixProperty
@CheckForNull public Property getPrefixProperty()
-
getSeparatorProperty
@CheckForNull public Property getSeparatorProperty()
-
setNumberingStyle
public void setNumberingStyle(Element element, @CheckForNull MDCustomizationForRequirements.NumberingStyleEnum value)
-
clearNumberingStyle
public void clearNumberingStyle(Element element)
-
getNumberingStyle
@CheckForNull public MDCustomizationForRequirements.NumberingStyleEnum getNumberingStyle(Element element)
-
setPrefix
public void setPrefix(Element element, @CheckForNull java.lang.Object value)
-
clearPrefix
public void clearPrefix(Element element)
-
getPrefix
@CheckForNull public java.lang.Object getPrefix(Element element)
-
setSeparator
public void setSeparator(Element element, @CheckForNull java.lang.Object value)
-
clearSeparator
public void clearSeparator(Element element)
-
getSeparator
@CheckForNull public java.lang.Object getSeparator(Element element)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-