public abstract class BaseClassFieldWriter extends Object implements WriteAccessor
Modifier | Constructor and Description |
---|---|
|
BaseClassFieldWriter() |
|
BaseClassFieldWriter(Class<?> clazz,
String fieldName)
This is the constructor to be used
|
protected |
BaseClassFieldWriter(int index,
Class<?> fieldType,
ValueType valueType)
This constructor is not supposed to be used from outside the class hirarchy
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Class<?> |
getFieldType() |
int |
getIndex() |
ValueType |
getValueType() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setBigDecimalValue(Object bean,
BigDecimal value) |
void |
setBigIntegerValue(Object bean,
BigInteger value) |
void |
writeExternal(ObjectOutput out) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getNativeWriteMethod, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setValue
public BaseClassFieldWriter()
protected BaseClassFieldWriter(int index, Class<?> fieldType, ValueType valueType)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public int getIndex()
getIndex
in interface WriteAccessor
public Class<?> getFieldType()
getFieldType
in interface WriteAccessor
public ValueType getValueType()
getValueType
in interface WriteAccessor
public void setBigDecimalValue(Object bean, BigDecimal value)
setBigDecimalValue
in interface WriteAccessor
public void setBigIntegerValue(Object bean, BigInteger value)
setBigIntegerValue
in interface WriteAccessor
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.