Class ImageRepresentationFormat

  • All Implemented Interfaces:
    java.io.Serializable

    @JsonObject("ImageRepresentationFormat")
    public class ImageRepresentationFormat
    extends java.lang.Object
    implements java.io.Serializable
    An image representation format is made up of its dimensions, bit depth, and file format.
    Since:
    1.10
    See Also:
    Serialized Form
    • Constructor Detail

      • ImageRepresentationFormat

        public ImageRepresentationFormat​(java.lang.String dataSetCode,
                                         long id,
                                         boolean original,
                                         java.lang.Integer width,
                                         java.lang.Integer height,
                                         java.lang.Integer colorDepth,
                                         java.lang.String fileType,
                                         java.util.List<ImageRepresentationFormat.ImageRepresentationTransformation> transformations)
        Constructor.
        Parameters:
        dataSetCode -
        id -
        original -
        width -
        height -
        colorDepth -
        fileType -
        transformations -
    • Method Detail

      • getDataSetCode

        public java.lang.String getDataSetCode()
        Returns the data set code to which this image representation format belongs.
      • getId

        public long getId()
        Return the ID of this image representation format.
      • isOriginal

        public boolean isOriginal()
        Returns:
        True if the format is the original format of the underlying image.
      • getWidth

        public java.lang.Integer getWidth()
        Returns:
        The width of the image.
      • getHeight

        public java.lang.Integer getHeight()
        Returns:
        The height of the image.
      • getColorDepth

        public java.lang.Integer getColorDepth()
        Returns:
        The number of bits of color of the image.
      • getFileType

        public java.lang.String getFileType()
        Returns:
        The file type of the image.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object