Package org.drools.mvel.accessors
Class BaseByteClassFieldWriter
java.lang.Object
org.drools.core.base.BaseClassFieldWriter
org.drools.mvel.accessors.BaseByteClassFieldWriter
- All Implemented Interfaces:
Externalizable,Serializable,org.drools.base.rule.accessor.WriteAccessor
A Base class for primitive byte class field
writer. This class centralizes type conversions.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseByteClassFieldWriter(int index, Class<?> fieldType, org.drools.base.base.ValueType valueType) This constructor is not supposed to be used from outside the class hierarchyBaseByteClassFieldWriter(Class<?> clazz, String fieldName) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBooleanValue(Object bean, boolean value) abstract voidsetByteValue(Object bean, byte value) voidsetCharValue(Object bean, char value) voidsetDoubleValue(Object bean, double value) voidsetFloatValue(Object bean, float value) voidsetIntValue(Object bean, int value) voidsetLongValue(Object bean, long value) voidsetShortValue(Object bean, short value) voidMethods inherited from class org.drools.core.base.BaseClassFieldWriter
equals, getFieldType, getIndex, getValueType, hashCode, readExternal, writeExternal
-
Constructor Details
-
BaseByteClassFieldWriter
-
BaseByteClassFieldWriter
protected BaseByteClassFieldWriter(int index, Class<?> fieldType, org.drools.base.base.ValueType valueType) This constructor is not supposed to be used from outside the class hierarchy- Parameters:
index-fieldType-valueType-
-
BaseByteClassFieldWriter
public BaseByteClassFieldWriter()
-
-
Method Details
-
setValue
-
setBooleanValue
-
setByteValue
-
setCharValue
-
setDoubleValue
-
setFloatValue
-
setIntValue
-
setLongValue
-
setShortValue
-
getNativeWriteMethod
-