V - Object type associated with the current operation.public class Result<V> extends Object
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Get alias associated with the current operation.
|
String |
getError()
Get result error for the current operation.
|
TypeOperation |
getTypeOperation()
Get operation type associated with the current operation.
|
V |
getValue()
Get result value for the current operation.
|
boolean |
isSuccess()
Are this current operation successful ?
|
void |
setAlias(String alias)
Set alias associated with the current operation.
|
void |
setError(String error)
Set result error for the current operation.
|
void |
setSuccess(boolean success)
Set if current operation is successful or not.
|
void |
setTypeOperation(TypeOperation typeOperation)
Set operation type associated with the current operation.
|
void |
setValue(V value)
Set result value for the current operation.
|
public boolean isSuccess()
public void setSuccess(boolean success)
success - Success status for current operation.public String getAlias()
public void setAlias(String alias)
alias - Alias associated with the current operation.public TypeOperation getTypeOperation()
public void setTypeOperation(TypeOperation typeOperation)
typeOperation - Operation type associated with the current operation.public V getValue()
public void setValue(V value)
value - Result value for the current operation.public String getError()
public void setError(String error)
error - Result error for the current operation.Copyright © 2015 quasardb. All Rights Reserved.