org.openxava.util
Class KeyAndDescription
java.lang.Object
org.openxava.util.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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
KeyAndDescription
public KeyAndDescription()
KeyAndDescription
public KeyAndDescription(java.lang.Object key,
java.lang.Object description)
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)