public class Outcome
extends java.lang.Object
| Constructor and Description |
|---|
Outcome()
Construct an empty outcome object.
|
Outcome(java.lang.String value)
Construct an outcome object using the specified value.
|
Outcome(java.lang.String sourcedId,
java.lang.String value)
Deprecated.
use
instead.
Construct an outcome object using the specified sourcedId and value.
The language defaults to |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDataSource()
Returns the data source.
|
java.lang.String |
getDate()
Returns the date.
|
java.lang.String |
getLanguage()
Returns the language.
|
java.lang.String |
getSourcedId()
Deprecated.
Use property from User object instead
Returns the result sourcedId value.
|
java.lang.String |
getStatus()
Returns the status.
|
java.lang.String |
getType()
Returns the type.
|
java.lang.String |
getValue()
Get the outcome value.
|
void |
setType(java.lang.String type)
Set the type.
|
void |
setValue(java.lang.String value)
Set the outcome value.
|
java.lang.String |
toString()
Returns a string representation of this outcome.
|
public Outcome()
The language defaults to en-US, and a type of decimal
and the current date/time are used.
public Outcome(java.lang.String value)
The language defaults to en-US, and a type of decimal
and the current date/time are used.
value - outcome value, may be null@Deprecated
public Outcome(java.lang.String sourcedId,
java.lang.String value)
Outcome(String) instead.
Construct an outcome object using the specified sourcedId and value.
The language defaults to en-US, and a type of decimal
and the current date/time are used.
sourcedId - sourcedId value for the user/contextvalue - outcome value, may be nullpublic java.lang.String getType()
public void setType(java.lang.String type)
The type should be one of the pre-defined constants.
@Deprecated public java.lang.String getSourcedId()
public java.lang.String getValue()
public void setValue(java.lang.String value)
value - Outcome valuepublic java.lang.String getLanguage()
public java.lang.String getStatus()
public java.lang.String getDate()
public java.lang.String getDataSource()
public java.lang.String toString()
The string representation consists of the outcome's type and value.
toString in class java.lang.Object