站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

BaseByteClassFieldExtractor (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.base.extractors
Class BaseByteClassFieldExtractor

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

public abstract class BaseByteClassFieldExtractor
extends BaseClassFieldExtractor

A Base class for primitive byte class field extractors. This class centralizes type conversions.

Author:
etirelli
See Also:
Serialized Form

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

Constructor Detail

BaseByteClassFieldExtractor

public BaseByteClassFieldExtractor(Class clazz,
                                   String fieldName)

BaseByteClassFieldExtractor

protected BaseByteClassFieldExtractor(int index,
                                      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 Object getValue(Object object)

getBooleanValue

public boolean getBooleanValue(Object object)

getByteValue

public abstract byte getByteValue(Object object)

getCharValue

public char getCharValue(Object object)

getDoubleValue

public double getDoubleValue(Object object)

getFloatValue

public float getFloatValue(Object object)

getIntValue

public int getIntValue(Object object)

getLongValue

public long getLongValue(Object object)

getShortValue

public short getShortValue(Object object)

isNullValue

public boolean isNullValue(Object object)

getNativeReadMethod

public Method getNativeReadMethod()

getHashCode

public int getHashCode(Object object)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.