public class CategoricalResult extends SimpleResult
Strings.resultcomment, datatype, name| Constructor and Description |
|---|
CategoricalResult(DataType datatype,
String name,
String comment,
Comparable result)
Creates a result of a primitive categorical data type or a
String
. |
CategoricalResult(StringBuffer representation)
The standard constructor for the interface
Storable. |
CategoricalResult(String name,
String comment,
boolean result)
Creates a result of a
boolean. |
CategoricalResult(String name,
String comment,
String result)
Creates a result of a
String. |
| Modifier and Type | Method and Description |
|---|---|
String |
getXMLTag()
This method returns a tag used as outer tag of the XML description.
|
appendFurtherInfos, compareTo, equals, extractFurtherInfos, getValue, toStringcheckDatatype, createResult, getOriginalName, isCastableResult, isComparableResult, renamegetComment, getDatatype, getName, toXMLpublic CategoricalResult(StringBuffer representation) throws NonParsableException
Storable.
Creates a new CategoricalResult from its XML representation.representation - the XML representation as StringBufferNonParsableException - if the StringBuffer representation could
not be parsedpublic CategoricalResult(DataType datatype, String name, String comment, Comparable result) throws SimpleParameter.IllegalValueException
String
.datatype - the primitive data typename - the name of the resultcomment - a comment on the resultresult - the result itselfSimpleParameter.IllegalValueException - if the result value is not of the expected data typepublic CategoricalResult(String name, String comment, String result)
String.name - the name of the resultcomment - a comment on the resultresult - the result itselfpublic String getXMLTag()
AnnotatedEntitygetXMLTag in class AnnotatedEntity