| java.lang.Object org.drools.rule.Declaration
Method Summary | |
public boolean | equals(Object object) | public boolean | getBooleanValue(InternalWorkingMemory workingMemory, Object object) | public byte | getByteValue(InternalWorkingMemory workingMemory, Object object) | public char | getCharValue(InternalWorkingMemory workingMemory, Object object) | public double | getDoubleValue(InternalWorkingMemory workingMemory, Object object) | public Extractor | getExtractor() | public float | getFloatValue(InternalWorkingMemory workingMemory, Object object) | public int | getHashCode(InternalWorkingMemory workingMemory, Object object) | public String | getIdentifier() Retrieve the variable's identifier. | public int | getIntValue(InternalWorkingMemory workingMemory, Object object) | public long | getLongValue(InternalWorkingMemory workingMemory, Object object) | public Method | getNativeReadMethod() | public Object | getNonShadowedValue(InternalWorkingMemory workingMemory, Object object) | public Pattern | getPattern() | public short | getShortValue(InternalWorkingMemory workingMemory, Object object) | public Object | getValue(InternalWorkingMemory workingMemory, Object object) | public ValueType | getValueType() Retrieve the ValueType . | public int | hashCode() | public boolean | isGlobal() | protected boolean | isInternalFact() | public boolean | isPatternDeclaration() | public void | setPattern(Pattern pattern) | public String | toString() |
Declaration | public Declaration(String identifier, Extractor extractor, Pattern pattern)(Code) | | Construct.
Parameters: identifier - The name of the variable. Parameters: objectType - The type of this variable declaration. Parameters: order - The index within a rule. |
Declaration | public Declaration(String identifier, Extractor extractor, Pattern pattern, boolean internalFact)(Code) | | Construct.
Parameters: identifier - The name of the variable. Parameters: objectType - The type of this variable declaration. Parameters: order - The index within a rule. Parameters: internalFact - True if this is an internal fact created by the engine, like a collection resultof a collect CE |
getExtractor | public Extractor getExtractor()(Code) | | Returns the Extractor expression
|
getIdentifier | public String getIdentifier()(Code) | | Retrieve the variable's identifier.
The variable's identifier. |
getNativeReadMethod | public Method getNativeReadMethod()(Code) | | |
getPattern | public Pattern getPattern()(Code) | | Returns the index of the pattern
the pattern |
getValueType | public ValueType getValueType()(Code) | | Retrieve the ValueType .
The ValueType. |
hashCode | public int hashCode()(Code) | | |
isGlobal | public boolean isGlobal()(Code) | | |
isInternalFact | protected boolean isInternalFact()(Code) | | |
isPatternDeclaration | public boolean isPatternDeclaration()(Code) | | Returns true if this declaration is a pattern declaration
|
|
|