Class IconImpl

java.lang.Object
org.bonitasoft.engine.identity.impl.IconImpl
All Implemented Interfaces:
Serializable, BonitaObject, Icon

public class IconImpl extends Object implements Icon
Author:
Baptiste Mesta
See Also:
  • Constructor Details

    • IconImpl

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

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object