Package org.drools.core.base
Class BaseClassFieldWriter
java.lang.Object
org.drools.core.base.BaseClassFieldWriter
- All Implemented Interfaces:
Externalizable,Serializable,WriteAccessor
This is the supertype for the ASM generated classes for writing values into fields.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseClassFieldWriter(int index, Class<?> fieldType, ValueType valueType) This constructor is not supposed to be used from outside the class hirarchyBaseClassFieldWriter(Class<?> clazz, String fieldName) This is the constructor to be used -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.base.rule.accessor.WriteAccessor
getNativeWriteMethod, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setValue
-
Constructor Details
-
BaseClassFieldWriter
public BaseClassFieldWriter() -
BaseClassFieldWriter
This constructor is not supposed to be used from outside the class hirarchy -
BaseClassFieldWriter
This is the constructor to be used
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceWriteAccessor
-
getFieldType
- Specified by:
getFieldTypein interfaceWriteAccessor
-
getValueType
- Specified by:
getValueTypein interfaceWriteAccessor
-
hashCode
public int hashCode() -
equals
-