public class ByteObjectDescription extends AbstractObjectDescription
Byte
object.Constructor and Description |
---|
ByteObjectDescription()
Creates a new object description.
|
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates a new object (
Byte ) 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.
|
clone, configure, convertPrimitiveClass, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, setParameter, setParameterDefinition
public ByteObjectDescription()
public Object createObject()
Byte
) based on this description object.Byte
object.public void setParameterFromObject(Object o) throws ObjectFactoryException
o
- the object (should be an instance of Byte
.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.