public abstract class BaseClassFieldReader extends Object implements InternalReadAccessor, Externalizable
Modifier | Constructor and Description |
---|---|
|
BaseClassFieldReader() |
protected |
BaseClassFieldReader(int index,
Class<?> fieldType,
ValueType valueType)
This constructor is not supposed to be used from outside the class hirarchy
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIntValue, getLongValue, getShortValue, getValue, isNullValue
getNativeReadMethod, getNativeReadMethodName
public int getIndex()
getIndex
in interface ReadAccessor
public void setIndex(int i)
public Class<?> getExtractToClass()
getExtractToClass
in interface ReadAccessor
public String getExtractToClassName()
getExtractToClassName
in interface ReadAccessor
public void setFieldType(Class<?> fieldType)
public void setValueType(ValueType valueType)
public ValueType getValueType()
getValueType
in interface ReadAccessor
public boolean isGlobal()
isGlobal
in interface InternalReadAccessor
public boolean isSelfReference()
isSelfReference
in interface InternalReadAccessor
public Object getValue(Object object)
getValue
in interface ReadAccessor
public char getCharValue(Object object)
getCharValue
in interface ReadAccessor
public int getIntValue(Object object)
getIntValue
in interface ReadAccessor
public byte getByteValue(Object object)
getByteValue
in interface ReadAccessor
public short getShortValue(Object object)
getShortValue
in interface ReadAccessor
public long getLongValue(Object object)
getLongValue
in interface ReadAccessor
public float getFloatValue(Object object)
getFloatValue
in interface ReadAccessor
public double getDoubleValue(Object object)
getDoubleValue
in interface ReadAccessor
public boolean getBooleanValue(Object object)
getBooleanValue
in interface ReadAccessor
public BigDecimal getBigDecimalValue(Object object)
getBigDecimalValue
in interface ReadAccessor
public BigInteger getBigIntegerValue(Object object)
getBigIntegerValue
in interface ReadAccessor
public BigDecimal getBigDecimalValue(InternalWorkingMemory workingMemory, Object object)
getBigDecimalValue
in interface InternalReadAccessor
public BigInteger getBigIntegerValue(InternalWorkingMemory workingMemory, Object object)
getBigIntegerValue
in interface InternalReadAccessor
public boolean isNullValue(Object object)
isNullValue
in interface ReadAccessor
public int getHashCode(Object object)
getHashCode
in interface ReadAccessor
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.