org.drools.spi
Class PatternExtractor
java.lang.Object
org.drools.spi.PatternExtractor
- All Implemented Interfaces:
- java.io.Serializable, Extractor
public class PatternExtractor
- extends java.lang.Object
- implements Extractor
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object obj)
|
boolean |
getBooleanValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
byte |
getByteValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
char |
getCharValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
double |
getDoubleValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
java.lang.Class |
getExtractToClass()
|
java.lang.String |
getExtractToClassName()
|
float |
getFloatValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
int |
getHashCode(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
int |
getIntValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
long |
getLongValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
java.lang.reflect.Method |
getNativeReadMethod()
|
ObjectType |
getObjectType()
|
short |
getShortValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
java.lang.Object |
getValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
ValueType |
getValueType()
|
int |
hashCode()
|
boolean |
isGlobal()
|
boolean |
isNullValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PatternExtractor
public PatternExtractor(ObjectType objectType)
getValue
public java.lang.Object getValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getValue
in interface Extractor
getObjectType
public ObjectType getObjectType()
getExtractToClass
public java.lang.Class getExtractToClass()
- Specified by:
getExtractToClass
in interface Extractor
getExtractToClassName
public java.lang.String getExtractToClassName()
- Specified by:
getExtractToClassName
in interface Extractor
getValueType
public ValueType getValueType()
- Specified by:
getValueType
in interface Extractor
getBooleanValue
public boolean getBooleanValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getBooleanValue
in interface Extractor
getByteValue
public byte getByteValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getByteValue
in interface Extractor
getCharValue
public char getCharValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getCharValue
in interface Extractor
getDoubleValue
public double getDoubleValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getDoubleValue
in interface Extractor
getFloatValue
public float getFloatValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getFloatValue
in interface Extractor
getIntValue
public int getIntValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getIntValue
in interface Extractor
getLongValue
public long getLongValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getLongValue
in interface Extractor
getShortValue
public short getShortValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getShortValue
in interface Extractor
getNativeReadMethod
public java.lang.reflect.Method getNativeReadMethod()
- Specified by:
getNativeReadMethod
in interface Extractor
isNullValue
public boolean isNullValue(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
isNullValue
in interface Extractor
getHashCode
public int getHashCode(InternalWorkingMemory workingMemory,
java.lang.Object object)
- Specified by:
getHashCode
in interface Extractor
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal
in interface Extractor