Package com.nomagic.uml2
Class MagicDrawProfile.ReplaceStereotypeStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.ReplaceStereotypeStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.ReplaceStereotypeStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private Property
disableNewTypeCreation
static java.lang.String
DISABLENEWTYPECREATION
private Property
disableReplaceWhereSavedAsElementValue
static java.lang.String
DISABLEREPLACEWHERESAVEDASELEMENTVALUE
private Property
explicitNewMetaclass
static java.lang.String
EXPLICITNEWMETACLASS
private Property
isStrict
static java.lang.String
ISSTRICT
private MagicDrawProfile
profile
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReplaceStereotypeStereotype(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
-
DISABLENEWTYPECREATION
public static final java.lang.String DISABLENEWTYPECREATION
- See Also:
- Constant Field Values
-
DISABLEREPLACEWHERESAVEDASELEMENTVALUE
public static final java.lang.String DISABLEREPLACEWHERESAVEDASELEMENTVALUE
- See Also:
- Constant Field Values
-
EXPLICITNEWMETACLASS
public static final java.lang.String EXPLICITNEWMETACLASS
- See Also:
- Constant Field Values
-
ISSTRICT
public static final java.lang.String ISSTRICT
- See Also:
- Constant Field Values
-
profile
private final MagicDrawProfile profile
-
disableNewTypeCreation
@CheckForNull private Property disableNewTypeCreation
-
disableReplaceWhereSavedAsElementValue
@CheckForNull private Property disableReplaceWhereSavedAsElementValue
-
explicitNewMetaclass
@CheckForNull private Property explicitNewMetaclass
-
isStrict
@CheckForNull private Property isStrict
-
-
Constructor Detail
-
ReplaceStereotypeStereotype
protected ReplaceStereotypeStereotype(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
-
getDisableNewTypeCreationProperty
@CheckForNull public Property getDisableNewTypeCreationProperty()
-
getDisableReplaceWhereSavedAsElementValueProperty
@CheckForNull public Property getDisableReplaceWhereSavedAsElementValueProperty()
-
getExplicitNewMetaclassProperty
@CheckForNull public Property getExplicitNewMetaclassProperty()
-
getIsStrictProperty
@CheckForNull public Property getIsStrictProperty()
-
setDisableNewTypeCreation
public void setDisableNewTypeCreation(Element element, @CheckForNull java.lang.Boolean value)
-
clearDisableNewTypeCreation
public void clearDisableNewTypeCreation(Element element)
-
isDisableNewTypeCreation
@CheckForNull public java.lang.Boolean isDisableNewTypeCreation(Element element)
-
setDisableReplaceWhereSavedAsElementValue
public void setDisableReplaceWhereSavedAsElementValue(Element element, @CheckForNull java.lang.Boolean value)
-
clearDisableReplaceWhereSavedAsElementValue
public void clearDisableReplaceWhereSavedAsElementValue(Element element)
-
isDisableReplaceWhereSavedAsElementValue
@CheckForNull public java.lang.Boolean isDisableReplaceWhereSavedAsElementValue(Element element)
-
setExplicitNewMetaclass
public void setExplicitNewMetaclass(Element element, @CheckForNull Element value)
-
clearExplicitNewMetaclass
public void clearExplicitNewMetaclass(Element element)
-
setIsStrict
public void setIsStrict(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsStrict
public void clearIsStrict(Element element)
-
isIsStrict
@CheckForNull public java.lang.Boolean isIsStrict(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)
-
-