org.pentaho.di.trans.steps.olapinput.olap4jhelper
Class AbstractBaseCell

java.lang.Object
  extended by org.pentaho.di.trans.steps.olapinput.olap4jhelper.AbstractBaseCell
Direct Known Subclasses:
DataCell, MemberCell

public abstract class AbstractBaseCell
extends Object


Field Summary
 boolean right
           
 boolean sameAsPrev
           
 
Constructor Summary
AbstractBaseCell()
          Blank Constructor for serialization dont use.
AbstractBaseCell(boolean right, boolean sameAsPrev)
          BaseCell Constructor, every cell type should inherit basecell.
 
Method Summary
 String getFormattedValue()
          Gets the formatted value.
 String getParentDimension()
           
 String getRawValue()
          Gets the raw value.
 void setFormattedValue(String formattedValue)
          Sets the formatted value.
 void setParentDimension(String pdim)
           
 void setRawValue(String rawValue)
          Sets the raw value.
 void setRight(boolean set)
           
 void setSameAsPrev(boolean same)
          Set true if value is same as the previous one in the row.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

right

public boolean right

sameAsPrev

public boolean sameAsPrev
Constructor Detail

AbstractBaseCell

public AbstractBaseCell()
Blank Constructor for serialization dont use.


AbstractBaseCell

public AbstractBaseCell(boolean right,
                        boolean sameAsPrev)
BaseCell Constructor, every cell type should inherit basecell.

Parameters:
right -
sameAsPrev -
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 -

toString

public String toString()
Overrides:
toString in class Object

setParentDimension

public void setParentDimension(String pdim)

getParentDimension

public String getParentDimension()