org.drools.base.extractors
Class BaseShortClassFieldExtractor

java.lang.Object
  extended by org.drools.base.BaseClassFieldExtractor
      extended by org.drools.base.extractors.BaseShortClassFieldExtractor
All Implemented Interfaces:
java.io.Serializable, Extractor, FieldExtractor

public abstract class BaseShortClassFieldExtractor
extends BaseClassFieldExtractor

See Also:
Serialized Form

Constructor Summary
  BaseShortClassFieldExtractor(java.lang.Class clazz, java.lang.String fieldName)
           
protected BaseShortClassFieldExtractor(int index, java.lang.Class fieldType, ValueType valueType)
          This constructor is not supposed to be used from outside the class hirarchy
 
Method Summary
 boolean getBooleanValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 byte getByteValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 char getCharValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 double getDoubleValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 float getFloatValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 int getHashCode(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 int getIntValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 long getLongValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 java.lang.reflect.Method getNativeReadMethod()
           
abstract  short getShortValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 java.lang.Object getValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 boolean isNullValue(InternalWorkingMemory workingMemory, java.lang.Object object)
           
 
Methods inherited from class org.drools.base.BaseClassFieldExtractor
equals, getExtractToClass, getExtractToClassName, getIndex, getValueType, hashCode, isGlobal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseShortClassFieldExtractor

public BaseShortClassFieldExtractor(java.lang.Class clazz,
                                    java.lang.String fieldName)

BaseShortClassFieldExtractor

protected BaseShortClassFieldExtractor(int index,
                                       java.lang.Class fieldType,
                                       ValueType valueType)
This constructor is not supposed to be used from outside the class hirarchy

Parameters:
index -
fieldType -
valueType -
Method Detail

getValue

public java.lang.Object getValue(InternalWorkingMemory workingMemory,
                                 java.lang.Object object)

getBooleanValue

public boolean getBooleanValue(InternalWorkingMemory workingMemory,
                               java.lang.Object object)

getByteValue

public byte getByteValue(InternalWorkingMemory workingMemory,
                         java.lang.Object object)

getCharValue

public char getCharValue(InternalWorkingMemory workingMemory,
                         java.lang.Object object)

getDoubleValue

public double getDoubleValue(InternalWorkingMemory workingMemory,
                             java.lang.Object object)

getFloatValue

public float getFloatValue(InternalWorkingMemory workingMemory,
                           java.lang.Object object)

getIntValue

public int getIntValue(InternalWorkingMemory workingMemory,
                       java.lang.Object object)

getLongValue

public long getLongValue(InternalWorkingMemory workingMemory,
                         java.lang.Object object)

getShortValue

public abstract short getShortValue(InternalWorkingMemory workingMemory,
                                    java.lang.Object object)

isNullValue

public boolean isNullValue(InternalWorkingMemory workingMemory,
                           java.lang.Object object)

getNativeReadMethod

public java.lang.reflect.Method getNativeReadMethod()

getHashCode

public int getHashCode(InternalWorkingMemory workingMemory,
                       java.lang.Object object)