Class CharacterObjectDescription
- 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.CharacterObjectDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ObjectDescription
public class CharacterObjectDescription extends AbstractObjectDescription
An object-description for aCharacter
object.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CharacterObjectDescription()
Creates a new object description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createObject()
Creates a new object (Character
) based on this description object.boolean
equals(Object o)
Tests for equality.int
hashCode()
Returns a hash code for the object.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.AbstractObjectDescription
clone, configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
-
-
-
-
Method Detail
-
createObject
public Object createObject()
Creates a new object (Character
) based on this description object.- Returns:
- The
Character
object.
-
setParameterFromObject
public void setParameterFromObject(Object o) throws ObjectFactoryException
Sets the parameters of this description object to match the supplied object.- Parameters:
o
- the object (should be an instance ofCharacter
).- Throws:
ObjectFactoryException
- if there is a problem while reading the properties of the given object.
-
equals
public boolean equals(Object o)
Tests for equality.- Specified by:
equals
in interfaceObjectDescription
- Overrides:
equals
in classAbstractObjectDescription
- Parameters:
o
- the object to test.- Returns:
- A boolean.
-
hashCode
public int hashCode()
Returns a hash code for the object.- Specified by:
hashCode
in interfaceObjectDescription
- Overrides:
hashCode
in classAbstractObjectDescription
- Returns:
- The hash code.
-
-