|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.filter.types.LegacyType
public class LegacyType
Todo: Document Me
Field Summary | |
---|---|
static LegacyType |
INSTANCE
|
Constructor Summary | |
---|---|
LegacyType()
|
Method Summary | |
---|---|
Object |
clone()
Clones this DataSource . |
void |
configureDesignTimeDefaults(Element element,
Locale locale)
|
Object |
getDesignValue(ExpressionRuntime runtime,
Element element)
|
FormatSpecification |
getFormatString(ExpressionRuntime runtime,
Element element,
FormatSpecification formatSpecification)
Returns information about the formatstring that was used to transform a raw-value into a formatted text. |
ElementMetaData |
getMetaData()
|
Object |
getRawValue(ExpressionRuntime runtime,
Element element)
Returns the unformated raw value. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Returns the current value for the data source. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LegacyType INSTANCE
Constructor Detail |
---|
public LegacyType()
Method Detail |
---|
public ElementMetaData getMetaData()
getMetaData
in interface ElementType
public Object getValue(ExpressionRuntime runtime, Element element)
getValue
in interface DataSource
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element
- the element.
public Object getRawValue(ExpressionRuntime runtime, Element element)
Number
or Date
objects is a good idea.
getRawValue
in interface RawDataSource
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element
-
public FormatSpecification getFormatString(ExpressionRuntime runtime, Element element, FormatSpecification formatSpecification)
FormatSpecification.TYPE_UNDEFINED
in that case.
getFormatString
in interface RawDataSource
runtime
- the Expression runtime used to possibly compute the raw-value.element
- the element to which this datasource is added.formatSpecification
- the format specification (can be null). @return a filled format specififcation. If the
formatSpecification
parameter was not null, this given instance is reused.public Object getDesignValue(ExpressionRuntime runtime, Element element)
getDesignValue
in interface ElementType
public Object clone() throws CloneNotSupportedException
DataSource
.
clone
in interface DataSource
clone
in class Object
CloneNotSupportedException
- this should never happen.public void configureDesignTimeDefaults(Element element, Locale locale)
configureDesignTimeDefaults
in interface ElementType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |