Interface Image
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface Image extends Element
A representation of the model object 'Image'.Physical definition of a graphical image.
The following features are supported:
- See Also:
UMLPackage.getImage()
- Model:
- annotation="MOF package='mdprofiles'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getContent
@CheckForNull java.lang.String getContent()
Returns the value of the 'Content' attribute. The default value is""
. 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).- Returns:
- the value of the 'Content' attribute.
- See Also:
setContent(String)
,UMLPackage.getImage_Content()
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setContent
void setContent(@CheckForNull java.lang.String value)
Sets the value of the 'Content
' attribute.- Parameters:
value
- the new value of the 'Content' attribute.- See Also:
getContent()
- Generated:
-
getLocation
@CheckForNull java.lang.String getLocation()
Returns the value of the 'Location' attribute. The default value is""
. This contains a location that can be used by a tool to locate the image as an alternative to embedding it in the stereotype.- Returns:
- the value of the 'Location' attribute.
- See Also:
setLocation(String)
,UMLPackage.getImage_Location()
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setLocation
void setLocation(@CheckForNull java.lang.String value)
Sets the value of the 'Location
' attribute.- Parameters:
value
- the new value of the 'Location' attribute.- See Also:
getLocation()
- Generated:
-
getFormat
@CheckForNull java.lang.String getFormat()
Returns the value of the 'Format' attribute. The default value is""
. 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".- Returns:
- the value of the 'Format' attribute.
- See Also:
setFormat(String)
,UMLPackage.getImage_Format()
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setFormat
void setFormat(@CheckForNull java.lang.String value)
Sets the value of the 'Format
' attribute.- Parameters:
value
- the new value of the 'Format' attribute.- See Also:
getFormat()
- Generated:
-
get_stereotypeOfIcon
@CheckForNull Stereotype get_stereotypeOfIcon()
Returns the value of the 'stereotype Of Icon' container reference. It is bidirectional and its opposite is 'Icon
'.If the meaning of the 'stereotype Of Icon' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'stereotype Of Icon' container reference.
- See Also:
set_stereotypeOfIcon(Stereotype)
,UMLPackage.getImage__stereotypeOfIcon()
,Stereotype.getIcon()
- Model:
- opposite="icon" transient="false" ordered="false"
- Generated:
-
set_stereotypeOfIcon
void set_stereotypeOfIcon(@CheckForNull Stereotype value)
Sets the value of the 'stereotype Of Icon
' container reference.- Parameters:
value
- the new value of the 'stereotype Of Icon' container reference.- See Also:
get_stereotypeOfIcon()
- Generated:
-
-