Package com.nomagic.uml2
Class MagicDrawProfile.CustomImageHolderStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.CustomImageHolderStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.CustomImageHolderStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTENT
static java.lang.String
FORMAT
static java.lang.String
LOCATION
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
CustomImageHolderStereotype(MagicDrawProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearContent(Element element)
void
clearFormat(Element element)
void
clearLocation(Element element)
java.lang.String
getContent(Element element)
Property
getContentProperty()
java.lang.String
getFormat(Element element)
Property
getFormatProperty()
java.lang.String
getLocation(Element element)
Property
getLocationProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
setContent(Element element, java.lang.String value)
void
setFormat(Element element, java.lang.String value)
void
setLocation(Element element, java.lang.String value)
-
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
-
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
-
-
Constructor Detail
-
CustomImageHolderStereotype
protected CustomImageHolderStereotype(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
-
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()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-