org.pentaho.reporting.engine.classic.core.modules.misc.survey
Class SurveyScaleType
java.lang.Object
org.pentaho.reporting.engine.classic.core.filter.types.ContentType
org.pentaho.reporting.engine.classic.core.modules.misc.survey.SurveyScaleType
- All Implemented Interfaces:
- Serializable, Cloneable, DataSource, ElementType
public class SurveyScaleType
- extends ContentType
Todo: Document Me
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Fields inherited from class org.pentaho.reporting.engine.classic.core.filter.types.ContentType |
INSTANCE |
SurveyScaleType
public SurveyScaleType()
getMetaData
public ElementMetaData getMetaData()
- Specified by:
getMetaData
in interface ElementType
- Overrides:
getMetaData
in class ContentType
getDesignValue
public Object getDesignValue(ExpressionRuntime runtime,
Element element)
- Specified by:
getDesignValue
in interface ElementType
- Overrides:
getDesignValue
in class ContentType
configureDesignTimeDefaults
public void configureDesignTimeDefaults(Element element,
Locale locale)
- Specified by:
configureDesignTimeDefaults
in interface ElementType
- Overrides:
configureDesignTimeDefaults
in class ContentType
getValue
public Object getValue(ExpressionRuntime runtime,
Element element)
- Description copied from class:
ContentType
- Returns the current value for the data source.
- Specified by:
getValue
in interface DataSource
- Overrides:
getValue
in class ContentType
- Parameters:
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element
- the element for which the data is computed.
- Returns:
- the value.
clone
public Object clone()
throws CloneNotSupportedException
- Description copied from class:
ContentType
- Clones this
DataSource
.
- Specified by:
clone
in interface DataSource
- Overrides:
clone
in class ContentType
- Returns:
- the clone.
- Throws:
CloneNotSupportedException
- this should never happen.