|
||||||||||
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 FormConstructor Summary | |
---|---|
Declaration(String identifier,
ObjectType objectType,
int order)
Construct. |
Method Summary | |
---|---|
int |
compareTo(Object object)
|
boolean |
equals(Object object)
|
String |
getIdentifier()
Retrieve the variable's identifier. |
int |
getIndex()
|
ObjectType |
getObjectType()
Retrieve the ObjectType . |
int |
hashCode()
|
void |
setObjectType(ObjectType objectType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
Declaration(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 String getIdentifier()
public int getIndex()
public int compareTo(Object object)
compareTo
in interface Comparable
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |