Drools :: Core 6.0.0.Beta5

org.drools.core.spi
Class SelfEventExtractor

java.lang.Object
  extended by org.drools.core.base.BaseClassFieldReader
      extended by org.drools.core.base.extractors.BaseObjectClassFieldReader
          extended by org.drools.core.spi.SelfEventExtractor
All Implemented Interfaces:
Externalizable, Serializable, Acceptor, AcceptsClassObjectType, InternalReadAccessor, ReadAccessor

public class SelfEventExtractor
extends BaseObjectClassFieldReader
implements InternalReadAccessor, AcceptsClassObjectType, Externalizable

See Also:
Serialized Form

Constructor Summary
SelfEventExtractor()
           
SelfEventExtractor(ObjectType objectType)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<?> getExtractToClass()
           
 String getExtractToClassName()
           
 Method getNativeReadMethod()
           
 String getNativeReadMethodName()
           
 ObjectType getObjectType()
           
 Object getValue(InternalWorkingMemory workingMemory, Object object)
           
 int hashCode()
           
 boolean isGlobal()
           
 boolean isSelfReference()
           
 void readExternal(ObjectInput in)
           
 void setClassObjectType(ClassObjectType objectType)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.drools.core.base.extractors.BaseObjectClassFieldReader
getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIntValue, getLongValue, getShortValue, isNullValue
 
Methods inherited from class org.drools.core.base.BaseClassFieldReader
getBigDecimalValue, getBigDecimalValue, getBigIntegerValue, getBigIntegerValue, getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIndex, getIntValue, getLongValue, getShortValue, getValue, getValueType, isNullValue, setFieldType, setIndex, setValueType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.core.spi.InternalReadAccessor
getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIntValue, getLongValue, getShortValue, isNullValue
 
Methods inherited from interface org.drools.core.spi.ReadAccessor
getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIndex, getIntValue, getLongValue, getShortValue, getValue, getValueType, isNullValue
 

Constructor Detail

SelfEventExtractor

public SelfEventExtractor()

SelfEventExtractor

public SelfEventExtractor(ObjectType objectType)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

setClassObjectType

public void setClassObjectType(ClassObjectType objectType)
Specified by:
setClassObjectType in interface AcceptsClassObjectType

getValue

public Object getValue(InternalWorkingMemory workingMemory,
                       Object object)
Specified by:
getValue in interface InternalReadAccessor
Specified by:
getValue in class BaseObjectClassFieldReader

getObjectType

public ObjectType getObjectType()

getExtractToClass

public Class<?> getExtractToClass()
Specified by:
getExtractToClass in interface ReadAccessor
Overrides:
getExtractToClass in class BaseClassFieldReader

getExtractToClassName

public String getExtractToClassName()
Specified by:
getExtractToClassName in interface ReadAccessor
Overrides:
getExtractToClassName in class BaseClassFieldReader

getNativeReadMethod

public Method getNativeReadMethod()
Specified by:
getNativeReadMethod in interface ReadAccessor
Overrides:
getNativeReadMethod in class BaseObjectClassFieldReader

getNativeReadMethodName

public String getNativeReadMethodName()
Specified by:
getNativeReadMethodName in interface ReadAccessor
Overrides:
getNativeReadMethodName in class BaseObjectClassFieldReader

hashCode

public int hashCode()
Overrides:
hashCode in class BaseClassFieldReader

equals

public boolean equals(Object obj)
Overrides:
equals in class BaseClassFieldReader

isGlobal

public boolean isGlobal()
Specified by:
isGlobal in interface InternalReadAccessor
Overrides:
isGlobal in class BaseClassFieldReader

isSelfReference

public boolean isSelfReference()
Specified by:
isSelfReference in interface InternalReadAccessor
Overrides:
isSelfReference in class BaseClassFieldReader

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.