Class RoomImage


  • @Entity
    public class RoomImage
    extends Object
    Represents an image of a room
    • Constructor Detail

      • RoomImage

        public RoomImage()
    • Method Detail

      • onCreate

        protected void onCreate()
        sets parameters for newly created images
      • equals

        public boolean equals​(Object o)
        Gets whether two instances represents the same image
        Overrides:
        equals in class Object
        Parameters:
        o - comparing image
        Returns:
        whether two instances represents the same image
      • hashCode

        public int hashCode()
        Gets the hash code for given instance
        Overrides:
        hashCode in class Object
        Returns:
        hash code for given instance