All Implemented Interfaces:
GomCheckable, GomElement, GomLangInfo, Serializable

@NonExtendable public class GomButtonLangInfo extends DefaultGomLangInfo
Extended language information for GOM permission buttons.
Since:
3.1
See Also:
  • Constructor Details

    • GomButtonLangInfo

      public GomButtonLangInfo(String lang, String name, String script)
      Creates a new instance with the specified values
      Parameters:
      lang - the language
      name - the name of the button
      script - the script setting
      Since:
      3.1
  • Method Details

    • getScript

      public String getScript()
      Language dependent script setting
      Since:
      3.1
    • setScript

      public void setScript(String script)
      Sets the language dependent script setting
      Since:
      3.1
    • cloneAndComplete

      public GomButtonLangInfo cloneAndComplete(GomLangInfo source)
      Description copied from class: DefaultGomLangInfo
      Clones this language information container and completes missing information by the given source.
      Specified by:
      cloneAndComplete in interface GomLangInfo
      Overrides:
      cloneAndComplete in class DefaultGomLangInfo
      Parameters:
      source - A source language information container.
      Returns:
      The cloned container.
    • createHashCode

      protected de.espirit.firstspirit.access.store.templatestore.gom.GomButtonLangInfo.GomButtonLangHashCode createHashCode()
      Description copied from class: DefaultGomLangInfo
      Create this object's hash code.
      Overrides:
      createHashCode in class DefaultGomLangInfo
      Returns:
      The hash code.
    • hashCode

      public int hashCode()
      Description copied from class: DefaultGomLangInfo
      Hash code implementation.
      Overrides:
      hashCode in class DefaultGomLangInfo
      Returns:
      The hash code.
    • equals

      public boolean equals(Object obj, boolean ignoreLanguage)
      Description copied from class: DefaultGomLangInfo
      Equality check implementation.
      Specified by:
      equals in interface GomLangInfo
      Overrides:
      equals in class DefaultGomLangInfo
      Parameters:
      obj - The object to compare to.
      ignoreLanguage - true, to ignore the language.
      Returns:
      true, if considered equal.
    • isEmpty

      public boolean isEmpty()
      Description copied from class: DefaultGomLangInfo
      Indicates, whether no language information have been defined.
      Specified by:
      isEmpty in interface GomLangInfo
      Overrides:
      isEmpty in class DefaultGomLangInfo
      Returns:
      true, if no language information have been defined.