Class Translation


  • @Entity
    public class Translation
    extends Object
    Class that represents translation attached to exhibit and langugae
    • Constructor Detail

      • Translation

        public Translation()
    • Method Detail

      • onCreate

        protected void onCreate()
        sets default params for new translations
      • equals

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

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