public class Result
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected EvalBounds |
evaluation
Result evaluation bounds if used.
|
protected java.lang.String |
name
The solution result name
|
Constructor and Description |
---|
Result()
Create a new instance of Result.
|
Result(java.lang.String thisName)
Create a new instance of Result.
|
Modifier and Type | Method and Description |
---|---|
EvalBounds |
getEvaluation()
Get an evaluation that the process has produced.
|
java.lang.String |
getName()
Get the solution name.
|
boolean |
isClusterType()
Return true if this result is the cluster references type, false otherwise.
|
boolean |
isErrorType()
Return true if this result is the error type, false otherwise.
|
boolean |
isMatchType()
Return true if this result is the matching solutions type, false otherwise.
|
boolean |
isValueType()
Return true if this result is a base type storing an
EvalBounds value only, false otherwise. |
void |
setEvaluation(EvalBounds theEvaluation)
Set the evaluation value for the result.
|
void |
setName(java.lang.String thisName)
Set the solution name.
|
java.lang.String |
toString()
Get a string-based description of this grid solution.
|
protected java.lang.String name
protected EvalBounds evaluation
public Result()
public Result(java.lang.String thisName)
thisName
- the unique result ID.public boolean isValueType()
EvalBounds
value only, false otherwise.Result
, false otherwise.public boolean isMatchType()
MatchResult
, false otherwise.public boolean isClusterType()
ClusterResult
, false otherwise.public boolean isErrorType()
ErrorResult
, false otherwise.public void setName(java.lang.String thisName)
thisName
- the solution name.public java.lang.String getName()
public void setEvaluation(EvalBounds theEvaluation)
theEvaluation
- the evaluation value.public EvalBounds getEvaluation()
public java.lang.String toString()
toString
in class java.lang.Object