ABLE, Version 1.1b

com.ibm.able.beans
Interface AbleField

All Known Implementing Classes:
AbleContinuousField, AbleDiscreteField, AbleCategoricalField

public abstract interface AbleField

This class defines a basic variable or field for use in data sources and inferencing.

Version:
1.0.0; change log:
 Version   Description
 --------  -----------
 1.0.0     Initial release.

 

Method Summary
 void computeStatistics(java.lang.String inValue)
          compute statistics as appropriate for the field data type for example, continuous fields compute min/max/mean
 int getColumn()
          get the index position (column) of this field in the record
 java.lang.String getDataTypeString()
          get the data type of this field as a string (e.g.
 AbleTranslateTemplate getInputTranslateTemplate()
          provide an input translate template for this field
 java.lang.String getName()
          return the field name
 int getNormalizedSize()
          get the expanded representation of this field for example, categorical fields expand for each discrete value
 double getNumericValue(java.lang.String inValue)
          get the value of this field, as a double
 AbleTranslateTemplate getOutputTranslateTemplate()
          provide an output translate template for this field
 java.lang.String getStringValue()
          get the value of this field, represented as a string for display
 java.lang.String getUsageString()
          get the usage type of this field as a string (e.g.
 void setColumn(int col)
          set index position in the record (based on field definition order)
 

Method Detail

getName

public java.lang.String getName()
return the field name

getInputTranslateTemplate

public AbleTranslateTemplate getInputTranslateTemplate()
provide an input translate template for this field

getOutputTranslateTemplate

public AbleTranslateTemplate getOutputTranslateTemplate()
provide an output translate template for this field

getDataTypeString

public java.lang.String getDataTypeString()
get the data type of this field as a string (e.g. "continuous")

getUsageString

public java.lang.String getUsageString()
get the usage type of this field as a string (e.g. "input")

getStringValue

public java.lang.String getStringValue()
                                throws AbleDataException
get the value of this field, represented as a string for display

setColumn

public void setColumn(int col)
set index position in the record (based on field definition order)

getColumn

public int getColumn()
get the index position (column) of this field in the record

computeStatistics

public void computeStatistics(java.lang.String inValue)
compute statistics as appropriate for the field data type for example, continuous fields compute min/max/mean

getNumericValue

public double getNumericValue(java.lang.String inValue)
get the value of this field, as a double

getNormalizedSize

public int getNormalizedSize()
get the expanded representation of this field for example, categorical fields expand for each discrete value

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'