Package com.nomagic.uml2
Class MagicDrawProfile.ReplaceStereotypeStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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 static java.lang.String
DISABLENEWTYPECREATION
static java.lang.String
DISABLEREPLACEWHERESAVEDASELEMENTVALUE
static java.lang.String
EXPLICITNEWMETACLASS
static java.lang.String
ISSTRICT
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, 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
-
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
-
-
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()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-