org.drools.workbench.models.guided.dtable.shared.model
Class DTCellValue52
java.lang.Object
org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52
public class DTCellValue52
- extends Object
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.
DTCellValue52
public DTCellValue52()
DTCellValue52
public DTCellValue52(DTCellValue52 sourceCell)
DTCellValue52
public DTCellValue52(DataType.DataTypes type,
boolean emptyValue)
DTCellValue52
public DTCellValue52(Object value)
DTCellValue52
public DTCellValue52(BigDecimal value)
DTCellValue52
public DTCellValue52(BigInteger value)
DTCellValue52
public DTCellValue52(Byte value)
DTCellValue52
public DTCellValue52(Double value)
DTCellValue52
public DTCellValue52(Float value)
DTCellValue52
public DTCellValue52(Integer value)
DTCellValue52
public DTCellValue52(Long value)
DTCellValue52
public DTCellValue52(Short value)
DTCellValue52
public DTCellValue52(Boolean value)
DTCellValue52
public DTCellValue52(Date value)
DTCellValue52
public DTCellValue52(String value)
getDataType
public DataType.DataTypes getDataType()
getBooleanValue
public Boolean getBooleanValue()
getDateValue
public Date getDateValue()
getNumericValue
public Number 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(Number value)
setNumericValue
public void setNumericValue(BigDecimal value)
setNumericValue
public void setNumericValue(BigInteger value)
setNumericValue
public void setNumericValue(Byte value)
setNumericValue
public void setNumericValue(Double value)
setNumericValue
public void setNumericValue(Float value)
setNumericValue
public void setNumericValue(Integer value)
setNumericValue
public void setNumericValue(Long value)
setNumericValue
public void setNumericValue(Short value)
setOtherwise
public void setOtherwise(boolean isOtherwise)
setStringValue
public void setStringValue(String value)
clearValues
public void clearValues()
hasValue
public boolean hasValue()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
cloneDefaultValueCell
public DTCellValue52 cloneDefaultValueCell()
- Clones this default value instance.
- Returns:
- The cloned instance.
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.