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

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


org.drools.base.extractors
Class SelfReferenceClassFieldExtractor

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

public class SelfReferenceClassFieldExtractor
extends BaseObjectClassFieldExtractor

A special field extractor for the self reference "this".

Author:
etirelli
See Also:
Serialized Form

Constructor Summary
SelfReferenceClassFieldExtractor(Class clazz, String fieldName)
           
 
Method Summary
 Object getValue(Object object)
           
 boolean isNullValue(Object object)
           
 
Methods inherited from class org.drools.base.extractors.BaseObjectClassFieldExtractor
getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIntValue, getLongValue, getNativeReadMethod, getShortValue
 
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

SelfReferenceClassFieldExtractor

public SelfReferenceClassFieldExtractor(Class clazz,
                                        String fieldName)
Method Detail

getValue

public Object getValue(Object object)
Specified by:
getValue in interface Extractor
Specified by:
getValue in class BaseObjectClassFieldExtractor

isNullValue

public boolean isNullValue(Object object)
Specified by:
isNullValue in interface Extractor
Overrides:
isNullValue in class BaseObjectClassFieldExtractor


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