|
||||||||||
| 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.DateFieldType
public class DateFieldType
Todo: Document Me
| Constructor Summary | |
|---|---|
DateFieldType()
|
|
| 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 |
| Constructor Detail |
|---|
public DateFieldType()
| Method Detail |
|---|
public ElementMetaData getMetaData()
getMetaData in interface ElementType
public Object getDesignValue(ExpressionRuntime runtime,
Element element)
getDesignValue in interface ElementType
public Object getRawValue(ExpressionRuntime runtime,
Element element)
Number or Date objects is a good idea.
getRawValue in interface RawDataSourceruntime - 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 RawDataSourceruntime - 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).
formatSpecification parameter was not null, this given instance is reused.
public Object getValue(ExpressionRuntime runtime,
Element element)
getValue in interface DataSourceruntime - the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element - the element from which to read attribute.
public Object clone()
throws CloneNotSupportedException
DataSource.
clone in interface DataSourceclone in class ObjectCloneNotSupportedException - 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 | |||||||||