public class ColumnDefinition
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ColumnDefinition(java.lang.String theName,
ColumnType theDataType)
The column definition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(java.lang.String value)
Analyze the specified value.
|
void |
defineClass(java.lang.String str)
Define a class for a catagorical value.
|
void |
defineClass(java.lang.String[] str)
Define an array of classes for a catagorical value.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getClasses() |
int |
getCount() |
ColumnType |
getDataType() |
double |
getHigh() |
int |
getIndex() |
double |
getLow() |
double |
getMean() |
java.lang.String |
getName() |
double |
getSd() |
void |
setCount(int count) |
void |
setDataType(ColumnType dataType) |
void |
setHigh(double high) |
void |
setIndex(int index) |
void |
setLow(double low) |
void |
setMean(double mean) |
void |
setName(java.lang.String name) |
void |
setOwner(NormalizationHelper theOwner)
Set the owner of this class.
|
void |
setSd(double sd) |
java.lang.String |
toString() |
public ColumnDefinition(java.lang.String theName,
ColumnType theDataType)
theName - The name of the column.theDataType - The type of the column.public java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic ColumnType getDataType()
public void setDataType(ColumnType dataType)
dataType - the dataType to setpublic double getLow()
public void setLow(double low)
low - the low to setpublic double getHigh()
public void setHigh(double high)
high - the high to setpublic double getMean()
public void setMean(double mean)
mean - the mean to setpublic double getSd()
public void setSd(double sd)
sd - the sd to setpublic int getCount()
public void setCount(int count)
count - the count to setpublic void analyze(java.lang.String value)
value - The value to analyze.public java.util.List<java.lang.String> getClasses()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void defineClass(java.lang.String str)
str - The class to add.public void defineClass(java.lang.String[] str)
str - The classes to add.public void setOwner(NormalizationHelper theOwner)
theOwner - The owner of this class.public int getIndex()
public void setIndex(int index)
index - the index to set