Class KeyAndDescription

  • All Implemented Interfaces:
    java.io.Serializable

    public class KeyAndDescription
    extends java.lang.Object
    implements java.io.Serializable
    A class with a key and a description.

    Author:
    Javier Paniza
    See Also:
    Serialized Form
    • Constructor Detail

      • KeyAndDescription

        public KeyAndDescription()
      • KeyAndDescription

        public KeyAndDescription​(java.lang.Object key,
                                 java.lang.Object description)
    • Method Detail

      • getKey

        public java.lang.Object getKey()
      • getDescription

        public java.lang.Object getDescription()
      • setKey

        public void setKey​(java.lang.Object key)
      • setDescription

        public void setDescription​(java.lang.Object description)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isShowCode

        public boolean isShowCode()
      • setShowCode

        public void setShowCode​(boolean showCode)