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

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


org.drools.base.extractors
Class BaseBooleanClassFieldExtractor

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

public abstract class BaseBooleanClassFieldExtractor
extends BaseClassFieldExtractor

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

Author:
etirelli
See Also:
Serialized Form

Constructor Summary
  BaseBooleanClassFieldExtractor(Class clazz, String fieldName)
           
protected BaseBooleanClassFieldExtractor(int index, Class fieldType, ValueType valueType)
          This constructor is not supposed to be used from outside the class hirarchy
 
Method Summary
abstract  boolean getBooleanValue(Object object)
           
 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

BaseBooleanClassFieldExtractor

public BaseBooleanClassFieldExtractor(Class clazz,
                                      String fieldName)

BaseBooleanClassFieldExtractor

protected BaseBooleanClassFieldExtractor(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 abstract boolean getBooleanValue(Object object)

getByteValue

public 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.