Class Image


  • public class Image
    extends java.lang.Object
    Class representing a image in channel.
    • Constructor Summary

      Constructors 
      Constructor Description
      Image()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.Optional<java.lang.String> getDescription()
      Get the description.
      java.util.Optional<java.lang.Integer> getHeight()
      Get the height of the image.
      java.lang.String getLink()
      Get the URL of the site.
      java.lang.String getTitle()
      Get title that describes the image.
      java.lang.String getUrl()
      Get the URL of a GIF, JPEG or PNG image that represents the channel.
      java.util.Optional<java.lang.Integer> getWidth()
      Get the width of the image.
      int hashCode()  
      void setDescription​(java.lang.String description)
      Set the description.
      void setHeight​(java.lang.Integer height)
      Set the height of the image.
      void setLink​(java.lang.String link)
      Set the URL of the site.
      void setTitle​(java.lang.String title)
      Set title that describes the image.
      void setUrl​(java.lang.String url)
      Set the URL of a GIF, JPEG or PNG image that represents the channel.
      void setWidth​(java.lang.Integer width)
      Set the width of the image.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Image

        public Image()
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Get title that describes the image.
        Returns:
        title
      • setTitle

        public void setTitle​(java.lang.String title)
        Set title that describes the image.
        Parameters:
        title - title
      • getLink

        public java.lang.String getLink()
        Get the URL of the site.
        Returns:
        link
      • setLink

        public void setLink​(java.lang.String link)
        Set the URL of the site.
        Parameters:
        link - link
      • getUrl

        public java.lang.String getUrl()
        Get the URL of a GIF, JPEG or PNG image that represents the channel.
        Returns:
        url to image
      • setUrl

        public void setUrl​(java.lang.String url)
        Set the URL of a GIF, JPEG or PNG image that represents the channel.
        Parameters:
        url - url to image
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Get the description.
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description.
        Parameters:
        description - description
      • getHeight

        public java.util.Optional<java.lang.Integer> getHeight()
        Get the height of the image.
        Returns:
        image height
      • setHeight

        public void setHeight​(java.lang.Integer height)
        Set the height of the image.
        Parameters:
        height - image height
      • getWidth

        public java.util.Optional<java.lang.Integer> getWidth()
        Get the width of the image.
        Returns:
        image width
      • setWidth

        public void setWidth​(java.lang.Integer width)
        Set the width of the image.
        Parameters:
        width - image width
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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