Package com.nomagic.uml2
Class MagicDrawProfile.ReplaceTaggedValueStereotype
- java.lang.Object
-
- 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 private Property
addStereotypeIfNotAdded
static java.lang.String
ADDSTEREOTYPEIFNOTADDED
private Property
addToDoIfTagDoesNotExist
static java.lang.String
ADDTODOIFTAGDOESNOTEXIST
private Property
caseSensitiveEnumerationLiteral
static java.lang.String
CASESENSITIVEENUMERATIONLITERAL
private MagicDrawProfile
profile
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReplaceTaggedValueStereotype(MagicDrawProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
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
-
profile
private final MagicDrawProfile profile
-
addStereotypeIfNotAdded
@CheckForNull private Property addStereotypeIfNotAdded
-
addToDoIfTagDoesNotExist
@CheckForNull private Property addToDoIfTagDoesNotExist
-
caseSensitiveEnumerationLiteral
@CheckForNull private Property caseSensitiveEnumerationLiteral
-
-
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()
-
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)
-
-