Class LangType

java.lang.Object
overit.geocall.lang.LangType
All Implemented Interfaces:
Serializable

public class LangType extends Object implements Serializable
The class collects all the configuration parameters for the Lang, that must be defined with the attribute type, used as a StringGetter
See Also:
  • Field Details

    • TRANSLATION

      public static final String TRANSLATION
      Defines the parameter that must be used in the setup to set the translation type of the language
      See Also:
    • FULL_TRANSLATION

      public static final String FULL_TRANSLATION
      Defines the full translation type; when the language is defined as full, the omissions are marked
      See Also:
    • PARTIAL_TRANSLATION

      public static final String PARTIAL_TRANSLATION
      Defines the partial translation type; when the language is defined as partial, the omissions are not marked
      See Also:
    • _translationType

      protected String _translationType
    • SHORTCUT

      public static final String SHORTCUT
      Defines the parameter that must be used in the setup to set the shortcut type of the language
      See Also:
    • VISIBLE_SHORTCUT

      public static final String VISIBLE_SHORTCUT
      Defines that the shortcuts must be managed using the standard mechanism (if in the translated string there is the same character used as shortcut, then the shortcut letter remain the same, inside the string; otherwise the letterwill be shown between the brackets, outside the translated string) )
      See Also:
    • HIDDEN_SHORTCUT

      public static final String HIDDEN_SHORTCUT
      Defines that the shortcuts are not shown for the language
      See Also:
    • _shortcutType

      protected String _shortcutType
  • Constructor Details

  • Method Details

    • setTranslationType

      public void setTranslationType(String s)
      Sets the translation type for the language
      Parameters:
      s - The string that defines the tranlsation type, ie FULL_TRANSLATION or PARTIAL_TRANSLATION
    • getTranslationType

      public String getTranslationType()
      Returns the translation type of the language
      Returns:
      The string that defines the tranlsation type, ie FULL_TRANSLATION or PARTIAL_TRANSLATION
    • setShortcutType

      public void setShortcutType(String s)
      Sets the shortcut type for the language
      Parameters:
      s - The string that defines the shortcut type, ie VISIBLE_SHORTCUT or HIDDEN_SHORTCUT
    • getShortcutType

      public String getShortcutType()
      Returns the shortcut type of the language
      Returns:
      The string that defines the shortcut type, ie VISIBLE_SHORTCUT or HIDDEN_SHORTCUT