public class CharacterObjectDescription extends AbstractObjectDescription
Character object.| Constructor and Description |
|---|
CharacterObjectDescription()
Creates a new object description.
|
| Modifier and Type | Method and 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.
|
configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinitionpublic CharacterObjectDescription()
public Object createObject()
Character) based on this description object.Character object.public void setParameterFromObject(Object o) throws ObjectFactoryException
o - the object (should be an instance of Character).ObjectFactoryException - if there is a
problem while reading the properties of the given object.public boolean equals(Object o)
equals in interface ObjectDescriptionequals in class AbstractObjectDescriptiono - the object to test.public int hashCode()
hashCode in interface ObjectDescriptionhashCode in class AbstractObjectDescriptionCopyright © 2009-2012 jtstand.com. All Rights Reserved.