public class ReturnCode extends Object implements ReturnCodeIF
| Constructor and Description |
|---|
ReturnCode()
Constructor
|
ReturnCode(int id,
String description) |
ReturnCode(ReturnCodeObject rco) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
The description of the object
|
int |
getId()
the id of the object
|
void |
setDescription(String description)
Sets the objects internal description
|
void |
setId(int id)
Sets the id for the object at run time
|
String |
toString() |
public ReturnCode()
public ReturnCode(ReturnCodeObject rco) throws ParseException
rco - ParseExceptionpublic ReturnCode(int id,
String description)
id - description - public int getId()
IdentifiableIFgetId in interface IdentifiableIFpublic void setId(int id)
IdentifiableIFsetId in interface IdentifiableIFid - the id to setpublic String getDescription()
DescribableIFgetDescription in interface DescribableIFpublic void setDescription(String description)
DescribableIFsetDescription in interface DescribableIFdescription - the description to setCopyright © 2023. All rights reserved.