|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--openfuture.bugbase.model.TransactionResult
result container of a transaction.
Created: Tue May 02 22:31:40 2000, Serialized Form| Field Summary | |
static int |
FAILURE
|
static int |
SUCCESS
|
| Constructor Summary | |
TransactionResult()
Empty Constructor, equivalent to new
TransactionResult(SUCCESS, new LinkedList(), new LinkedList()). |
|
TransactionResult(int status,
java.util.LinkedList output,
java.util.LinkedList warnings)
Complete Constructor. |
|
TransactionResult(java.util.LinkedList output)
Constructor, equivalent to new
TransactionResult(SUCCESS, output, new LinkedList()). |
|
TransactionResult(java.util.LinkedList output,
java.util.LinkedList warnings)
Constructor, equivalent to new
TransactionResult(SUCCESS, output, warnings). |
|
| Method Summary | |
void |
addOutput(java.lang.String text)
Add an output line of the transaction |
void |
addWarning(java.lang.String text)
Add an warning line of the transaction |
java.util.LinkedList |
getOutput()
Get the value of output. |
int |
getStatus()
Get the value of status. |
java.util.LinkedList |
getWarnings()
Get the value of warnings. |
void |
setOutput(java.util.LinkedList v)
Set the value of output. |
void |
setStatus(int v)
Set the value of status. |
void |
setWarnings(java.util.LinkedList v)
Set the value of warnings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SUCCESS
public static final int FAILURE
| Constructor Detail |
public TransactionResult(int status,
java.util.LinkedList output,
java.util.LinkedList warnings)
status - status of the transactionoutput - output text of the transactionwarnings - warning text of the transactionpublic TransactionResult()
new
TransactionResult(SUCCESS, new LinkedList(), new LinkedList()).public TransactionResult(java.util.LinkedList output)
new
TransactionResult(SUCCESS, output, new LinkedList()).output - output text of the transaction
public TransactionResult(java.util.LinkedList output,
java.util.LinkedList warnings)
new
TransactionResult(SUCCESS, output, warnings).output - output text of the transactionwarnings - warning text of the transaction| Method Detail |
public int getStatus()
public void setStatus(int v)
v - Value to assign to status.public java.util.LinkedList getOutput()
public void setOutput(java.util.LinkedList v)
v - Value to assign to output.public void addOutput(java.lang.String text)
text - output line of the transactionpublic java.util.LinkedList getWarnings()
public void setWarnings(java.util.LinkedList v)
v - Value to assign to warnings.public void addWarning(java.lang.String text)
text - warning line of the transaction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||