public class InfoKey
extends java.lang.Object
RequestListenerInterface
Constructor and Description |
---|
InfoKey()
Constructs an empty information object
|
InfoKey(int code,
java.lang.String description)
Constructs a information object
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
get the code associated to this information object
|
java.lang.String |
getDescription()
get the description associated to this information object
|
void |
setCode(int code)
set the code for this information object
|
void |
setDescription(java.lang.String description)
set the description for this information object
|
public InfoKey(int code, java.lang.String description)
code
- code the use for this infodescription
- description to use for this InfoKeypublic InfoKey()
public int getCode()
public void setCode(int code)
code
- the new code for this InfoKeypublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description for this InfoKey