|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ecebs.rtd.enabler.types.Outcome
public class Outcome
Represents the outcome of an operation
Nested Class Summary | |
---|---|
static class |
Outcome.Code
Represents the reason for an operation finishing |
static class |
Outcome.State
Represents the state of an operation |
Constructor Summary | |
---|---|
Outcome(Outcome.State state,
Outcome.Code code)
|
|
Outcome(Outcome.State state,
Outcome.Code code,
String hint)
|
Method Summary | |
---|---|
Outcome.Code |
getCode()
Get the code representing the reason for the operation finishing |
String |
getHint()
In some instances, a hint will be returned, i.e. |
String |
getRequestId()
Get the request ID, if one was created while carrying out the transaction |
Outcome.State |
getState()
Get the state that the operation was in when it finished |
void |
setCode(Outcome.Code code)
|
void |
setHint(String hint)
|
void |
setRequestId(String requestId)
|
void |
setState(Outcome.State state)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Outcome(Outcome.State state, Outcome.Code code)
state
- code
- public Outcome(Outcome.State state, Outcome.Code code, String hint)
state
- code
- hint
- Method Detail |
---|
public Outcome.State getState()
public Outcome.Code getCode()
public String getHint()
public String getRequestId()
public void setState(Outcome.State state)
state
- public void setCode(Outcome.Code code)
code
- public void setHint(String hint)
hint
- public void setRequestId(String requestId)
requestId
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |