Package org.drools.base.base
Class BaseClassFieldReader
java.lang.Object
org.drools.base.base.BaseClassFieldReader
- All Implemented Interfaces:
Externalizable,Serializable,ReadAccessor
- Direct Known Subclasses:
BaseObjectClassFieldReader
This is the supertype for the ASM generated classes for accessing a field.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseClassFieldReader(int index, Class<?> fieldType, ValueType valueType) This constructor is not supposed to be used from outside the class hirarchy -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<?>intgetHashCode(Object object) intgetIndex()inthashCode()booleanisGlobal()booleanvoidvoidsetFieldType(Class<?> fieldType) voidsetIndex(int i) voidsetValueType(ValueType valueType) voidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.base.rule.accessor.ReadAccessor
getBooleanValue, getDecimalValue, getHashCode, getNativeReadMethod, getNativeReadMethodName, getValue, getWholeNumberValue, isNullValue
-
Constructor Details
-
BaseClassFieldReader
public BaseClassFieldReader() -
BaseClassFieldReader
This constructor is not supposed to be used from outside the class hirarchy
-
-
Method Details
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceReadAccessor
-
setIndex
public void setIndex(int i) -
getExtractToClass
- Specified by:
getExtractToClassin interfaceReadAccessor
-
getExtractToClassName
- Specified by:
getExtractToClassNamein interfaceReadAccessor
-
setFieldType
-
setValueType
-
getValueType
- Specified by:
getValueTypein interfaceReadAccessor
-
isGlobal
public boolean isGlobal()- Specified by:
isGlobalin interfaceReadAccessor
-
isSelfReference
public boolean isSelfReference()- Specified by:
isSelfReferencein interfaceReadAccessor
-
hashCode
public int hashCode() -
equals
-
getValue
- Specified by:
getValuein interfaceReadAccessor
-
getHashCode
- Specified by:
getHashCodein interfaceReadAccessor
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-