Class IconImpl

    • Constructor Detail

      • IconImpl

        public IconImpl​(long id,
                        String mimeType,
                        byte[] content)
    • Method Detail

      • getId

        public long getId()
        Specified by:
        getId in interface Icon
      • setId

        public void setId​(long id)
      • getContent

        public byte[] getContent()
        Specified by:
        getContent in interface Icon
        Returns:
        the content of the icon
      • setContent

        public void setContent​(byte[] content)
      • getMimeType

        public String getMimeType()
        Specified by:
        getMimeType in interface Icon
        Returns:
        the mime type of the icon
      • setMimeType

        public void setMimeType​(String mimeType)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object