org.jactr.core.slot
Interface IConditionalSlot

All Superinterfaces:
java.lang.Cloneable, IMutableSlot, ISlot
All Known Implementing Classes:
DefaultConditionalSlot, DefaultVariableConditionalSlot

public interface IConditionalSlot
extends IMutableSlot

Author:
harrison TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static int EQUALS
           
static int GREATER_THAN
           
static int GREATER_THAN_EQUALS
           
static int LESS_THAN
           
static int LESS_THAN_EQUALS
           
static int NOT_EQUALS
           
static int WITHIN
           
 
Method Summary
 int getCondition()
           
 boolean matchesCondition(java.lang.Object value)
          test the value to see if it satisfies the condition specified by this conditional slot
 void setCondition(int condition)
           
 
Methods inherited from interface org.jactr.core.slot.IMutableSlot
setValue
 
Methods inherited from interface org.jactr.core.slot.ISlot
equalValues, getName, getValue, isVariable, isVariableValue
 

Field Detail

EQUALS

static final int EQUALS
See Also:
Constant Field Values

LESS_THAN

static final int LESS_THAN
See Also:
Constant Field Values

LESS_THAN_EQUALS

static final int LESS_THAN_EQUALS
See Also:
Constant Field Values

GREATER_THAN

static final int GREATER_THAN
See Also:
Constant Field Values

GREATER_THAN_EQUALS

static final int GREATER_THAN_EQUALS
See Also:
Constant Field Values

WITHIN

static final int WITHIN
See Also:
Constant Field Values

NOT_EQUALS

static final int NOT_EQUALS
See Also:
Constant Field Values
Method Detail

getCondition

int getCondition()

setCondition

void setCondition(int condition)

matchesCondition

boolean matchesCondition(java.lang.Object value)
test the value to see if it satisfies the condition specified by this conditional slot

Parameters:
value -
Returns: