Package org.drools.core.base.extractors
Class BaseShortClassFieldWriter
- java.lang.Object
-
- org.drools.core.base.BaseClassFieldWriter
-
- org.drools.core.base.extractors.BaseShortClassFieldWriter
-
- All Implemented Interfaces:
Externalizable
,Serializable
,WriteAccessor
public abstract class BaseShortClassFieldWriter extends BaseClassFieldWriter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description BaseShortClassFieldWriter()
protected
BaseShortClassFieldWriter(int index, Class<?> fieldType, ValueType valueType)
This constructor is not supposed to be used from outside the class hierarchyBaseShortClassFieldWriter(Class<?> clazz, String fieldName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Method
getNativeWriteMethod()
void
setBooleanValue(Object bean, boolean value)
void
setByteValue(Object bean, byte value)
void
setCharValue(Object bean, char value)
void
setDoubleValue(Object bean, double value)
void
setFloatValue(Object bean, float value)
void
setIntValue(Object bean, int value)
void
setLongValue(Object bean, long value)
abstract void
setShortValue(Object object, short value)
void
setValue(Object bean, Object value)
-
Methods inherited from class org.drools.core.base.BaseClassFieldWriter
equals, getFieldType, getIndex, getValueType, hashCode, readExternal, setBigDecimalValue, setBigIntegerValue, writeExternal
-
-
-
-
Constructor Detail
-
BaseShortClassFieldWriter
protected BaseShortClassFieldWriter(int index, Class<?> fieldType, ValueType valueType)
This constructor is not supposed to be used from outside the class hierarchy- Parameters:
index
-fieldType
-valueType
-
-
BaseShortClassFieldWriter
public BaseShortClassFieldWriter()
-
-
Method Detail
-
setBooleanValue
public void setBooleanValue(Object bean, boolean value)
-
setByteValue
public void setByteValue(Object bean, byte value)
-
setCharValue
public void setCharValue(Object bean, char value)
-
setDoubleValue
public void setDoubleValue(Object bean, double value)
-
setFloatValue
public void setFloatValue(Object bean, float value)
-
setIntValue
public void setIntValue(Object bean, int value)
-
setLongValue
public void setLongValue(Object bean, long value)
-
setShortValue
public abstract void setShortValue(Object object, short value)
-
getNativeWriteMethod
public Method getNativeWriteMethod()
-
-