org.drools.spi
Class PatternExtractor
java.lang.Object
org.drools.spi.PatternExtractor
- All Implemented Interfaces:
- Externalizable, Serializable, Acceptor, AcceptsClassObjectType, InternalReadAccessor, ReadAccessor
public class PatternExtractor
- extends Object
- implements InternalReadAccessor, AcceptsClassObjectType, Externalizable
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object obj)
|
BigDecimal |
getBigDecimalValue(InternalWorkingMemory workingMemory,
Object object)
|
BigDecimal |
getBigDecimalValue(Object object)
|
BigInteger |
getBigIntegerValue(InternalWorkingMemory workingMemory,
Object object)
|
BigInteger |
getBigIntegerValue(Object object)
|
boolean |
getBooleanValue(InternalWorkingMemory workingMemory,
Object object)
|
boolean |
getBooleanValue(Object object)
|
byte |
getByteValue(InternalWorkingMemory workingMemory,
Object object)
|
byte |
getByteValue(Object object)
|
char |
getCharValue(InternalWorkingMemory workingMemory,
Object object)
|
char |
getCharValue(Object object)
|
double |
getDoubleValue(InternalWorkingMemory workingMemory,
Object object)
|
double |
getDoubleValue(Object object)
|
Class<?> |
getExtractToClass()
|
String |
getExtractToClassName()
|
float |
getFloatValue(InternalWorkingMemory workingMemory,
Object object)
|
float |
getFloatValue(Object object)
|
int |
getHashCode(InternalWorkingMemory workingMemory,
Object object)
|
int |
getHashCode(Object object)
|
int |
getIndex()
|
int |
getIntValue(InternalWorkingMemory workingMemory,
Object object)
|
int |
getIntValue(Object object)
|
long |
getLongValue(InternalWorkingMemory workingMemory,
Object object)
|
long |
getLongValue(Object object)
|
Method |
getNativeReadMethod()
|
ObjectType |
getObjectType()
|
short |
getShortValue(InternalWorkingMemory workingMemory,
Object object)
|
short |
getShortValue(Object object)
|
Object |
getValue(InternalWorkingMemory workingMemory,
Object object)
|
Object |
getValue(Object object)
|
ValueType |
getValueType()
|
int |
hashCode()
|
boolean |
isGlobal()
|
boolean |
isNullValue(InternalWorkingMemory workingMemory,
Object object)
|
boolean |
isNullValue(Object object)
|
boolean |
isSelfReference()
|
void |
readExternal(ObjectInput in)
|
void |
setClassObjectType(ClassObjectType objectType)
|
void |
writeExternal(ObjectOutput out)
|
PatternExtractor
public PatternExtractor()
PatternExtractor
public PatternExtractor(ObjectType objectType)
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
getObjectType
public ObjectType getObjectType()
getExtractToClass
public Class<?> getExtractToClass()
- Specified by:
getExtractToClass
in interface ReadAccessor
getExtractToClassName
public String getExtractToClassName()
- Specified by:
getExtractToClassName
in interface ReadAccessor
getValueType
public ValueType getValueType()
- Specified by:
getValueType
in interface ReadAccessor
getBooleanValue
public boolean getBooleanValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getBooleanValue
in interface InternalReadAccessor
getByteValue
public byte getByteValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getByteValue
in interface InternalReadAccessor
getCharValue
public char getCharValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getCharValue
in interface InternalReadAccessor
getDoubleValue
public double getDoubleValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getDoubleValue
in interface InternalReadAccessor
getFloatValue
public float getFloatValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getFloatValue
in interface InternalReadAccessor
getIntValue
public int getIntValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getIntValue
in interface InternalReadAccessor
getLongValue
public long getLongValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getLongValue
in interface InternalReadAccessor
getShortValue
public short getShortValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getShortValue
in interface InternalReadAccessor
getNativeReadMethod
public Method getNativeReadMethod()
- Specified by:
getNativeReadMethod
in interface ReadAccessor
isNullValue
public boolean isNullValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
isNullValue
in interface InternalReadAccessor
getHashCode
public int getHashCode(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getHashCode
in interface InternalReadAccessor
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal
in interface InternalReadAccessor
isSelfReference
public boolean isSelfReference()
- Specified by:
isSelfReference
in interface InternalReadAccessor
getBooleanValue
public boolean getBooleanValue(Object object)
- Specified by:
getBooleanValue
in interface ReadAccessor
getByteValue
public byte getByteValue(Object object)
- Specified by:
getByteValue
in interface ReadAccessor
getCharValue
public char getCharValue(Object object)
- Specified by:
getCharValue
in interface ReadAccessor
getDoubleValue
public double getDoubleValue(Object object)
- Specified by:
getDoubleValue
in interface ReadAccessor
getFloatValue
public float getFloatValue(Object object)
- Specified by:
getFloatValue
in interface ReadAccessor
getHashCode
public int getHashCode(Object object)
- Specified by:
getHashCode
in interface ReadAccessor
getIndex
public int getIndex()
- Specified by:
getIndex
in interface ReadAccessor
getIntValue
public int getIntValue(Object object)
- Specified by:
getIntValue
in interface ReadAccessor
getLongValue
public long getLongValue(Object object)
- Specified by:
getLongValue
in interface ReadAccessor
getShortValue
public short getShortValue(Object object)
- Specified by:
getShortValue
in interface ReadAccessor
getValue
public Object getValue(Object object)
- Specified by:
getValue
in interface ReadAccessor
getBigDecimalValue
public BigDecimal getBigDecimalValue(Object object)
- Specified by:
getBigDecimalValue
in interface ReadAccessor
getBigIntegerValue
public BigInteger getBigIntegerValue(Object object)
- Specified by:
getBigIntegerValue
in interface ReadAccessor
getBigDecimalValue
public BigDecimal getBigDecimalValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getBigDecimalValue
in interface InternalReadAccessor
getBigIntegerValue
public BigInteger getBigIntegerValue(InternalWorkingMemory workingMemory,
Object object)
- Specified by:
getBigIntegerValue
in interface InternalReadAccessor
isNullValue
public boolean isNullValue(Object object)
- Specified by:
isNullValue
in interface ReadAccessor
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.