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 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: