Package com.nomagic.uml2
Class MagicDrawProfile.ReplaceTaggedValueStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.ReplaceTaggedValueStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.ReplaceTaggedValueStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ADDSTEREOTYPEIFNOTADDED
static java.lang.String
ADDTODOIFTAGDOESNOTEXIST
static java.lang.String
CASESENSITIVEENUMERATIONLITERAL
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReplaceTaggedValueStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearAddStereotypeIfNotAdded(Element element)
void
clearAddToDoIfTagDoesNotExist(Element element)
void
clearCaseSensitiveEnumerationLiteral(Element element)
Property
getAddStereotypeIfNotAddedProperty()
Property
getAddToDoIfTagDoesNotExistProperty()
Property
getCaseSensitiveEnumerationLiteralProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
java.lang.Boolean
isAddStereotypeIfNotAdded(Element element)
java.lang.Boolean
isAddToDoIfTagDoesNotExist(Element element)
java.lang.Boolean
isCaseSensitiveEnumerationLiteral(Element element)
static boolean
isInstance(Element element)
void
setAddStereotypeIfNotAdded(Element element, java.lang.Boolean value)
void
setAddToDoIfTagDoesNotExist(Element element, java.lang.Boolean value)
void
setCaseSensitiveEnumerationLiteral(Element element, java.lang.Boolean 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
-
ADDSTEREOTYPEIFNOTADDED
public static final java.lang.String ADDSTEREOTYPEIFNOTADDED
- See Also:
- Constant Field Values
-
ADDTODOIFTAGDOESNOTEXIST
public static final java.lang.String ADDTODOIFTAGDOESNOTEXIST
- See Also:
- Constant Field Values
-
CASESENSITIVEENUMERATIONLITERAL
public static final java.lang.String CASESENSITIVEENUMERATIONLITERAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReplaceTaggedValueStereotype
protected ReplaceTaggedValueStereotype(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
-
getAddStereotypeIfNotAddedProperty
@CheckForNull public Property getAddStereotypeIfNotAddedProperty()
-
getAddToDoIfTagDoesNotExistProperty
@CheckForNull public Property getAddToDoIfTagDoesNotExistProperty()
-
getCaseSensitiveEnumerationLiteralProperty
@CheckForNull public Property getCaseSensitiveEnumerationLiteralProperty()
-
setAddStereotypeIfNotAdded
public void setAddStereotypeIfNotAdded(Element element, @CheckForNull java.lang.Boolean value)
-
clearAddStereotypeIfNotAdded
public void clearAddStereotypeIfNotAdded(Element element)
-
isAddStereotypeIfNotAdded
@CheckForNull public java.lang.Boolean isAddStereotypeIfNotAdded(Element element)
-
setAddToDoIfTagDoesNotExist
public void setAddToDoIfTagDoesNotExist(Element element, @CheckForNull java.lang.Boolean value)
-
clearAddToDoIfTagDoesNotExist
public void clearAddToDoIfTagDoesNotExist(Element element)
-
isAddToDoIfTagDoesNotExist
@CheckForNull public java.lang.Boolean isAddToDoIfTagDoesNotExist(Element element)
-
setCaseSensitiveEnumerationLiteral
public void setCaseSensitiveEnumerationLiteral(Element element, @CheckForNull java.lang.Boolean value)
-
clearCaseSensitiveEnumerationLiteral
public void clearCaseSensitiveEnumerationLiteral(Element element)
-
isCaseSensitiveEnumerationLiteral
@CheckForNull public java.lang.Boolean isCaseSensitiveEnumerationLiteral(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)
-
-