Package 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
-
-
Constructor Summary
Constructors Constructor Description KeyAndDescription()
KeyAndDescription(java.lang.Object key, java.lang.Object description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.Object
getDescription()
java.lang.Object
getKey()
int
hashCode()
boolean
isShowCode()
void
setDescription(java.lang.Object description)
void
setKey(java.lang.Object key)
void
setShowCode(boolean showCode)
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isShowCode
public boolean isShowCode()
-
setShowCode
public void setShowCode(boolean showCode)
-
-