public class ArrayObjectDescription extends AbstractObjectDescription
| Constructor and Description |
|---|
ArrayObjectDescription(java.lang.Class c)
Constructs a new array objet description for the given array class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createObject()
Creates an object based on the description.
|
ObjectDescription |
getInstance()
Returns a new instance of the object description.
|
java.lang.Class |
getParameterDefinition(java.lang.String name)
Returns a parameter definition.
|
java.util.Iterator |
getParameterNames()
Returns an iterator for the parameter names.
|
void |
setParameterFromObject(java.lang.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(java.lang.Class c)
Note: throws IllegalArgumentException if the given class is no array.
c - the array class object.public java.lang.Object createObject()
public void setParameterFromObject(java.lang.Object o) throws ObjectFactoryException
o - the object.ObjectFactoryException - if there is a
problem while reading the properties of the given object.public java.lang.Class getParameterDefinition(java.lang.String name)
getParameterDefinition in interface ObjectDescriptiongetParameterDefinition in class AbstractObjectDescriptionname - the definition name.public java.util.Iterator getParameterNames()
getParameterNames in interface ObjectDescriptiongetParameterNames in class AbstractObjectDescriptionpublic ObjectDescription getInstance()
getInstance in interface ObjectDescriptiongetInstance in class AbstractObjectDescription