|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.SAWS.RecordStatus
public class RecordStatus
This is the class to represent the status of a record when it's sent to SAWS Server.
Constructor Summary | |
---|---|
RecordStatus()
Default constructor of the class. |
|
RecordStatus(int status,
int description)
Contructor of the class. |
Method Summary | |
---|---|
int |
getDescription()
Method to get the description of the status of the record. |
int |
getStatus()
Method that returns the status of the record. |
void |
setDescription(int description)
Method that defines the description of the status. |
void |
setStatus(int status)
Methods that defines the value for the status of the record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordStatus()
public RecordStatus(int status, int description)
status
- the status of the record.description
- the description of the record status.Method Detail |
---|
public int getStatus()
public void setStatus(int status)
status
- The value for the status: 0 if the success or -1 for fail.public int getDescription()
public void setDescription(int description)
description
- The sequence number of the record if it has been added to the log file;
or an error code, otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |