|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.example.table.AbstractAttribute
com.rapidminer.example.table.DateAttribute
public class DateAttribute
This class holds all information on a single date attribute. In addition to the information of the superclass, this is some statistics data like minimum, maximum and average of the values.
| Field Summary |
|---|
| Fields inherited from interface com.rapidminer.example.Attribute |
|---|
MISSING_NOMINAL_VALUE, UNDEFINED_ATTRIBUTE_INDEX, VIEW_ATTRIBUTE_INDEX |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones this attribute. |
java.lang.String |
getAsString(double value,
int digits,
boolean quoteNominal)
Returns a formatted string of the given value according to the attribute type. |
NominalMapping |
getMapping()
Returns null. |
boolean |
isNominal()
Returns false. |
boolean |
isNumerical()
Returns true if the attribute is nominal. |
void |
setMapping(NominalMapping nominalMapping)
Do nothing. |
| Methods inherited from class com.rapidminer.example.table.AbstractAttribute |
|---|
addOwner, addTransformation, clearTransformations, equals, getAllStatistics, getBlockType, getConstruction, getDefault, getLastTransformation, getName, getStatistics, getStatistics, getTableIndex, getValue, getValueType, hashCode, readResolve, registerStatistics, removeOwner, setBlockType, setConstruction, setDefault, setName, setTableIndex, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object clone()
AbstractAttribute
clone in interface Attributeclone in class AbstractAttribute
public java.lang.String getAsString(double value,
int digits,
boolean quoteNominal)
Attribute
public NominalMapping getMapping()
public boolean isNominal()
public boolean isNumerical()
Attribute
public void setMapping(NominalMapping nominalMapping)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||