public class ArrayElementReader extends Object implements AcceptsReadAccessor, InternalReadAccessor, ClassWireable, Externalizable
Constructor and Description |
---|
ArrayElementReader() |
ArrayElementReader(InternalReadAccessor arrayExtractor,
int index,
Class<?> type) |
public ArrayElementReader()
public ArrayElementReader(InternalReadAccessor arrayExtractor, int index, Class<?> type)
public Class<?> getExtractToClass()
getExtractToClass
in interface ReadAccessor
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 void setReadAccessor(InternalReadAccessor readAccessor)
setReadAccessor
in interface AcceptsReadAccessor
public InternalReadAccessor getReadAccessor()
public String getExtractToClassName()
getExtractToClassName
in interface ReadAccessor
public boolean getBooleanValue(InternalWorkingMemory workingMemory, Object object)
getBooleanValue
in interface InternalReadAccessor
public byte getByteValue(InternalWorkingMemory workingMemory, Object object)
getByteValue
in interface InternalReadAccessor
public char getCharValue(InternalWorkingMemory workingMemory, Object object)
getCharValue
in interface InternalReadAccessor
public double getDoubleValue(InternalWorkingMemory workingMemory, Object object)
getDoubleValue
in interface InternalReadAccessor
public float getFloatValue(InternalWorkingMemory workingMemory, Object object)
getFloatValue
in interface InternalReadAccessor
public int getIntValue(InternalWorkingMemory workingMemory, Object object)
getIntValue
in interface InternalReadAccessor
public long getLongValue(InternalWorkingMemory workingMemory, Object object)
getLongValue
in interface InternalReadAccessor
public Method getNativeReadMethod()
getNativeReadMethod
in interface ReadAccessor
public String getNativeReadMethodName()
getNativeReadMethodName
in interface ReadAccessor
public short getShortValue(InternalWorkingMemory workingMemory, Object object)
getShortValue
in interface InternalReadAccessor
public Object getValue(InternalWorkingMemory workingMemory, Object object)
getValue
in interface InternalReadAccessor
public BigDecimal getBigDecimalValue(InternalWorkingMemory workingMemory, Object object)
getBigDecimalValue
in interface InternalReadAccessor
public BigInteger getBigIntegerValue(InternalWorkingMemory workingMemory, Object object)
getBigIntegerValue
in interface InternalReadAccessor
public ValueType getValueType()
getValueType
in interface ReadAccessor
public boolean isNullValue(InternalWorkingMemory workingMemory, Object object)
isNullValue
in interface InternalReadAccessor
public int getHashCode(InternalWorkingMemory workingMemory, Object object)
getHashCode
in interface InternalReadAccessor
public boolean isGlobal()
isGlobal
in interface InternalReadAccessor
public boolean isSelfReference()
isSelfReference
in interface InternalReadAccessor
public boolean getBooleanValue(Object object)
getBooleanValue
in interface ReadAccessor
public byte getByteValue(Object object)
getByteValue
in interface ReadAccessor
public char getCharValue(Object object)
getCharValue
in interface ReadAccessor
public double getDoubleValue(Object object)
getDoubleValue
in interface ReadAccessor
public float getFloatValue(Object object)
getFloatValue
in interface ReadAccessor
public int getHashCode(Object object)
getHashCode
in interface ReadAccessor
public int getIndex()
getIndex
in interface ReadAccessor
public int getIntValue(Object object)
getIntValue
in interface ReadAccessor
public long getLongValue(Object object)
getLongValue
in interface ReadAccessor
public short getShortValue(Object object)
getShortValue
in interface ReadAccessor
public Object getValue(Object object)
getValue
in interface ReadAccessor
public boolean isNullValue(Object object)
isNullValue
in interface ReadAccessor
public BigDecimal getBigDecimalValue(Object object)
getBigDecimalValue
in interface ReadAccessor
public BigInteger getBigIntegerValue(Object object)
getBigIntegerValue
in interface ReadAccessor
public void wire(Class<?> klass)
wire
in interface ClassWireable
public String getClassName()
getClassName
in interface ClassWireable
public Class<?> getClassType()
getClassType
in interface ClassWireable
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.