|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.DescriptorValue
@TestClass(value="org.openscience.cdk.qsar.DescriptorValueTest") public class DescriptorValue
Class that is used to store descriptor values as IChemObject properties.
| Constructor Summary | |
|---|---|
DescriptorValue(DescriptorSpecification specification,
String[] parameterNames,
Object[] parameterSettings,
IDescriptorResult value,
String[] descriptorNames)
Constrct a descriptor value object, representing the numeric values as well as parameters and provenance. |
|
DescriptorValue(DescriptorSpecification specification,
String[] parameterNames,
Object[] parameterSettings,
IDescriptorResult value,
String[] descriptorNames,
Exception exception)
Constrct a descriptor value object, representing the numeric values as well as parameters and provenance. |
|
| Method Summary | |
|---|---|
Exception |
getException()
|
String[] |
getNames()
Returns an array of names for each descriptor value calculated. |
String[] |
getParameterNames()
|
Object[] |
getParameters()
|
DescriptorSpecification |
getSpecification()
|
IDescriptorResult |
getValue()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescriptorValue(DescriptorSpecification specification,
String[] parameterNames,
Object[] parameterSettings,
IDescriptorResult value,
String[] descriptorNames)
specification - The specificationparameterNames - The parameter names for the decriptorsparameterSettings - The parameter settingsvalue - The actual valuesdescriptorNames - The names of the values
public DescriptorValue(DescriptorSpecification specification,
String[] parameterNames,
Object[] parameterSettings,
IDescriptorResult value,
String[] descriptorNames,
Exception exception)
specification - The specificationparameterNames - The parameter names for the decriptorsparameterSettings - The parameter settingsvalue - The actual valuesdescriptorNames - The names of the valuesexception - The exception object that should have been caught if an error occured during decriptor
calculation| Method Detail |
|---|
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
@TestMethod(value="testGetParameters") public Object[] getParameters()
@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
@TestMethod(value="testGetValue") public IDescriptorResult getValue()
@TestMethod(value="testGetException") public Exception getException()
@TestMethod(value="testGetNames") public String[] getNames()
DescriptorValue object, it should supply an array of names equal
in length to the number of descriptor calculated.
In many cases, these names can be as simple as X1, X2, ..., XN where X is a prefix
and 1, 2, ..., N are the indices. On the other hand it is also possible to return
other arbitrary names, which should be documented in the Javadocs for the decsriptor
(e.g., the CPSA descriptor).
Note that by default if a descriptor returns a single value (such as ALOGPDescriptor
the return array will have a single element
In case a descriptor creates a DescriptorValue object with no names, this
method will generate a set of names based on the DescriptorSpecification object
supplied at instantiation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||