|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.rule.Declaration
public class Declaration
Constructor Summary | |
---|---|
Declaration(String identifier,
Extractor extractor,
Pattern pattern)
Construct. |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
boolean |
getBooleanValue(Object object)
|
byte |
getByteValue(Object object)
|
char |
getCharValue(Object object)
|
double |
getDoubleValue(Object object)
|
Extractor |
getExtractor()
Returns the Extractor expression |
float |
getFloatValue(Object object)
|
int |
getHashCode(Object object)
|
String |
getIdentifier()
Retrieve the variable's identifier. |
int |
getIntValue(Object object)
|
long |
getLongValue(Object object)
|
Pattern |
getPattern()
Returns the index of the pattern |
short |
getShortValue(Object object)
|
Object |
getValue(Object object)
|
ValueType |
getValueType()
Retrieve the ValueType . |
int |
hashCode()
|
void |
setPattern(Pattern pattern)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Declaration(String identifier, Extractor extractor, Pattern pattern)
identifier
- The name of the variable.objectType
- The type of this variable declaration.order
- The index within a rule.Method Detail |
---|
public String getIdentifier()
public ValueType getValueType()
ValueType
.
public Pattern getPattern()
public void setPattern(Pattern pattern)
public Extractor getExtractor()
public Object getValue(Object object)
public char getCharValue(Object object)
public int getIntValue(Object object)
public byte getByteValue(Object object)
public short getShortValue(Object object)
public long getLongValue(Object object)
public float getFloatValue(Object object)
public double getDoubleValue(Object object)
public boolean getBooleanValue(Object object)
public int getHashCode(Object object)
public String toString()
public int hashCode()
public boolean equals(Object object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |