fr.inria.oadymppac.parsing.gentra4cp
Class DefaultStateEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicEvent
          extended byfr.inria.oadymppac.parsing.gentra4cp.BasicStateEvent
              extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultStateEvent
All Implemented Interfaces:
java.lang.Cloneable, ConstraintEventListener, ConstraintListProvider, DTDEventAttributes, DTDStateElement, Event, EventAttributes, java.util.EventListener, EventListener, StateAttributes, StateEvent, StateMiscEventListener, StateMiscProvider, UpdateEventListener, UpdateListProvider, VariableEventListener, VariableListProvider
Direct Known Subclasses:
BackToStateEvent, ChoicePointStateEvent, ComplementStateEvent, FailureStateEvent, NewConstraintStateEvent, NewVariableStateEvent, RejectStateEvent, RestoreStateEvent, SolutionStateEvent

public class DefaultStateEvent
extends BasicStateEvent
implements UpdateListProvider, UpdateEventListener, VariableListProvider, VariableEventListener, ConstraintListProvider, ConstraintEventListener, StateMiscProvider, StateMiscEventListener

Author:
raf To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.EventListener
logger
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.StateEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.EventAttributes
CHRONO_NONE, CONTEXT_NONE, DEPTH_NONE, FILE_NONE, LINE_NONE, TIME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDEventAttributes
CHRONO, CONTEXT, DEPTH, FILE, LINE, TIME
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.StateAttributes
CHOICECONSTRAINT_NONE, CURRENT_NODE_NONE, NEXT_NODE_NONE, NODENAME_NONE, STATUS_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDStateElement
CHOICECONSTRAINT, CURRENTNODE, NEXTNODE, NODENAME, STATE, STATUS
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
DefaultStateEvent()
           
 
Method Summary
 void eventProcess(ConstraintEvent ev)
           
 void eventProcess(Event e)
           
 void eventProcess(StateMiscEvent ev)
           
 void eventProcess(UpdateEvent ev)
           
 void eventProcess(VariableEvent ev)
           
 ConstraintListInfo getConstraintList()
           
 StateMiscInfo getMisc()
           
 UpdateListInfo getUpdateList()
           
 VariableListInfo getVariableList()
           
 void processEnd()
           
 void processInstruction(java.lang.String target, java.lang.String data)
           
 void processStart()
           
 void reset()
           
 void setConstraintList(ConstraintListInfo constraintList)
           
 void setMisc(StateMiscInfo misc)
           
 void setUpdateList(UpdateListInfo updateList)
           
 void setVariableList(VariableListInfo variableList)
           
 
Methods inherited from class fr.inria.oadymppac.parsing.gentra4cp.BasicStateEvent
getChoiceConstraints, getChrono, getContext, getCurrentNode, getDepth, getEventType, getFile, getInfo, getLine, getNextNode, getNodeName, getStatus, getTime, init, setChoiceConstraints, setChrono, setContext, setCurrentNode, setDepth, setFile, setLine, setNextNode, setNodeName, setStatus, setTime
 
Methods inherited from class fr.inria.oadymppac.parsing.event.EventImpl
getAllAttributes, getAnyValue, getSource, init, setAllAttributes, setSource, terminate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.inria.oadymppac.parsing.event.Event
getAnyValue, getSource, init, setSource, terminate
 

Constructor Detail

DefaultStateEvent

public DefaultStateEvent()
Method Detail

eventProcess

public void eventProcess(StateMiscEvent ev)
Specified by:
eventProcess in interface StateMiscEventListener

eventProcess

public void eventProcess(Event e)
Specified by:
eventProcess in interface EventListener

eventProcess

public void eventProcess(UpdateEvent ev)
Specified by:
eventProcess in interface UpdateEventListener
Parameters:
ev -

getMisc

public StateMiscInfo getMisc()
Specified by:
getMisc in interface StateMiscProvider
Overrides:
getMisc in class BasicStateEvent
Returns:

getUpdateList

public UpdateListInfo getUpdateList()
Specified by:
getUpdateList in interface UpdateListProvider
Overrides:
getUpdateList in class BasicStateEvent
Returns:

reset

public void reset()
Specified by:
reset in interface Event
Overrides:
reset in class BasicStateEvent

setMisc

public void setMisc(StateMiscInfo misc)
Specified by:
setMisc in interface StateMiscProvider
Overrides:
setMisc in class BasicStateEvent
Parameters:
misc -

setUpdateList

public void setUpdateList(UpdateListInfo updateList)
Specified by:
setUpdateList in interface UpdateListProvider
Overrides:
setUpdateList in class BasicStateEvent
Parameters:
updateList -

eventProcess

public void eventProcess(VariableEvent ev)
Specified by:
eventProcess in interface VariableEventListener
Parameters:
ev -

getVariableList

public VariableListInfo getVariableList()
Specified by:
getVariableList in interface VariableListProvider
Overrides:
getVariableList in class BasicStateEvent
Returns:

setVariableList

public void setVariableList(VariableListInfo variableList)
Specified by:
setVariableList in interface VariableListProvider
Overrides:
setVariableList in class BasicStateEvent
Parameters:
variableList -

eventProcess

public void eventProcess(ConstraintEvent ev)
Specified by:
eventProcess in interface ConstraintEventListener
Parameters:
ev -

getConstraintList

public ConstraintListInfo getConstraintList()
Specified by:
getConstraintList in interface ConstraintListProvider
Overrides:
getConstraintList in class BasicStateEvent
Returns:

setConstraintList

public void setConstraintList(ConstraintListInfo constraintList)
Specified by:
setConstraintList in interface ConstraintListProvider
Overrides:
setConstraintList in class BasicStateEvent
Parameters:
constraintList -

processEnd

public void processEnd()
Specified by:
processEnd in interface EventListener

processInstruction

public void processInstruction(java.lang.String target,
                               java.lang.String data)
Specified by:
processInstruction in interface EventListener

processStart

public void processStart()
Specified by:
processStart in interface EventListener