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

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


org.drools.base
Class BaseClassFieldExtractor

java.lang.Object
  extended by org.drools.base.BaseClassFieldExtractor
All Implemented Interfaces:
Serializable, Extractor, FieldExtractor
Direct Known Subclasses:
BaseBooleanClassFieldExtractor, BaseByteClassFieldExtractor, BaseCharClassFieldExtractor, BaseDoubleClassFieldExtractor, BaseFloatClassFieldExtractor, BaseIntClassFieldExtractor, BaseLongClassFieldExtractors, BaseObjectClassFieldExtractor, BaseShortClassFieldExtractor

public abstract class BaseClassFieldExtractor
extends Object
implements FieldExtractor

This is the supertype for the ASM generated classes for accessing a field.

Author:
Alexander Bagerman
See Also:
Serialized Form

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

Constructor Detail

BaseClassFieldExtractor

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

Parameters:
index -
fieldType -
valueType -

BaseClassFieldExtractor

public BaseClassFieldExtractor(Class clazz,
                               String fieldName)
This is the constructor to be used

Parameters:
clazz -
fieldName -
Method Detail

getIndex

public int getIndex()
Specified by:
getIndex in interface FieldExtractor

getExtractToClass

public Class getExtractToClass()
Specified by:
getExtractToClass in interface Extractor

getValueType

public ValueType getValueType()
Specified by:
getValueType in interface Extractor

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object


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