Class AbstractBaseCell
- java.lang.Object
-
- org.pentaho.di.trans.steps.olapinput.olap4jhelper.AbstractBaseCell
-
- Direct Known Subclasses:
DataCell,MemberCell
public abstract class AbstractBaseCell extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanrightbooleansameAsPrev
-
Constructor Summary
Constructors Constructor Description AbstractBaseCell()Blank Constructor for serialization dont use.AbstractBaseCell(boolean right, boolean sameAsPrev)BaseCell Constructor, every cell type should inherit basecell.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormattedValue()Gets the formatted value.StringgetParentDimension()StringgetRawValue()Gets the raw value.voidsetFormattedValue(String formattedValue)Sets the formatted value.voidsetParentDimension(String pdim)voidsetRawValue(String rawValue)Sets the raw value.voidsetRight(boolean set)voidsetSameAsPrev(boolean same)Set true if value is same as the previous one in the row.StringtoString()
-
-
-
Method Detail
-
getFormattedValue
public String getFormattedValue()
Gets the formatted value.- Returns:
- the formatted value
-
getRawValue
public String getRawValue()
Gets the raw value.- Returns:
- the raw value
-
setFormattedValue
public void setFormattedValue(String formattedValue)
Sets the formatted value.- Parameters:
formattedValue- the new formatted value
-
setRawValue
public void setRawValue(String rawValue)
Sets the raw value.- Parameters:
rawValue- the new raw value
-
setRight
public void setRight(boolean set)
- Parameters:
set-
-
setSameAsPrev
public void setSameAsPrev(boolean same)
Set true if value is same as the previous one in the row.- Parameters:
same-
-
setParentDimension
public void setParentDimension(String pdim)
-
getParentDimension
public String getParentDimension()
-
-