public class LongObjectDescription extends AbstractObjectDescription
Long object.| Constructor and Description |
|---|
LongObjectDescription()
Creates a new object description.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createObject()
Creates an object based on this description.
|
boolean |
equals(java.lang.Object o)
Tests for equality.
|
int |
hashCode()
Returns a hash code.
|
void |
setParameterFromObject(java.lang.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 LongObjectDescription()
public java.lang.Object createObject()
public void setParameterFromObject(java.lang.Object o) throws ObjectFactoryException
o - the object (should be an instance of Long).ObjectFactoryException - if the object is not an instance of Long.public boolean equals(java.lang.Object o)
equals in interface ObjectDescriptionequals in class AbstractObjectDescriptiono - the object to test.public int hashCode()
hashCode in interface ObjectDescriptionhashCode in class AbstractObjectDescription