Class Room


  • @Entity
    public class Room
    extends Object
    Represents a room inside a cultural institution
    • Constructor Detail

      • Room

        public Room()
    • Method Detail

      • onCreate

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

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

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