Package com.nomagic.uml2
Class MagicDrawProfile.CustomImageHolderStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.CustomImageHolderStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.CustomImageHolderStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCustomImageHolderStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearContent(Element element)voidclearFormat(Element element)voidclearLocation(Element element)java.lang.StringgetContent(Element element)PropertygetContentProperty()java.lang.StringgetFormat(Element element)PropertygetFormatProperty()java.lang.StringgetLocation(Element element)PropertygetLocationProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)Checks if stereotype of this wrapper is applied to given element.static booleanisInstance(Element element)voidsetContent(Element element, java.lang.String value)voidsetFormat(Element element, java.lang.String value)voidsetLocation(Element element, java.lang.String value)-
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
-
CONTENT
public static final java.lang.String CONTENT
- See Also:
- Constant Field Values
-
FORMAT
public static final java.lang.String FORMAT
- See Also:
- Constant Field Values
-
LOCATION
public static final java.lang.String LOCATION
- See Also:
- Constant Field Values
-
_p
private final MagicDrawProfile _p
-
content
@CheckForNull private Property content
-
format
@CheckForNull private Property format
-
location
@CheckForNull private Property location
-
-
Constructor Detail
-
CustomImageHolderStereotype
protected CustomImageHolderStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getContentProperty
@CheckForNull public Property getContentProperty()
-
getFormatProperty
@CheckForNull public Property getFormatProperty()
-
getLocationProperty
@CheckForNull public Property getLocationProperty()
-
setContent
public void setContent(Element element, @CheckForNull java.lang.String value)
-
clearContent
public void clearContent(Element element)
-
getContent
@CheckForNull public java.lang.String getContent(Element element)
-
setFormat
public void setFormat(Element element, @CheckForNull java.lang.String value)
-
clearFormat
public void clearFormat(Element element)
-
getFormat
@CheckForNull public java.lang.String getFormat(Element element)
-
setLocation
public void setLocation(Element element, @CheckForNull java.lang.String value)
-
clearLocation
public void clearLocation(Element element)
-
getLocation
@CheckForNull public java.lang.String getLocation(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)Description copied from class:ProfileImplementation.StereotypeWrapperChecks 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)
-
-