Package org.drools.core.spi
Class SelfDateExtractor
- java.lang.Object
-
- org.drools.core.base.BaseClassFieldReader
-
- org.drools.core.base.extractors.BaseDateClassFieldReader
-
- org.drools.core.spi.SelfDateExtractor
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Acceptor
,AcceptsClassObjectType
,InternalReadAccessor
,ReadAccessor
public class SelfDateExtractor extends BaseDateClassFieldReader implements InternalReadAccessor, AcceptsClassObjectType, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelfDateExtractor()
SelfDateExtractor(ClassObjectType objectType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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.BaseDateClassFieldReader
getBooleanValue, getByteValue, getCharValue, getDate, 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, getExtractToClass, getExtractToClassName, 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, getExtractToClass, getExtractToClassName, getFloatValue, getHashCode, getIndex, getIntValue, getLongValue, getNativeReadMethod, getNativeReadMethodName, getShortValue, getValue, getValueType, isNullValue
-
-
-
-
Constructor Detail
-
SelfDateExtractor
public SelfDateExtractor()
-
SelfDateExtractor
public SelfDateExtractor(ClassObjectType objectType)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classBaseClassFieldReader
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classBaseClassFieldReader
- Throws:
IOException
-
setClassObjectType
public void setClassObjectType(ClassObjectType objectType)
- Specified by:
setClassObjectType
in interfaceAcceptsClassObjectType
-
getValue
public Object getValue(InternalWorkingMemory workingMemory, Object object)
- Specified by:
getValue
in interfaceInternalReadAccessor
- Overrides:
getValue
in classBaseDateClassFieldReader
-
getObjectType
public ObjectType getObjectType()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseClassFieldReader
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseClassFieldReader
-
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal
in interfaceInternalReadAccessor
- Overrides:
isGlobal
in classBaseClassFieldReader
-
isSelfReference
public boolean isSelfReference()
- Specified by:
isSelfReference
in interfaceInternalReadAccessor
- Overrides:
isSelfReference
in classBaseClassFieldReader
-
-