org.drools.ide.common.client.modeldriven.dt52
Class DTCellValue52

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

public class DTCellValue52
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
DTCellValue52()
           
DTCellValue52(BigDecimal value)
           
DTCellValue52(Boolean value)
           
DTCellValue52(Date value)
           
DTCellValue52(Object value)
           
DTCellValue52(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getBooleanValue()
           
 DTDataTypes52 getDataType()
           
 Date getDateValue()
           
 BigDecimal getNumericValue()
           
 String getStringValue()
           
 int hashCode()
           
 boolean hasValue()
           
 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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTCellValue52

public DTCellValue52()

DTCellValue52

public DTCellValue52(Object value)

DTCellValue52

public DTCellValue52(BigDecimal value)

DTCellValue52

public DTCellValue52(Boolean value)

DTCellValue52

public DTCellValue52(Date value)

DTCellValue52

public DTCellValue52(String value)
Method Detail

getBooleanValue

public Boolean getBooleanValue()

getDataType

public DTDataTypes52 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)

hasValue

public boolean hasValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.