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 booleanequals(Object obj)ObjectTypegetObjectType()ObjectgetValue(InternalWorkingMemory workingMemory, Object object)inthashCode()booleanisGlobal()booleanisSelfReference()voidreadExternal(ObjectInput in)voidsetClassObjectType(ClassObjectType objectType)voidwriteExternal(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:
readExternalin interfaceExternalizable- Overrides:
readExternalin classBaseClassFieldReader- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classBaseClassFieldReader- Throws:
IOException
-
setClassObjectType
public void setClassObjectType(ClassObjectType objectType)
- Specified by:
setClassObjectTypein interfaceAcceptsClassObjectType
-
getValue
public Object getValue(InternalWorkingMemory workingMemory, Object object)
- Specified by:
getValuein interfaceInternalReadAccessor- Overrides:
getValuein classBaseDateClassFieldReader
-
getObjectType
public ObjectType getObjectType()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseClassFieldReader
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classBaseClassFieldReader
-
isGlobal
public boolean isGlobal()
- Specified by:
isGlobalin interfaceInternalReadAccessor- Overrides:
isGlobalin classBaseClassFieldReader
-
isSelfReference
public boolean isSelfReference()
- Specified by:
isSelfReferencein interfaceInternalReadAccessor- Overrides:
isSelfReferencein classBaseClassFieldReader
-
-