public class ReturnCode extends Object implements IdentifiableIF, DescribableIF, Serializable
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
- ParseException
public ReturnCode(int id, String description)
id
- description
- public int getId()
IdentifiableIF
getId
in interface IdentifiableIF
public void setId(int id)
IdentifiableIF
setId
in interface IdentifiableIF
id
- the id to setpublic String getDescription()
DescribableIF
getDescription
in interface DescribableIF
public void setDescription(String description)
DescribableIF
setDescription
in interface DescribableIF
description
- the description to setCopyright © 2022. All rights reserved.