Class KeyAndDescription

java.lang.Object
org.openxava.util.KeyAndDescription
All Implemented Interfaces:
Serializable

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

Author:
Javier Paniza
See Also:
  • Constructor Details

    • KeyAndDescription

      public KeyAndDescription()
    • KeyAndDescription

      public KeyAndDescription(Object key, Object description)
  • Method Details

    • getKey

      public Object getKey()
    • getDescription

      public Object getDescription()
    • setKey

      public void setKey(Object key)
    • setDescription

      public void setDescription(Object description)
    • equals

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

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

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

      public boolean isShowCode()
    • setShowCode

      public void setShowCode(boolean showCode)