|
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.AbleContinuousVariable
com.ibm.able.data.AbleContinuousField
Continuous fields are numeric fields with an infinite set of possible values.
| Field Summary |
|---|
| Fields inherited from class com.ibm.able.data.AbleContinuousVariable |
|---|
myDiscourseHi, myDiscourseLo, myInitialValue, 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 | |
|---|---|
AbleContinuousField(AbleFieldDefinition def)
Construct a Continuous field. |
|
AbleContinuousField(java.lang.String name,
int usageType,
int column)
Construct a Continuous field. |
|
| Method Summary | |
|---|---|
void |
computeStatistics(java.lang.Object inValue)
Add another value to the field. |
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. |
double |
getMax()
Return the maximum value computed for this field. |
double |
getMean()
Return the mean value computed for this field. |
double |
getMin()
Return the minimum value computed for this field. |
int |
getNormalizedSize()
Return the expanded size, continuous fields always take 1 unit. |
double |
getNumericValue(java.lang.Object inValue)
Return the numeric value for the String provided. |
AbleTranslateTemplate |
getOutputTranslateTemplate()
Provide an output translate template for this field. |
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 |
setMax(double Max)
Set the maximum value for this field. |
void |
setMin(double Min)
Set the minimum value for this field. |
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.AbleVariable |
|---|
arlCRdString, arlInitializerString, armlCRdString, armlInitializerString, getArlComment, getChgSupport, getComment, getContext, getDataType, getDataTypeAsString, getId, getName, getPrompt, getPromptString, getReferences, getReferent, getReferents, getTemplateString, isBound, isConstant, isGlobal, isLocal, isStatic, isTemplate, notStatic, setChgSupport, setComment, setContext, setId, 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, cmpIs, 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 |
|---|
getName, getStringValue |
| Constructor Detail |
public AbleContinuousField(AbleFieldDefinition def)
def - An AbleFieldDefinition which provides the name and
usage for this field.
public AbleContinuousField(java.lang.String name,
int usageType,
int column)
name - The field name.usageType - The usage type, one of AbleData.InputUsage,
AbleData.OutputUsage, or AbleData.IgnoreUsage.column - The position in the record, 0 if to be set later.| Method Detail |
public void setMin(double Min)
public void setMax(double Max)
public double getMin()
public double getMax()
public double getMean()
public void computeStatistics(java.lang.Object inValue)
computeStatistics in interface AbleFieldpublic double getNumericValue(java.lang.Object inValue)
getNumericValue in interface AbleFieldpublic AbleTranslateTemplate getInputTranslateTemplate()
getInputTranslateTemplate in interface AbleFieldpublic AbleTranslateTemplate getOutputTranslateTemplate()
getOutputTranslateTemplate in interface AbleFieldpublic int getNormalizedSize()
getNormalizedSize in interface AbleFieldpublic void setColumn(int col)
AbleField
setColumn in interface AbleFieldpublic int getColumn()
AbleField
getColumn 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 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 | |||||||||||