com.rapidminer.example.table
Class DateAttribute

java.lang.Object
  extended by com.rapidminer.example.table.AbstractAttribute
      extended by com.rapidminer.example.table.DateAttribute
All Implemented Interfaces:
Attribute, java.io.Serializable, java.lang.Cloneable

public class DateAttribute
extends AbstractAttribute

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.

Author:
Ingo Mierswa
See Also:
Serialized Form

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

clone

public java.lang.Object clone()
Description copied from class: AbstractAttribute
Clones this attribute.

Specified by:
clone in interface Attribute
Specified by:
clone in class AbstractAttribute

getAsString

public java.lang.String getAsString(double value,
                                    int digits,
                                    boolean quoteNominal)
Description copied from interface: Attribute
Returns a formatted string of the given value according to the attribute type.


getMapping

public NominalMapping getMapping()
Returns null.


isNominal

public boolean isNominal()
Returns false.


isNumerical

public boolean isNumerical()
Description copied from interface: Attribute
Returns true if the attribute is nominal.


setMapping

public void setMapping(NominalMapping nominalMapping)
Do nothing.



Copyright © 2001-2009 by Rapid-I