public class ArrayObjectDescription extends AbstractObjectDescription
| Constructor and Description |
|---|
ArrayObjectDescription(Class c)
Constructs a new array objet description for the given array class.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
createObject()
Creates an object based on the description.
|
ObjectDescription |
getInstance()
Returns a new instance of the object description.
|
Class |
getParameterDefinition(String name)
Returns a parameter definition.
|
Iterator |
getParameterNames()
Returns an iterator for the parameter names.
|
void |
setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.
|
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getObjectClass, getParameter, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinitionpublic ArrayObjectDescription(Class c)
Note: throws IllegalArgumentException if the given class is no array.
c - the array class object.public Object createObject()
public void setParameterFromObject(Object o) throws ObjectFactoryException
o - the object.ObjectFactoryException - if there is a
problem while reading the properties of the given object.public Class getParameterDefinition(String name)
getParameterDefinition in interface ObjectDescriptiongetParameterDefinition in class AbstractObjectDescriptionname - the definition name.public Iterator getParameterNames()
getParameterNames in interface ObjectDescriptiongetParameterNames in class AbstractObjectDescriptionpublic ObjectDescription getInstance()
getInstance in interface ObjectDescriptiongetInstance in class AbstractObjectDescriptionCopyright © 2009-2012 jtstand.com. All Rights Reserved.