|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataType | |
|---|---|
| de.jstacs | This package is the root package for the most and important packages. |
| de.jstacs.parameters | This package provides classes for parameters that establish a general convention for the description of parameters
as defined in the Parameter-interface. |
| de.jstacs.results | This package provides classes for results and sets of results. |
| Uses of DataType in de.jstacs |
|---|
| Fields in de.jstacs declared as DataType | |
|---|---|
protected DataType |
AnnotatedEntity.datatype
The data type of the entity. |
| Methods in de.jstacs that return DataType | |
|---|---|
DataType |
AnnotatedEntity.getDatatype()
Returns the data type of the AnnotatedEntity. |
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in de.jstacs with parameters of type DataType | |
|---|---|
static boolean |
DataType.canBeCastedFromTo(DataType from,
DataType to)
Checks if the DataType from can be casted to the
DataType to without losing information. |
| Constructors in de.jstacs with parameters of type DataType | |
|---|---|
AnnotatedEntity(String name,
String comment,
DataType datatype)
The main constructor which takes the main information of a AnnotatedEntity. |
|
| Uses of DataType in de.jstacs.parameters |
|---|
| Constructors in de.jstacs.parameters with parameters of type DataType | |
|---|---|
AbstractSelectionParameter(DataType datatype,
String[] keys,
Object[] values,
String[] comments,
String name,
String comment,
boolean required)
Constructor for a AbstractSelectionParameter. |
|
AbstractSelectionParameter(DataType datatype,
String[] keys,
Object[] values,
String name,
String comment,
boolean required)
Constructor for a AbstractSelectionParameter of SimpleParameters. |
|
MultiSelectionParameter(DataType datatype,
String[] keys,
Object[] values,
String[] comments,
String name,
String comment,
boolean required)
Constructor for a MultiSelectionParameter. |
|
MultiSelectionParameter(DataType datatype,
String[] keys,
Object[] values,
String name,
String comment,
boolean required)
Constructor for a MultiSelectionParameter. |
|
Parameter(String name,
String comment,
DataType type)
The main constructor which takes the main information of a Parameter. |
|
SelectionParameter(DataType datatype,
String[] keys,
Object[] values,
String[] comments,
String name,
String comment,
boolean required)
Constructor for a SelectionParameter. |
|
SelectionParameter(DataType datatype,
String[] keys,
Object[] values,
String name,
String comment,
boolean required)
Constructor for a SelectionParameter. |
|
SimpleParameter(DataType datatype,
String name,
String comment,
boolean required)
Constructor for a SimpleParameter without
ParameterValidator. |
|
SimpleParameter(DataType datatype,
String name,
String comment,
boolean required,
Object defaultVal)
Constructor for a SimpleParameter without
ParameterValidator but with a default value. |
|
SimpleParameter(DataType datatype,
String name,
String comment,
boolean required,
ParameterValidator validator)
Constructor for a SimpleParameter with a
ParameterValidator. |
|
SimpleParameter(DataType datatype,
String name,
String comment,
boolean required,
ParameterValidator validator,
Object defaultVal)
Constructor for a SimpleParameter with validator and default
value. |
|
| Uses of DataType in de.jstacs.results |
|---|
| Methods in de.jstacs.results with parameters of type DataType | |
|---|---|
static boolean |
Result.checkDatatype(DataType datatype,
Object value)
This method provides the possibility to check the compliance of some result value with one of the pre-defined DataTypes
before creating a new Result and possibly running into an
Exception. |
static Result |
Result.createResult(String name,
String comment,
DataType datatype,
Object value)
Factory method to create a new Result. |
| Constructors in de.jstacs.results with parameters of type DataType | |
|---|---|
CategoricalResult(DataType datatype,
String name,
String comment,
Comparable result)
Creates a result of a primitive categorical data type or a String
. |
|
NumericalResult(DataType datatype,
String name,
String comment,
Comparable result)
Creates a NumericalResult of a primitive numerical data type. |
|
Result(String name,
String comment,
DataType datatype)
The main constructor which takes the main information of a result. |
|
SimpleResult(String name,
String comment,
DataType datatype)
The main constructor which takes the main information of a result. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||