|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.rule.Declaration
A typed, named variable for Condition
evaluation.
ObjectType
,
Condition
Field Summary | |
static Declaration[] |
EMPTY_ARRAY
Empty array. |
Constructor Summary | |
Declaration(ObjectType objectType,
java.lang.String identifier)
Construct. |
Method Summary | |
boolean |
equals(java.lang.Object thatObj)
Determine if another Declaration is
semantically equivelent to this one. |
java.lang.String |
getIdentifier()
Retrieve the variable's identifier. |
ObjectType |
getObjectType()
Retrieve the ObjectType of this Declaration . |
java.lang.String |
toString()
Produce debug string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Declaration[] EMPTY_ARRAY
Constructor Detail |
public Declaration(ObjectType objectType, java.lang.String identifier)
objectType
- The type of this variable declaration.identifier
- The name of the variable.Method Detail |
public ObjectType getObjectType()
ObjectType
of this Declaration
.
ObjectType
of this Declaration
.public java.lang.String getIdentifier()
public boolean equals(java.lang.Object thatObj)
Declaration
is
semantically equivelent to this one.
equals
in class java.lang.Object
thatObj
- The object to compare to.
true
if thatObj
is
semantically equal to this object.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |