public class BooleanObjectDescription extends AbstractObjectDescription
Boolean
object.Constructor and Description |
---|
BooleanObjectDescription()
Creates a new object description.
|
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates a new
Boolean based on the settings of this description object. |
boolean |
equals(Object o)
Tests for equality.
|
int |
hashCode()
Returns a hash code.
|
void |
setParameterFromObject(Object o)
Sets the description object parameters to match the supplied object (which should be an instance of
Boolean . |
clone, configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
public BooleanObjectDescription()
public Object createObject()
Boolean
based on the settings of this description object.Boolean
.public void setParameterFromObject(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(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
Copyright © 2017 Hitachi Vantara. All rights reserved.