public abstract class AbstractObjectDescription extends Object implements ObjectDescription, Cloneable
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory.
|
static Class |
convertPrimitiveClass(Class obj)
Converts primitives to corresponding object class.
|
boolean |
equals(Object o)
Tests for equality.
|
org.pentaho.reporting.libraries.base.config.Configuration |
getConfig()
Returns the configuration for that object description.
|
ObjectDescription |
getInstance()
Returns a cloned instance of the object description.
|
Class |
getObjectClass()
Returns the class for the object.
|
Object |
getParameter(String name)
Returns a parameter value.
|
Class |
getParameterDefinition(String name)
Returns a parameter class.
|
Iterator |
getParameterNames()
Returns an iterator for the parameter names.
|
ObjectDescription |
getUnconfiguredInstance()
Returns a cloned instance of the object description.
|
int |
hashCode()
Returns a hash code for the object.
|
void |
setParameter(String name,
Object value)
Sets a parameter.
|
void |
setParameterDefinition(String name,
Class obj)
Sets the class for a parameter.
|
getClass, notify, notifyAll, toString, wait, wait, wait
createObject, setParameterFromObject
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public Class getParameterDefinition(String name)
getParameterDefinition
in interface ObjectDescription
name
- the parameter definition.public void setParameterDefinition(String name, Class obj)
name
- the parameter name.obj
- the parameter class.public static Class convertPrimitiveClass(Class obj)
obj
- the class.public void setParameter(String name, Object value)
setParameter
in interface ObjectDescription
name
- the name.value
- the value.public Iterator getParameterNames()
getParameterNames
in interface ObjectDescription
public Object getParameter(String name)
getParameter
in interface ObjectDescription
name
- the parameter name.public Class getObjectClass()
getObjectClass
in interface ObjectDescription
public ObjectDescription getInstance()
getInstance
in interface ObjectDescription
public ObjectDescription getUnconfiguredInstance()
getUnconfiguredInstance
in interface ObjectDescription
public void configure(org.pentaho.reporting.libraries.base.config.Configuration config)
configure
in interface ObjectDescription
config
- the configuration, never nullpublic org.pentaho.reporting.libraries.base.config.Configuration getConfig()
public boolean equals(Object o)
equals
in interface ObjectDescription
equals
in class Object
o
- the object to test.public int hashCode()
hashCode
in interface ObjectDescription
hashCode
in class Object