Package com.nomagic.uml2
Class MagicDrawProfile.ProfileUpgradeMappingRuleStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.ProfileUpgradeMappingRuleStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.ProfileUpgradeMappingRuleStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProfileUpgradeMappingRuleStereotype(MagicDrawProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, getElement, getTagByName, isDerivedStereotype, isSameOrDerivedStereotype, toBoolean, toDouble, toInteger, toString, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- 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
-
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
-
SEARCHFORDERIVEDIFDOESNOTEXIST
public static final java.lang.String SEARCHFORDERIVEDIFDOESNOTEXIST
- See Also:
- Constant Field Values
-
SOURCESTEREOTYPEID
public static final java.lang.String SOURCESTEREOTYPEID
- See Also:
- Constant Field Values
-
SOURCESTEREOTYPEICONCONTENT
public static final java.lang.String SOURCESTEREOTYPEICONCONTENT
- See Also:
- Constant Field Values
-
SOURCESTEREOTYPEICONFORMAT
public static final java.lang.String SOURCESTEREOTYPEICONFORMAT
- See Also:
- Constant Field Values
-
SOURCESTEREOTYPEMETACLASS
public static final java.lang.String SOURCESTEREOTYPEMETACLASS
- See Also:
- Constant Field Values
-
SOURCESTEREOTYPENAME
public static final java.lang.String SOURCESTEREOTYPENAME
- See Also:
- Constant Field Values
-
SOURCETAGID
public static final java.lang.String SOURCETAGID
- See Also:
- Constant Field Values
-
SOURCETAGNAME
public static final java.lang.String SOURCETAGNAME
- See Also:
- Constant Field Values
-
TARGETSTEREOTYPEID
public static final java.lang.String TARGETSTEREOTYPEID
- See Also:
- Constant Field Values
-
TARGETSTEREOTYPEICONCONTENT
public static final java.lang.String TARGETSTEREOTYPEICONCONTENT
- See Also:
- Constant Field Values
-
TARGETSTEREOTYPEICONFORMAT
public static final java.lang.String TARGETSTEREOTYPEICONFORMAT
- See Also:
- Constant Field Values
-
TARGETSTEREOTYPENAME
public static final java.lang.String TARGETSTEREOTYPENAME
- See Also:
- Constant Field Values
-
TARGETTAGID
public static final java.lang.String TARGETTAGID
- See Also:
- Constant Field Values
-
TARGETTAGNAME
public static final java.lang.String TARGETTAGNAME
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
addToDoIfTagDoesNotExist
@CheckForNull private Property addToDoIfTagDoesNotExist
-
caseSensitiveEnumerationLiteral
@CheckForNull private Property caseSensitiveEnumerationLiteral
-
disableNewTypeCreation
@CheckForNull private Property disableNewTypeCreation
-
disableReplaceWhereSavedAsElementValue
@CheckForNull private Property disableReplaceWhereSavedAsElementValue
-
explicitNewMetaclass
@CheckForNull private Property explicitNewMetaclass
-
searchForDerivedIfDoesNotExist
@CheckForNull private Property searchForDerivedIfDoesNotExist
-
sourceStereotypeID
@CheckForNull private Property sourceStereotypeID
-
sourceStereotypeIconContent
@CheckForNull private Property sourceStereotypeIconContent
-
sourceStereotypeIconFormat
@CheckForNull private Property sourceStereotypeIconFormat
-
sourceStereotypeMetaclass
@CheckForNull private Property sourceStereotypeMetaclass
-
sourceStereotypeName
@CheckForNull private Property sourceStereotypeName
-
sourceTagID
@CheckForNull private Property sourceTagID
-
sourceTagName
@CheckForNull private Property sourceTagName
-
targetStereotypeID
@CheckForNull private Property targetStereotypeID
-
targetStereotypeIconContent
@CheckForNull private Property targetStereotypeIconContent
-
targetStereotypeIconFormat
@CheckForNull private Property targetStereotypeIconFormat
-
targetStereotypeName
@CheckForNull private Property targetStereotypeName
-
targetTagID
@CheckForNull private Property targetTagID
-
targetTagName
@CheckForNull private Property targetTagName
-
-
Constructor Detail
-
ProfileUpgradeMappingRuleStereotype
protected ProfileUpgradeMappingRuleStereotype(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
-
getAddToDoIfTagDoesNotExistProperty
@CheckForNull public Property getAddToDoIfTagDoesNotExistProperty()
-
getCaseSensitiveEnumerationLiteralProperty
@CheckForNull public Property getCaseSensitiveEnumerationLiteralProperty()
-
getDisableNewTypeCreationProperty
@CheckForNull public Property getDisableNewTypeCreationProperty()
-
getDisableReplaceWhereSavedAsElementValueProperty
@CheckForNull public Property getDisableReplaceWhereSavedAsElementValueProperty()
-
getExplicitNewMetaclassProperty
@CheckForNull public Property getExplicitNewMetaclassProperty()
-
getSearchForDerivedIfDoesNotExistProperty
@CheckForNull public Property getSearchForDerivedIfDoesNotExistProperty()
-
getSourceStereotypeIDProperty
@CheckForNull public Property getSourceStereotypeIDProperty()
-
getSourceStereotypeIconContentProperty
@CheckForNull public Property getSourceStereotypeIconContentProperty()
-
getSourceStereotypeIconFormatProperty
@CheckForNull public Property getSourceStereotypeIconFormatProperty()
-
getSourceStereotypeMetaclassProperty
@CheckForNull public Property getSourceStereotypeMetaclassProperty()
-
getSourceStereotypeNameProperty
@CheckForNull public Property getSourceStereotypeNameProperty()
-
getSourceTagIDProperty
@CheckForNull public Property getSourceTagIDProperty()
-
getSourceTagNameProperty
@CheckForNull public Property getSourceTagNameProperty()
-
getTargetStereotypeIDProperty
@CheckForNull public Property getTargetStereotypeIDProperty()
-
getTargetStereotypeIconContentProperty
@CheckForNull public Property getTargetStereotypeIconContentProperty()
-
getTargetStereotypeIconFormatProperty
@CheckForNull public Property getTargetStereotypeIconFormatProperty()
-
getTargetStereotypeNameProperty
@CheckForNull public Property getTargetStereotypeNameProperty()
-
getTargetTagIDProperty
@CheckForNull public Property getTargetTagIDProperty()
-
getTargetTagNameProperty
@CheckForNull public Property getTargetTagNameProperty()
-
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)
-
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)
-
setSearchForDerivedIfDoesNotExist
public void setSearchForDerivedIfDoesNotExist(Element element, @CheckForNull java.lang.Boolean value)
-
clearSearchForDerivedIfDoesNotExist
public void clearSearchForDerivedIfDoesNotExist(Element element)
-
isSearchForDerivedIfDoesNotExist
@CheckForNull public java.lang.Boolean isSearchForDerivedIfDoesNotExist(Element element)
-
setSourceStereotypeID
public void setSourceStereotypeID(Element element, @CheckForNull java.lang.String value)
-
clearSourceStereotypeID
public void clearSourceStereotypeID(Element element)
-
getSourceStereotypeID
@CheckForNull public java.lang.String getSourceStereotypeID(Element element)
-
setSourceStereotypeIconContent
public void setSourceStereotypeIconContent(Element element, @CheckForNull java.lang.String value)
-
clearSourceStereotypeIconContent
public void clearSourceStereotypeIconContent(Element element)
-
getSourceStereotypeIconContent
@CheckForNull public java.lang.String getSourceStereotypeIconContent(Element element)
-
setSourceStereotypeIconFormat
public void setSourceStereotypeIconFormat(Element element, @CheckForNull java.lang.String value)
-
clearSourceStereotypeIconFormat
public void clearSourceStereotypeIconFormat(Element element)
-
getSourceStereotypeIconFormat
@CheckForNull public java.lang.String getSourceStereotypeIconFormat(Element element)
-
setSourceStereotypeMetaclass
public void setSourceStereotypeMetaclass(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearSourceStereotypeMetaclass
public void clearSourceStereotypeMetaclass(Element element)
-
addSourceStereotypeMetaclass
public void addSourceStereotypeMetaclass(Element element, Element value)
-
removeSourceStereotypeMetaclass
public void removeSourceStereotypeMetaclass(Element element, Element value)
-
getSourceStereotypeMetaclass
public java.util.List<Element> getSourceStereotypeMetaclass(Element element)
-
setSourceStereotypeName
public void setSourceStereotypeName(Element element, @CheckForNull java.lang.String value)
-
clearSourceStereotypeName
public void clearSourceStereotypeName(Element element)
-
getSourceStereotypeName
@CheckForNull public java.lang.String getSourceStereotypeName(Element element)
-
setSourceTagID
public void setSourceTagID(Element element, @CheckForNull java.lang.String value)
-
clearSourceTagID
public void clearSourceTagID(Element element)
-
getSourceTagID
@CheckForNull public java.lang.String getSourceTagID(Element element)
-
setSourceTagName
public void setSourceTagName(Element element, @CheckForNull java.lang.String value)
-
clearSourceTagName
public void clearSourceTagName(Element element)
-
getSourceTagName
@CheckForNull public java.lang.String getSourceTagName(Element element)
-
setTargetStereotypeID
public void setTargetStereotypeID(Element element, @CheckForNull java.lang.String value)
-
clearTargetStereotypeID
public void clearTargetStereotypeID(Element element)
-
getTargetStereotypeID
@CheckForNull public java.lang.String getTargetStereotypeID(Element element)
-
setTargetStereotypeIconContent
public void setTargetStereotypeIconContent(Element element, @CheckForNull java.lang.String value)
-
clearTargetStereotypeIconContent
public void clearTargetStereotypeIconContent(Element element)
-
getTargetStereotypeIconContent
@CheckForNull public java.lang.String getTargetStereotypeIconContent(Element element)
-
setTargetStereotypeIconFormat
public void setTargetStereotypeIconFormat(Element element, @CheckForNull java.lang.String value)
-
clearTargetStereotypeIconFormat
public void clearTargetStereotypeIconFormat(Element element)
-
getTargetStereotypeIconFormat
@CheckForNull public java.lang.String getTargetStereotypeIconFormat(Element element)
-
setTargetStereotypeName
public void setTargetStereotypeName(Element element, @CheckForNull java.lang.String value)
-
clearTargetStereotypeName
public void clearTargetStereotypeName(Element element)
-
getTargetStereotypeName
@CheckForNull public java.lang.String getTargetStereotypeName(Element element)
-
setTargetTagID
public void setTargetTagID(Element element, @CheckForNull java.lang.String value)
-
clearTargetTagID
public void clearTargetTagID(Element element)
-
getTargetTagID
@CheckForNull public java.lang.String getTargetTagID(Element element)
-
setTargetTagName
public void setTargetTagName(Element element, @CheckForNull java.lang.String value)
-
clearTargetTagName
public void clearTargetTagName(Element element)
-
getTargetTagName
@CheckForNull public java.lang.String getTargetTagName(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)
-
-