当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
GlobalExtractor (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.spi
Class GlobalExtractor
java.lang.Object
org.drools.spi.GlobalExtractor
- All Implemented Interfaces:
- Serializable, Extractor
public class GlobalExtractor
- extends Object
- implements Extractor
This is a dummy extractor used during rule compilation and build. It is not
supposed to be used to extract real global values during runtime, so
all getValueXXX() methods will raise unsupported operation exceptions.
- Author:
- etirelli
- See Also:
- Serialized Form
GlobalExtractor
public GlobalExtractor(String key,
Map map)
getValue
public Object getValue(Object object)
- Specified by:
getValue
in interface Extractor
getObjectType
public ObjectType getObjectType()
getExtractToClass
public Class getExtractToClass()
- Specified by:
getExtractToClass
in interface Extractor
getValueType
public ValueType getValueType()
- Specified by:
getValueType
in interface Extractor
getBooleanValue
public boolean getBooleanValue(Object object)
- Specified by:
getBooleanValue
in interface Extractor
getByteValue
public byte getByteValue(Object object)
- Specified by:
getByteValue
in interface Extractor
getCharValue
public char getCharValue(Object object)
- Specified by:
getCharValue
in interface Extractor
getDoubleValue
public double getDoubleValue(Object object)
- Specified by:
getDoubleValue
in interface Extractor
getFloatValue
public float getFloatValue(Object object)
- Specified by:
getFloatValue
in interface Extractor
getIntValue
public int getIntValue(Object object)
- Specified by:
getIntValue
in interface Extractor
getLongValue
public long getLongValue(Object object)
- Specified by:
getLongValue
in interface Extractor
getShortValue
public short getShortValue(Object object)
- Specified by:
getShortValue
in interface Extractor
getNativeReadMethod
public Method getNativeReadMethod()
- Specified by:
getNativeReadMethod
in interface Extractor
getHashCode
public int getHashCode(Object object)
- Specified by:
getHashCode
in interface Extractor
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
isNullValue
public boolean isNullValue(Object object)
- Specified by:
isNullValue
in interface Extractor
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.