|
||||||||||
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 CEMethod Detail |
---|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void setReadAccessor(InternalReadAccessor readAccessor)
setReadAccessor
in interface AcceptsReadAccessor
public 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 getTypeName()
public String getBoxedTypeName()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
public 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 |