gsim.core.objects
Interface RuleIF

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
RLActionNodeIF, SelectionNodeIF

public interface RuleIF
extends java.io.Serializable


Method Summary
 void addOrSetCondition(ConditionIF cond)
           
 void addOrSetConsequent(ActionIF cons)
           
 ConditionIF createCondition(java.lang.String paramName, java.lang.String op, java.lang.String val)
           
 ConditionIF[] getConditions()
           
 ActionIF getConsequent(java.lang.String actionName)
           
 ActionIF[] getConsequents()
           
 java.lang.String getName()
           
 boolean isActivated()
           
 void removeCondition(ConditionIF cond)
           
 void removeConsequent(ActionIF cons)
           
 void setActivated(boolean b)
           
 

Method Detail

getName

java.lang.String getName()
                         throws GSimObjectException
Throws:
GSimObjectException

getConditions

ConditionIF[] getConditions()
                            throws GSimObjectException
Throws:
GSimObjectException

getConsequents

ActionIF[] getConsequents()
                          throws GSimObjectException
Throws:
GSimObjectException

getConsequent

ActionIF getConsequent(java.lang.String actionName)
                       throws GSimObjectException
Throws:
GSimObjectException

addOrSetCondition

void addOrSetCondition(ConditionIF cond)
                       throws GSimObjectException
Throws:
GSimObjectException

removeCondition

void removeCondition(ConditionIF cond)
                     throws GSimObjectException
Throws:
GSimObjectException

addOrSetConsequent

void addOrSetConsequent(ActionIF cons)
                        throws GSimObjectException
Throws:
GSimObjectException

removeConsequent

void removeConsequent(ActionIF cons)
                      throws GSimObjectException
Throws:
GSimObjectException

isActivated

boolean isActivated()
                    throws GSimObjectException
Throws:
GSimObjectException

setActivated

void setActivated(boolean b)
                  throws GSimObjectException
Throws:
GSimObjectException

createCondition

ConditionIF createCondition(java.lang.String paramName,
                            java.lang.String op,
                            java.lang.String val)
                            throws GSimObjectException
Throws:
GSimObjectException