org.wdssii.core
Class DataTable.Column

java.lang.Object
  extended by org.wdssii.core.DataTable.Column
Enclosing class:
DataTable

public static class DataTable.Column
extends Object


Field Summary
private  String name
           
private  String unit
           
private  List<String> values
           
 
Constructor Summary
DataTable.Column(DataTable.Column master)
          copies from the master.
DataTable.Column(String name, String unit)
           
DataTable.Column(String name, String unit, List<String> values)
           
 
Method Summary
 void addValue(String value)
           
 String getName()
           
 int getNumRows()
           
 String getUnit()
           
 List<String> getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private final String name

unit

private final String unit

values

private final List<String> values
Constructor Detail

DataTable.Column

public DataTable.Column(String name,
                        String unit,
                        List<String> values)

DataTable.Column

public DataTable.Column(String name,
                        String unit)

DataTable.Column

public DataTable.Column(DataTable.Column master)
copies from the master. The master can change without affecting this object.

Method Detail

addValue

public void addValue(String value)

getName

public String getName()

getUnit

public String getUnit()

getValues

public List<String> getValues()

getNumRows

public int getNumRows()