|
|||||||||||
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 Declaraton array. |
Constructor Summary | |
Declaration(ObjectType objectType,
java.lang.String identifier)
Construct. |
|
Declaration(java.lang.String identifier)
Construct. |
Method Summary | |
boolean |
equals(java.lang.Object thatObj)
|
java.lang.String |
getIdentifier()
Retrieve the variable's identifier. |
ObjectType |
getObjectType()
Retrieve the ObjectType . |
int |
hashCode()
|
void |
setObjectType(ObjectType objectType)
Set the ObjectType . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Declaration[] EMPTY_ARRAY
Declaraton
array.
Constructor Detail |
public Declaration(ObjectType objectType, java.lang.String identifier)
objectType
- The type of this variable declaration.identifier
- The name of the variable.public Declaration(java.lang.String identifier)
identifier
- The name of the variable.Method Detail |
public void setObjectType(ObjectType objectType)
ObjectType
.
objectType
- The object-type.public ObjectType getObjectType()
ObjectType
.
public java.lang.String getIdentifier()
public boolean equals(java.lang.Object thatObj)
equals
in class java.lang.Object
Object
public int hashCode()
hashCode
in class java.lang.Object
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 |