public static class MagicDrawProfile.ReplaceStereotypeStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and 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 |
Modifier | Constructor and Description |
---|---|
protected |
ReplaceStereotypeStereotype(MagicDrawProfile profile) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DISABLENEWTYPECREATION
public static final java.lang.String DISABLEREPLACEWHERESAVEDASELEMENTVALUE
public static final java.lang.String EXPLICITNEWMETACLASS
public static final java.lang.String ISSTRICT
protected ReplaceStereotypeStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getDisableNewTypeCreationProperty()
@CheckForNull public Property getDisableReplaceWhereSavedAsElementValueProperty()
@CheckForNull public Property getExplicitNewMetaclassProperty()
@CheckForNull public Property getIsStrictProperty()
public void setDisableNewTypeCreation(Element element, @CheckForNull java.lang.Boolean value)
public void clearDisableNewTypeCreation(Element element)
@CheckForNull public java.lang.Boolean isDisableNewTypeCreation(Element element)
public void setDisableReplaceWhereSavedAsElementValue(Element element, @CheckForNull java.lang.Boolean value)
public void clearDisableReplaceWhereSavedAsElementValue(Element element)
@CheckForNull public java.lang.Boolean isDisableReplaceWhereSavedAsElementValue(Element element)
public void setExplicitNewMetaclass(Element element, @CheckForNull Element value)
public void clearExplicitNewMetaclass(Element element)
public void setIsStrict(Element element, @CheckForNull java.lang.Boolean value)
public void clearIsStrict(Element element)
@CheckForNull public java.lang.Boolean isIsStrict(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)