|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AbleField defines a basic field for use in data sources and inferencing. Fields have a known name or label, a column or index in a sequence of fields that constitute a record, and understand the range and restrictions of its values.
Method Summary | |
---|---|
void |
computeStatistics(java.lang.Object inValue)
Compute statistics as appropriate for the field data type. |
int |
getColumn()
Get the column index position of this field in a record. |
java.lang.String |
getDataTypeString()
Get the data type of this field as a string - "continuous" for example. |
AbleTranslateTemplate |
getInputTranslateTemplate()
Provide an input translate template for this field. |
java.util.Map |
getMap()
Get the Map of all unique values that are possible for this field. |
java.lang.String |
getName()
Return the field name. |
int |
getNormalizedSize()
Get the expanded representation of this field. |
double |
getNumericValue(java.lang.Object inValue)
Get the value of this field as a double. |
AbleTranslateTemplate |
getOutputTranslateTemplate()
Provide an output translate template for this field. |
java.lang.String |
getStringValue()
Return the value of this field, represented as a string for display. |
int |
getUsage()
Get the usage type of this field - "input" for example. |
java.lang.String |
getUsageString()
Get the usage type of this field as a string - "input" for example. |
void |
setColumn(int col)
Set the index position in the record, based on field definition order. |
void |
setUsage(java.lang.String usage)
Set the usage type of this from a string - "input" for example. |
Method Detail |
public java.lang.String getName()
public AbleTranslateTemplate getInputTranslateTemplate()
public AbleTranslateTemplate getOutputTranslateTemplate()
public java.lang.String getDataTypeString()
AbleData.DataType(int)
.public java.lang.String getUsageString()
AbleData.UsageType(java.lang.String)
.public int getUsage()
AbleData.UsageType(java.lang.String)
.public void setUsage(java.lang.String usage)
AbleData.UsageType(java.lang.String)
.public java.lang.String getStringValue() throws AbleDataException
public void setColumn(int col)
public int getColumn()
public void computeStatistics(java.lang.Object inValue)
public double getNumericValue(java.lang.Object inValue)
public int getNormalizedSize()
public java.util.Map getMap()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |