Class OptionName

java.lang.Object
de.mid.innovator.m2msdk.model.option.OptionName
All Implemented Interfaces:
Serializable, Comparable<OptionName>

public class OptionName extends Object implements Comparable<OptionName>, Serializable
Name of an option.
Version:
10.1.1
Author:
jmback
See Also:
  • Constructor Details

    • OptionName

      public OptionName(SessionInterface iSession, String iKey, String sText)
      Construct a name for the option.
      Parameters:
      iKey - name of key
      sText - description
  • Method Details

    • setNLS

      public void setNLS(org.jdom2.Element iElement)
    • addName

      public boolean addName(String sText)
    • getNames

      public Set<Map.Entry<String,String>> getNames()
      Get description for all languages.
      Returns:
      set of pair of language code and language specific name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTooltip

      public String getTooltip()
    • getValues

      public List<String> getValues()
      Get valid values.
      Returns:
      valid values of the key
    • getKey

      public String getKey()
    • compareTo

      public int compareTo(OptionName o)
      Specified by:
      compareTo in interface Comparable<OptionName>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isInternal

      public boolean isInternal()