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

BaseClassFieldExtractor - JBoss RULES 3.0.6 API 英文版文档


org.drools.base
Class BaseClassFieldExtractor

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

public abstract class BaseClassFieldExtractor
extends java.lang.Object
implements FieldExtractor

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

See Also:
Serialized Form

Constructor Summary
BaseClassFieldExtractor(java.lang.Class clazz, java.lang.String fieldName)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
protected  java.lang.Class getFieldType()
           
 int getIndex()
           
 ObjectType getObjectType()
           
abstract  java.lang.Object getValue(java.lang.Object object)
          This will be implemented by the dynamic classes
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseClassFieldExtractor

public BaseClassFieldExtractor(java.lang.Class clazz,
                               java.lang.String fieldName)
Method Detail

getIndex

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

getFieldType

protected java.lang.Class getFieldType()

getValue

public abstract java.lang.Object getValue(java.lang.Object object)
This will be implemented by the dynamic classes

Specified by:
getValue in interface Extractor

getObjectType

public ObjectType getObjectType()
Specified by:
getObjectType in interface Extractor

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object