|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.handlers.dbhandler.OperationInfo
public class OperationInfo
Encapsulates data about the result of a database operation.
Field Summary | |
---|---|
private boolean |
isValid
|
private java.lang.Object |
result
|
Constructor Summary | |
---|---|
OperationInfo()
Creates a new invalid OperationInfo instance. |
|
OperationInfo(boolean isValid,
java.lang.Object result)
Creates a new OperationInfo instance. |
|
OperationInfo(OperationInfo toCopy)
A copy constructor. |
Method Summary | |
---|---|
boolean |
isValid()
Determines whether the result is valid or not. |
java.lang.Object |
result()
The result of the operation that has been performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean isValid
private java.lang.Object result
Constructor Detail |
---|
public OperationInfo()
public OperationInfo(boolean isValid, java.lang.Object result)
isValid
- The validity of the operation.result
- The result from the operation.public OperationInfo(OperationInfo toCopy)
toCopy
- The OperationInfo instance to be copied.Method Detail |
---|
public boolean isValid()
public java.lang.Object result()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |