java.io.Serializable
, java.lang.Cloneable
, ObjectDescription
public class BooleanObjectDescription extends AbstractObjectDescription
Boolean
object.Constructor | Description |
---|---|
BooleanObjectDescription() |
Creates a new object description.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
createObject() |
Creates a new
Boolean based on the settings of this description object. |
boolean |
equals(java.lang.Object o) |
Tests for equality.
|
int |
hashCode() |
Returns a hash code.
|
void |
setParameterFromObject(java.lang.Object o) |
Sets the description object parameters to match the supplied object
(which should be an instance of
Boolean . |
configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
public BooleanObjectDescription()
public java.lang.Object createObject()
Boolean
based on the settings of this description object.Boolean
.public void setParameterFromObject(java.lang.Object o) throws ObjectFactoryException
Boolean
.o
- the object.ObjectFactoryException
- if there is a problem while reading the
properties of the given object.public boolean equals(java.lang.Object o)
equals
in interface ObjectDescription
equals
in class AbstractObjectDescription
o
- the object to test.public int hashCode()
hashCode
in interface ObjectDescription
hashCode
in class AbstractObjectDescription