Drools :: Core 6.0.0.Beta5

org.drools.core.spi
Class SelfNumberExtractor

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

public class SelfNumberExtractor
extends BaseNumberClassFieldReader
implements InternalReadAccessor, AcceptsClassObjectType, Externalizable

See Also:
Serialized Form

Constructor Summary
SelfNumberExtractor()
           
SelfNumberExtractor(ObjectType objectType)
           
 
Method Summary
 boolean equals(Object obj)
           
 Class<?> getExtractToClass()
           
 String getExtractToClassName()
           
 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.BaseNumberClassFieldReader
getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getHashCode, getIntValue, getLongValue, getNativeReadMethod, getNativeReadMethodName, 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, getNativeReadMethod, getNativeReadMethodName, getShortValue, getValue, getValueType, isNullValue
 

Constructor Detail

SelfNumberExtractor

public SelfNumberExtractor()

SelfNumberExtractor

public SelfNumberExtractor(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 BaseNumberClassFieldReader

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

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.