Class SimpleDateFormatObjectDescription
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.AbstractObjectDescription
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.BeanObjectDescription
-
- org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.SimpleDateFormatObjectDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ObjectDescription
public class SimpleDateFormatObjectDescription extends BeanObjectDescription
An object-description for aSimpleDateFormat
object.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleDateFormatObjectDescription()
Creates a new object description.SimpleDateFormatObjectDescription(Class className)
Creates a new object description.SimpleDateFormatObjectDescription(Class className, boolean init)
Creates a new object description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createObject()
Creates an object based on this description.void
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.BeanObjectDescription
ignoreParameter, isParameterIgnored
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.AbstractObjectDescription
clone, configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
-
-
-
-
Constructor Detail
-
SimpleDateFormatObjectDescription
public SimpleDateFormatObjectDescription()
Creates a new object description.
-
SimpleDateFormatObjectDescription
public SimpleDateFormatObjectDescription(Class className)
Creates a new object description.- Parameters:
className
- the class.
-
SimpleDateFormatObjectDescription
public SimpleDateFormatObjectDescription(Class className, boolean init)
Creates a new object description.- Parameters:
className
- the class.init
- initialise?
-
-
Method Detail
-
setParameterFromObject
public void setParameterFromObject(Object o) throws ObjectFactoryException
Sets the parameters of this description object to match the supplied object.- Specified by:
setParameterFromObject
in interfaceObjectDescription
- Overrides:
setParameterFromObject
in classBeanObjectDescription
- Parameters:
o
- the object.- Throws:
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
-
createObject
public Object createObject()
Creates an object based on this description.- Specified by:
createObject
in interfaceObjectDescription
- Overrides:
createObject
in classBeanObjectDescription
- Returns:
- The object.
-
-