org.drools.rule
Class Declaration

public class Declaration
implements Serializable, Comparable
A typed, named variable for Condition evaluation.
SinceNot specified.
VersionNot specified.
Author<a href="mailto:bob@eng.werken.com">bob mcwhirter </a>, <a href="mailto:simon@redhillconsulting.com.au">Simon Harris </a>
Wiki javadoc Use textile entry format.
Add your comments here.
Constructor Summary
Declaration( String identifier, ObjectType objectType, int order )
Construct.
Method Summary
int compareTo( Object object )
No description provided.
boolean equals( Object object )
No description provided.
String getIdentifier()
Retrieve the variable's identifier.
int getIndex()
No description provided.
ObjectType getObjectType()
Retrieve the ObjectType.
int hashCode()
No description provided.
void setObjectType( ObjectType objectType )
No description provided.
String toString()
No description provided.
Declaration
public Declaration ( String identifier, ObjectType objectType, int order )
Construct.
Parameters
TypeNameDescription
String identifier The name of the variable.
ObjectType objectType The type of this variable declaration.
int order The index within a rule.
Wiki javadoc Use textile entry format.
Add your comments here.
compareTo
public int compareTo ( Object object )
No description provided.
Implements method in Comparable
Parameters
TypeNameDescription
Object object No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
equals
public boolean equals ( Object object )
No description provided.
Overrides method in Object
Parameters
TypeNameDescription
Object object No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
getIdentifier
public String getIdentifier ( )
Retrieve the variable's identifier.
Wiki javadoc Use textile entry format.
Add your comments here.
getIndex
public int getIndex ( )
No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
getObjectType
public ObjectType getObjectType ( )
Retrieve the ObjectType.
Wiki javadoc Use textile entry format.
Add your comments here.
hashCode
public int hashCode ( )
No description provided.
Overrides method in Object
Wiki javadoc Use textile entry format.
Add your comments here.
setObjectType
public void setObjectType ( ObjectType objectType )
No description provided.
Parameters
TypeNameDescription
ObjectType objectType No description provided.
Returns void No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
toString
public String toString ( )
No description provided.
Overrides method in Object
Wiki javadoc Use textile entry format.
Add your comments here.