Class Institution


  • @Entity
    public class Institution
    extends Object
    Class represents a cultural institution
    • Constructor Detail

      • Institution

        public Institution()
    • Method Detail

      • onCreate

        protected void onCreate()
        sets parameters for newly registered institutions
      • equals

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

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