|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.data.AbleLhs
com.ibm.able.data.AbleVariable
com.ibm.able.data.AbleTypedVariable
com.ibm.able.data.AbleGenericVariable
com.ibm.able.data.AbleGenericField
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.
| Field Summary | |
|---|---|
protected int |
column
An index representing this field's position in a record. |
protected int |
usage
Values representing input, output, or ignore. |
| Fields inherited from class com.ibm.able.data.AbleTypedVariable |
|---|
myDataTypeClass, myDataTypeClassName, myDataTypeName, myInitialParms, myValue |
| Fields inherited from class com.ibm.able.data.AbleVariable |
|---|
myBoundFlag, myChgSupport, myComment, myContext, myDataType, myGlobalFlag, myId, myName, myPrompt, myReferences, myStaticFlag, myTemplateFlag, myValueInitial |
| Constructor Summary | |
|---|---|
AbleGenericField(AbleFieldDefinition def)
Construct a Generic field. |
|
| 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()
No translation is supported for generic fields; null is returned. |
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()
No translation is supported for generic fields; null is returned. |
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. |
| Methods inherited from class com.ibm.able.data.AbleGenericVariable |
|---|
arlDclString, armlDclString, getDataTypeClass, getDataTypeClassName, getDataTypeName, getLiteralClass, getStringValue, init, reset, setRawValue, toString, traceString, xmlDclString |
| Methods inherited from class com.ibm.able.data.AbleTypedVariable |
|---|
asgnEq, clear, cmpEq, cmpGt, cmpGtEq, cmpIs, cmpLt, cmpLtEq, cmpNeq, compDivide, compMinus, compMultiply, compPlus, compUnaryMinus, getBooleanValue, getFuzzyValue, getGenericValue, getNumericValue, getValue, getValueString, replaceValues, setBooleanValue, setFuzzyValue, setGenericValue, setNumericValue, setStringValue, setValue, setValueString |
| Methods inherited from class com.ibm.able.data.AbleVariable |
|---|
arlCRdString, arlInitializerString, armlCRdString, armlInitializerString, getArlComment, getChgSupport, getComment, getContext, getDataType, getDataTypeAsString, getId, getPrompt, getPromptString, getReferences, getReferent, getReferents, getTemplateString, isBound, isConstant, isGlobal, isLocal, isStatic, isTemplate, notStatic, setChgSupport, setComment, setContext, setId, setInitialValue, setPrompt, setReferences, setStatic, setTemplate, xmlCRdString, xmlCWrString, xmlInitializerString |
| Methods inherited from class com.ibm.able.data.AbleLhs |
|---|
asgnIs, asgnIs, bitwiseAND, bitwiseNOT, bitwiseOR, bitwiseShiftLeft, bitwiseShiftRight, bitwiseShiftRightZeroFill, bitwiseXOR, compModulo, logicalAND, logicalNOT, logicalOR |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.able.data.AbleField |
|---|
getStringValue |
| Field Detail |
protected int usage
protected int column
| Constructor Detail |
public AbleGenericField(AbleFieldDefinition def)
def - An AbleFieldDefinition which provides the name and
usage for this field.| Method Detail |
public java.lang.String getName()
AbleField
getName in interface AbleFieldgetName in class AbleVariablepublic AbleTranslateTemplate getInputTranslateTemplate()
getInputTranslateTemplate in interface AbleFieldpublic AbleTranslateTemplate getOutputTranslateTemplate()
getOutputTranslateTemplate in interface AbleFieldpublic java.lang.String getDataTypeString()
AbleFieldAbleData.DataType(int).
getDataTypeString in interface AbleFieldpublic java.lang.String getUsageString()
AbleFieldAbleData.UsageType(java.lang.String).
getUsageString in interface AbleFieldpublic int getUsage()
AbleFieldAbleData.UsageType(java.lang.String).
getUsage in interface AbleFieldpublic void setUsage(java.lang.String usage)
AbleFieldAbleData.UsageType(java.lang.String).
setUsage in interface AbleFieldpublic void setColumn(int col)
AbleField
setColumn in interface AbleFieldpublic int getColumn()
AbleField
getColumn in interface AbleFieldpublic void computeStatistics(java.lang.Object inValue)
AbleField
computeStatistics in interface AbleFieldpublic double getNumericValue(java.lang.Object inValue)
AbleField
getNumericValue in interface AbleFieldpublic int getNormalizedSize()
AbleField
getNormalizedSize in interface AbleFieldpublic java.util.Map getMap()
AbleField
getMap in interface AbleField
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||