Interface Image
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
A representation of the model object 'Image'.
Physical definition of a graphical image.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='mdprofiles'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'stereotype Of Icon' container reference.Returns the value of the 'Content' attribute.Returns the value of the 'Format' attribute.Returns the value of the 'Location' attribute.void
set_stereotypeOfIcon
(Stereotype value) Sets the value of the 'stereotype Of Icon
' container reference.void
setContent
(String value) Sets the value of the 'Content
' attribute.void
Sets the value of the 'Format
' attribute.void
setLocation
(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, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
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.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
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
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
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:
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setContent
Sets the value of the 'Content
' attribute.- Parameters:
value
- the new value of the 'Content' attribute.- See Also:
- Generated:
-
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:
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setLocation
Sets the value of the 'Location
' attribute.- Parameters:
value
- the new value of the 'Location' attribute.- See Also:
- Generated:
-
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:
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setFormat
Sets the value of the 'Format
' attribute.- Parameters:
value
- the new value of the 'Format' attribute.- See Also:
- Generated:
-
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:
- Model:
- opposite="icon" transient="false" ordered="false"
- Generated:
-
set_stereotypeOfIcon
Sets the value of the 'stereotype Of Icon
' container reference.- Parameters:
value
- the new value of the 'stereotype Of Icon' container reference.- See Also:
- Generated:
-