|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.rule.Declaration
public class Declaration
| Constructor Summary | |
|---|---|
Declaration()
|
|
Declaration(String identifier,
InternalReadAccessor extractor,
Pattern pattern)
Construct. |
|
Declaration(String identifier,
InternalReadAccessor extractor,
Pattern pattern,
boolean internalFact)
Construct. |
|
Declaration(String identifier,
Pattern pattern)
Construct. |
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Declaration()
public Declaration(String identifier,
Pattern pattern)
identifier - The name of the variable.objectType - The type of this variable declaration.order - The index within a rule.
public Declaration(String identifier,
InternalReadAccessor extractor,
Pattern pattern)
identifier - The name of the variable.objectType - The type of this variable declaration.order - The index within a rule.
public Declaration(String identifier,
InternalReadAccessor extractor,
Pattern pattern,
boolean internalFact)
identifier - The name of the variable.objectType - The type of this variable declaration.order - The index within a rule.internalFact - True if this is an internal fact created by the engine, like a collection result
of a collect CE| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void setReadAccessor(InternalReadAccessor readAccessor)
setReadAccessor in interface AcceptsReadAccessorpublic String getIdentifier()
public ValueType getValueType()
ValueType.
public Pattern getPattern()
public void setPattern(Pattern pattern)
public boolean isPatternDeclaration()
public InternalReadAccessor getExtractor()
public Object getValue(InternalWorkingMemory workingMemory,
Object object)
public char getCharValue(InternalWorkingMemory workingMemory,
Object object)
public int getIntValue(InternalWorkingMemory workingMemory,
Object object)
public byte getByteValue(InternalWorkingMemory workingMemory,
Object object)
public short getShortValue(InternalWorkingMemory workingMemory,
Object object)
public long getLongValue(InternalWorkingMemory workingMemory,
Object object)
public float getFloatValue(InternalWorkingMemory workingMemory,
Object object)
public double getDoubleValue(InternalWorkingMemory workingMemory,
Object object)
public boolean getBooleanValue(InternalWorkingMemory workingMemory,
Object object)
public int getHashCode(InternalWorkingMemory workingMemory,
Object object)
public boolean isGlobal()
public Method getNativeReadMethod()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectpublic boolean isInternalFact()
public Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||