fr.inria.oadymppac.parsing.gentra4cp
Class BasicStateEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicEvent
          extended byfr.inria.oadymppac.parsing.gentra4cp.BasicStateEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDEventAttributes, DTDStateElement, Event, EventAttributes, StateAttributes, StateEvent
Direct Known Subclasses:
DefaultStateEvent

public class BasicStateEvent
extends BasicEvent
implements StateEvent, Event

Author:
raf

Field Summary
 
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
BasicStateEvent()
           
 
Method Summary
 java.lang.String getChoiceConstraints()
           
 int getChrono()
           
 ConstraintListInfo getConstraintList()
           
 java.lang.String getContext()
           
 java.lang.String getCurrentNode()
           
 int getDepth()
           
 int getEventType()
           
 java.lang.String getFile()
           
 Info getInfo()
           
 int getLine()
           
 StateMiscInfo getMisc()
           
 java.lang.String getNextNode()
           
 java.lang.String getNodeName()
           
 java.lang.String getStatus()
           
 long getTime()
           
 UpdateListInfo getUpdateList()
           
 VariableListInfo getVariableList()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setChoiceConstraints(java.lang.String choiceConstraints)
           
 void setChrono(int chrono)
           
 void setConstraintList(ConstraintListInfo constraintList)
           
 void setContext(java.lang.String context)
           
 void setCurrentNode(java.lang.String node)
           
 void setDepth(int depth)
           
 void setFile(java.lang.String file)
           
 void setLine(int line)
           
 void setMisc(StateMiscInfo misc)
           
 void setNextNode(java.lang.String node)
           
 void setNodeName(java.lang.String node)
           
 void setStatus(java.lang.String node)
           
 void setTime(long time)
           
 void setUpdateList(UpdateListInfo updateList)
           
 void setVariableList(VariableListInfo variableList)
           
 
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

BasicStateEvent

public BasicStateEvent()
Method Detail

getChrono

public int getChrono()
Specified by:
getChrono in interface EventAttributes
Overrides:
getChrono in class BasicEvent
Returns:

getContext

public java.lang.String getContext()
Specified by:
getContext in interface EventAttributes
Overrides:
getContext in class BasicEvent
Returns:

getCurrentNode

public java.lang.String getCurrentNode()
Specified by:
getCurrentNode in interface StateAttributes
Returns:

getDepth

public int getDepth()
Specified by:
getDepth in interface EventAttributes
Overrides:
getDepth in class BasicEvent
Returns:

getFile

public java.lang.String getFile()
Specified by:
getFile in interface EventAttributes
Overrides:
getFile in class BasicEvent
Returns:

getInfo

public Info getInfo()
Specified by:
getInfo in interface Event
Returns:
Returns the info.

getLine

public int getLine()
Specified by:
getLine in interface EventAttributes
Overrides:
getLine in class BasicEvent
Returns:

getNextNode

public java.lang.String getNextNode()
Specified by:
getNextNode in interface StateAttributes
Returns:

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface StateAttributes
Returns:

getStatus

public java.lang.String getStatus()
Specified by:
getStatus in interface StateAttributes
Returns:

getTime

public long getTime()
Specified by:
getTime in interface EventAttributes
Overrides:
getTime in class BasicEvent
Returns:

init

public void init(ContentHandler handler,
                 org.xml.sax.Attributes atts)
Specified by:
init in interface Event
Overrides:
init in class BasicEvent

reset

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

setChrono

public void setChrono(int chrono)
Specified by:
setChrono in interface EventAttributes
Overrides:
setChrono in class BasicEvent
Parameters:
chrono -

setContext

public void setContext(java.lang.String context)
Specified by:
setContext in interface EventAttributes
Overrides:
setContext in class BasicEvent
Parameters:
context -

setCurrentNode

public void setCurrentNode(java.lang.String node)
Specified by:
setCurrentNode in interface StateAttributes
Parameters:
node -

setDepth

public void setDepth(int depth)
Specified by:
setDepth in interface EventAttributes
Overrides:
setDepth in class BasicEvent
Parameters:
depth -

setFile

public void setFile(java.lang.String file)
Specified by:
setFile in interface EventAttributes
Overrides:
setFile in class BasicEvent
Parameters:
file -

setLine

public void setLine(int line)
Specified by:
setLine in interface EventAttributes
Overrides:
setLine in class BasicEvent
Parameters:
line -

setNextNode

public void setNextNode(java.lang.String node)
Specified by:
setNextNode in interface StateAttributes
Parameters:
node -

setNodeName

public void setNodeName(java.lang.String node)
Specified by:
setNodeName in interface StateAttributes
Parameters:
node -

setStatus

public void setStatus(java.lang.String node)
Specified by:
setStatus in interface StateAttributes
Parameters:
node -

setTime

public void setTime(long time)
Specified by:
setTime in interface EventAttributes
Overrides:
setTime in class BasicEvent
Parameters:
time -

getChoiceConstraints

public java.lang.String getChoiceConstraints()
Specified by:
getChoiceConstraints in interface StateAttributes
Returns:

getConstraintList

public ConstraintListInfo getConstraintList()
Returns:

getMisc

public StateMiscInfo getMisc()
Returns:

getUpdateList

public UpdateListInfo getUpdateList()
Returns:

getVariableList

public VariableListInfo getVariableList()
Returns:

setChoiceConstraints

public void setChoiceConstraints(java.lang.String choiceConstraints)
Specified by:
setChoiceConstraints in interface StateAttributes
Parameters:
choiceConstraints -

setConstraintList

public void setConstraintList(ConstraintListInfo constraintList)
Parameters:
constraintList -

setMisc

public void setMisc(StateMiscInfo misc)
Parameters:
misc -

setUpdateList

public void setUpdateList(UpdateListInfo updateList)
Parameters:
updateList -

setVariableList

public void setVariableList(VariableListInfo variableList)
Parameters:
variableList -

getEventType

public int getEventType()
Specified by:
getEventType in interface Event