info.rolandkrueger.roklib.util.tables.filtertable
Class TableCellData<T>

java.lang.Object
  extended by info.rolandkrueger.roklib.util.tables.filtertable.TableCellData<T>
All Implemented Interfaces:
Serializable

public class TableCellData<T>
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
private  T mAdditionalData
           
private  BigDecimal mNumericValue
           
private  String mStringValue
           
private static long serialVersionUID
           
 
Constructor Summary
TableCellData(byte byteValue)
           
TableCellData(char charValue)
           
TableCellData(double doubleValue)
           
TableCellData(float floatValue)
           
TableCellData(int intValue)
           
TableCellData(long longValue)
           
TableCellData(Object value, boolean tryToConvertToNumber)
           
TableCellData(short charValue)
           
TableCellData(String stringValue, boolean tryToConvertToNumber)
           
 
Method Summary
 T getAdditionalData()
           
 BigDecimal getNumericValue()
           
 String getStringValue()
           
 boolean isNumeric()
           
 void resetNumericValue()
           
 TableCellData<T> setAdditionalData(T additional)
           
 void setStringValue(String stringValue, boolean tryToConvertToNumber)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mStringValue

private String mStringValue

mNumericValue

private BigDecimal mNumericValue

mAdditionalData

private T mAdditionalData
Constructor Detail

TableCellData

public TableCellData(String stringValue,
                     boolean tryToConvertToNumber)

TableCellData

public TableCellData(int intValue)

TableCellData

public TableCellData(long longValue)

TableCellData

public TableCellData(float floatValue)

TableCellData

public TableCellData(double doubleValue)

TableCellData

public TableCellData(byte byteValue)

TableCellData

public TableCellData(char charValue)

TableCellData

public TableCellData(short charValue)

TableCellData

public TableCellData(Object value,
                     boolean tryToConvertToNumber)
Method Detail

setStringValue

public void setStringValue(String stringValue,
                           boolean tryToConvertToNumber)

getStringValue

public String getStringValue()

getNumericValue

public BigDecimal getNumericValue()

resetNumericValue

public void resetNumericValue()

isNumeric

public boolean isNumeric()

getAdditionalData

public T getAdditionalData()

setAdditionalData

public TableCellData<T> setAdditionalData(T additional)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2011. All Rights Reserved.