|
|||||||||
| 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
A typed, named variable for Condition evaluation.
ObjectType,
Condition,
Serialized Form| Constructor Summary | |
|---|---|
Declaration(java.lang.String identifier,
ObjectType objectType,
int order)
Construct. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getIdentifier()
Retrieve the variable's identifier. |
int |
getIndex()
|
ObjectType |
getObjectType()
Retrieve the ObjectType. |
int |
hashCode()
|
void |
setObjectType(ObjectType objectType)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Declaration(java.lang.String identifier,
ObjectType objectType,
int order)
identifier - The name of the variable.objectType - The type of this variable declaration.order - The index within a rule.| Method Detail |
|---|
public ObjectType getObjectType()
ObjectType.
public void setObjectType(ObjectType objectType)
public java.lang.String getIdentifier()
public int getIndex()
public int compareTo(java.lang.Object object)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||