infosapient.system
Class FzyConsequent

java.lang.Object
  |
  +--infosapient.system.ObservableImpl
        |
        +--infosapient.system.FzySystemComponent
              |
              +--infosapient.system.FzyRuleComponent
                    |
                    +--infosapient.system.FzyConsequent

public class FzyConsequent
extends FzyRuleComponent
implements TextOutput, XMLOutput

FzyConsequent models the "then" portion of a rule.

Version:
$Revision: 1.1.1.1 $
See Also:
Serialized Form

Field Summary
private  FzyAttribClause altGoal
           
private  FzyAttribClause goal
           
 
Fields inherited from class infosapient.system.FzyRuleComponent
clauseText, owningRule, serialVersionUID, solutionSet, theGoal
 
Fields inherited from class infosapient.system.FzySystemComponent
DEBUG_, myID, name, pcs, serialVersionUID, trace, vcs
 
Fields inherited from class infosapient.system.ObservableImpl
arr, changed, obs, serialVersionUID
 
Constructor Summary
FzyConsequent()
           
FzyConsequent(FzyRule rule)
           
 
Method Summary
 FzyAttribClause getAltConseqGoal()
           
 FzyAttribClause getConsequentGoal()
           
 java.lang.String getName()
           
 void reset()
          Implemented by my subclasses to reinitialize themselves after a rule session has been performed by the rule engine.
 void setAltConseqGoal(FzyAttribClause aac)
           
 void setConsequentGoal(FzyAttribClause aac)
           
 java.lang.StringBuffer toXML(int nTabs)
          Represent this rule's consequent as xml tags.
 
Methods inherited from class infosapient.system.FzyRuleComponent
append, append, getRule, getSolutionSet, getText, hasSolution, setRule, setSolutionSet, setText, toText, update
 
Methods inherited from class infosapient.system.FzySystemComponent
addPropertyChangeListener, addVetoableChangeListener, equals, getID, getPropertyChangeSupport, getVetoableChangeSupport, hashCode, printOn, removePropertyChangeListener, removeVetoableChangeListener, setID, setName
 
Methods inherited from class infosapient.system.ObservableImpl
addObserver, clearChanged, containsObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

goal

private FzyAttribClause goal

altGoal

private FzyAttribClause altGoal
Constructor Detail

FzyConsequent

public FzyConsequent()

FzyConsequent

public FzyConsequent(FzyRule rule)
Method Detail

getAltConseqGoal

public FzyAttribClause getAltConseqGoal()

getConsequentGoal

public FzyAttribClause getConsequentGoal()

getName

public java.lang.String getName()
Overrides:
getName in class FzySystemComponent

reset

public void reset()
Description copied from class: FzyRuleComponent
Implemented by my subclasses to reinitialize themselves after a rule session has been performed by the rule engine.
Overrides:
reset in class FzyRuleComponent

setAltConseqGoal

public void setAltConseqGoal(FzyAttribClause aac)

setConsequentGoal

public void setConsequentGoal(FzyAttribClause aac)

toXML

public java.lang.StringBuffer toXML(int nTabs)
Represent this rule's consequent as xml tags. Creation date: (1/30/00 9:08:55 PM)
Specified by:
toXML in interface XMLOutput
Returns:
java.lang.StringBuffer

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved