public interface Image extends Element
Physical definition of a graphical image.
The following features are supported:
UMLPackage.getImage()
Modifier and Type | Method and Description |
---|---|
Stereotype |
get_stereotypeOfIcon()
Returns the value of the 'stereotype Of Icon' container reference.
|
java.lang.String |
getContent()
Returns the value of the 'Content' attribute.
|
java.lang.String |
getFormat()
Returns the value of the 'Format' attribute.
|
java.lang.String |
getLocation()
Returns the value of the 'Location' attribute.
|
void |
set_stereotypeOfIcon(Stereotype value)
Sets the value of the '
stereotype Of Icon ' container reference. |
void |
setContent(java.lang.String value)
Sets the value of the '
Content ' attribute. |
void |
setFormat(java.lang.String value)
Sets the value of the '
Format ' attribute. |
void |
setLocation(java.lang.String value)
Sets the value of the '
Location ' attribute. |
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull java.lang.String getContent()
""
.
This contains the serialization of the image according to the format. The value could represent a bitmap, image such as a GIF file, or drawing 'instructions'
using a standard such as Scalable Vector Graphic (SVG) (which is XML based).
setContent(String)
,
UMLPackage.getImage_Content()
void setContent(@CheckForNull java.lang.String value)
Content
' attribute.
value
- the new value of the 'Content' attribute.getContent()
@CheckForNull java.lang.String getLocation()
""
.
This contains a location that can be used by a tool to locate the image as an alternative to embedding it in the stereotype.
setLocation(String)
,
UMLPackage.getImage_Location()
void setLocation(@CheckForNull java.lang.String value)
Location
' attribute.
value
- the new value of the 'Location' attribute.getLocation()
@CheckForNull java.lang.String getFormat()
""
.
This indicates the format of the content, which is how the string content should be interpreted. The following values are reserved: SVG, GIF, PNG, JPG, WMF, EMF,
BMP. In addition the prefix 'MIME: ' is also reserved. This option can be used as an alternative to express the reserved values above, for example "SVG" could
instead be expressed as "MIME: image/svg+xml".
setFormat(String)
,
UMLPackage.getImage_Format()
void setFormat(@CheckForNull java.lang.String value)
Format
' attribute.
value
- the new value of the 'Format' attribute.getFormat()
@CheckForNull Stereotype get_stereotypeOfIcon()
Icon
'.
If the meaning of the 'stereotype Of Icon' container reference isn't clear, there really should be more of a description here...
set_stereotypeOfIcon(Stereotype)
,
UMLPackage.getImage__stereotypeOfIcon()
,
Stereotype.getIcon()
void set_stereotypeOfIcon(@CheckForNull Stereotype value)
stereotype Of Icon
' container reference.
value
- the new value of the 'stereotype Of Icon' container reference.get_stereotypeOfIcon()