org.drools.ide.common.client.modeldriven.dt
Class DTCellValue

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.dt.DTCellValue
All Implemented Interfaces:
Serializable, PortableObject

public class DTCellValue
extends Object
implements PortableObject

Holder for cell value and other attributes. This is serialised by GWT RPC and therefore does not contain a single property of type Serializable (that would have been ideal). Instead the concrete data types are included separately.

See Also:
Serialized Form

Constructor Summary
DTCellValue()
           
DTCellValue(BigDecimal value)
           
DTCellValue(Boolean value)
           
DTCellValue(Date value)
           
DTCellValue(double value)
           
DTCellValue(int value)
           
DTCellValue(long value)
           
DTCellValue(String value)
           
 
Method Summary
 Boolean getBooleanValue()
           
 DTDataTypes getDataType()
           
 Date getDateValue()
           
 BigDecimal getNumericValue()
           
 String getStringValue()
           
 boolean isOtherwise()
           
 void setBooleanValue(Boolean value)
           
 void setDateValue(Date value)
           
 void setNumericValue(BigDecimal value)
           
 void setOtherwise(boolean isOtherwise)
           
 void setStringValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTCellValue

public DTCellValue()

DTCellValue

public DTCellValue(BigDecimal value)

DTCellValue

public DTCellValue(Boolean value)

DTCellValue

public DTCellValue(Date value)

DTCellValue

public DTCellValue(double value)

DTCellValue

public DTCellValue(int value)

DTCellValue

public DTCellValue(long value)

DTCellValue

public DTCellValue(String value)
Method Detail

getBooleanValue

public Boolean getBooleanValue()

getDataType

public DTDataTypes getDataType()

getDateValue

public Date getDateValue()

getNumericValue

public BigDecimal getNumericValue()

getStringValue

public String getStringValue()

isOtherwise

public boolean isOtherwise()

setBooleanValue

public void setBooleanValue(Boolean value)

setDateValue

public void setDateValue(Date value)

setNumericValue

public void setNumericValue(BigDecimal value)

setOtherwise

public void setOtherwise(boolean isOtherwise)

setStringValue

public void setStringValue(String value)


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.