public interface ObjectDescription extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory.
|
Object |
createObject()
Creates an object based on the description.
|
boolean |
equals(Object o)
Compares whether two object descriptions are equal.
|
ObjectDescription |
getInstance()
Returns a cloned instance of the object description.
|
Class |
getObjectClass()
Returns the object class.
|
Object |
getParameter(String name)
Returns the value of a parameter.
|
Class |
getParameterDefinition(String name)
Returns a parameter definition.
|
Iterator |
getParameterNames()
Returns an iterator the provides access to the parameter names.
|
ObjectDescription |
getUnconfiguredInstance()
Returns a cloned instance of the object description.
|
int |
hashCode()
Computes the hashCode for this ClassFactory.
|
void |
setParameter(String name,
Object value)
Sets the value of a parameter.
|
void |
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.
|
Class getParameterDefinition(String name)
name
- the definition name.void setParameter(String name, Object value)
name
- the parameter name.value
- the parameter value.Object getParameter(String name)
name
- the parameter name.Iterator getParameterNames()
Class getObjectClass()
Object createObject()
ObjectDescription getUnconfiguredInstance()
ObjectDescription getInstance()
void setParameterFromObject(Object o) throws ObjectFactoryException
o
- the object.ObjectFactoryException
- if there is a problem while reading the properties of the given object.void configure(org.pentaho.reporting.libraries.base.config.Configuration config)
config
- the configuration, never nullboolean equals(Object o)