|
|||||||||
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(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.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 |