Class SQLTimestampValueConverter
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.util.beans.SQLTimestampValueConverter
-
- All Implemented Interfaces:
ValueConverter
public class SQLTimestampValueConverter extends Object implements ValueConverter
Creation-Date: 09.10.2007, 19:00:02- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description SQLTimestampValueConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toAttributeValue(Object o)
Converts an object to an attribute value.Object
toPropertyValue(String s)
Converts a string to a property value.
-
-
-
Method Detail
-
toAttributeValue
public String toAttributeValue(Object o) throws BeanException
Description copied from interface:ValueConverter
Converts an object to an attribute value.- Specified by:
toAttributeValue
in interfaceValueConverter
- Parameters:
o
- the object, never null.- Returns:
- the attribute value.
- Throws:
BeanException
- if there was an error during the conversion.
-
toPropertyValue
public Object toPropertyValue(String s) throws BeanException
Description copied from interface:ValueConverter
Converts a string to a property value.- Specified by:
toPropertyValue
in interfaceValueConverter
- Parameters:
s
- the string, never null.- Returns:
- a property value.
- Throws:
BeanException
- if there was an error during the conversion.
-
-