Class JavaPrefixExtractor
- java.lang.Object
- 
- jadex.rules.rulesystem.rete.extractors.ObjectExtractor
- 
- jadex.rules.rulesystem.rete.extractors.JavaPrefixExtractor
 
 
- 
- All Implemented Interfaces:
- IValueExtractor
 
 public class JavaPrefixExtractor extends ObjectExtractor Extractor for a Java attribute value.
- 
- 
Field Summary- 
Fields inherited from class jadex.rules.rulesystem.rete.extractors.ObjectExtractorattr, key
 
- 
 - 
Constructor SummaryConstructors Constructor Description JavaPrefixExtractor(OAVJavaAttributeType attr)Create a new extractor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue(Tuple left, java.lang.Object right, java.lang.Object prefix, IOAVState state)Get the value of an attribute from an object or tuple.java.lang.StringtoString()Get the string representation.- 
Methods inherited from class jadex.rules.rulesystem.rete.extractors.ObjectExtractorequals, getAttribute, getIndirectAttributes, getRelevantAttributes, hashCode, isAffected
 
- 
 
- 
- 
- 
Constructor Detail- 
JavaPrefixExtractorpublic JavaPrefixExtractor(OAVJavaAttributeType attr) Create a new extractor.
 
- 
 - 
Method Detail- 
getValuepublic java.lang.Object getValue(Tuple left, java.lang.Object right, java.lang.Object prefix, IOAVState state) Get the value of an attribute from an object or tuple.- Specified by:
- getValuein interface- IValueExtractor
- Overrides:
- getValuein class- ObjectExtractor
- Parameters:
- left- The left input tuple.
- right- The right input object.
- prefix- The prefix input object (last value from previous extractor in a chain).
- state- The working memory.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- ObjectExtractor
- Returns:
- The string representation.
 
 
- 
 
-