|
||||||||||
| 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 |
|---|
| Methods in de.jstacs that return DataType | |
|---|---|
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. |
| Uses of DataType in de.jstacs.parameters |
|---|
| Fields in de.jstacs.parameters declared as DataType | |
|---|---|
protected DataType |
SimpleParameter.datatype
The data type of the parameter value |
| Methods in de.jstacs.parameters that return DataType | |
|---|---|
DataType |
SimpleParameter.getDatatype()
|
DataType |
RangeParameter.getDatatype()
|
DataType |
ParameterSetContainer.getDatatype()
|
abstract DataType |
Parameter.getDatatype()
Returns the data type of the Parameter. |
DataType |
FileParameter.getDatatype()
|
DataType |
CollectionParameter.getDatatype()
|
| Constructors in de.jstacs.parameters with parameters of type DataType | |
|---|---|
CollectionParameter(DataType datatype,
String[] keys,
Object[] values,
String[] comments,
String name,
String comment,
boolean required)
Constructor for a CollectionParameter. |
|
CollectionParameter(DataType datatype,
String[] keys,
Object[] values,
String name,
String comment,
boolean required)
Constructor for a CollectionParameter. |
|
CollectionParameter(ParameterSet options,
int selected,
int defaultSelected,
boolean userSelected,
String name,
String comment,
boolean required,
DataType datatype,
String errorMessage,
boolean rangeable)
Creates a new CollectionParameter from the necessary field. |
|
MultiSelectionCollectionParameter(DataType datatype,
String[] keys,
Object[] values,
String[] comments,
String name,
String comment,
boolean required)
Constructor for a MultiSelectionCollectionParameter. |
|
MultiSelectionCollectionParameter(DataType datatype,
String[] keys,
Object[] values,
String name,
String comment,
boolean required)
Constructor for a MultiSelectionCollectionParameter. |
|
MultiSelectionCollectionParameter(ParameterSet options,
boolean[] selected,
boolean[] defaultSelected,
boolean userSelected,
String name,
String comment,
boolean required,
DataType datatype,
String errorMessage,
int current,
boolean makeRanged)
Creates a new MultiSelectionCollectionParameter from the
necessary field. |
|
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 |
|---|
| Fields in de.jstacs.results declared as DataType | |
|---|---|
protected DataType |
Result.datatype
The data type of the result. |
| Methods in de.jstacs.results that return DataType | |
|---|---|
DataType |
Result.getDatatype()
Returns the data type of the Result. |
| 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
. |
|
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 | |||||||||