fr.inria.oadymppac.parsing.gentra4cp
Class BasicReduceEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicEvent
          extended byfr.inria.oadymppac.parsing.gentra4cp.BasicReduceEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDEventAttributes, DTDReduceElement, Event, EventAttributes, ReduceAttributes, ReduceEvent
Direct Known Subclasses:
DefaultReduceEvent

public class BasicReduceEvent
extends BasicEvent
implements ReduceEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.ReduceEvent
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.ReduceAttributes
ALGORITHM_NONE, CONSTRAINT_NONE, VARIABLE_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDReduceElement
ALGORITHM, CONSTRAINT, REDUCE, VARIABLE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
BasicReduceEvent()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getAlgorithm()
           
 int getChrono()
           
 java.lang.String getConstraint()
           
 java.lang.String getContext()
           
 int getDepth()
           
 int getEventType()
           
 java.lang.String getFile()
           
 Info getInfo()
           
 int getLine()
           
 long getTime()
           
 java.lang.String getVariable()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setAlgorithm(java.lang.String algo)
           
 void setChrono(int chrono)
           
 void setConstraint(java.lang.String cst)
           
 void setContext(java.lang.String context)
           
 void setDepth(int depth)
           
 void setFile(java.lang.String file)
           
 void setLine(int line)
           
 void setTime(long time)
           
 void setVariable(java.lang.String var)
           
 
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

BasicReduceEvent

public BasicReduceEvent()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface ReduceAttributes
Returns:

getChrono

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

getConstraint

public java.lang.String getConstraint()
Specified by:
getConstraint in interface ReduceAttributes
Returns:

getContext

public java.lang.String getContext()
Specified by:
getContext in interface EventAttributes
Overrides:
getContext in class BasicEvent
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:

getTime

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

getVariable

public java.lang.String getVariable()
Specified by:
getVariable in interface ReduceAttributes
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

setAlgorithm

public void setAlgorithm(java.lang.String algo)
Specified by:
setAlgorithm in interface ReduceAttributes
Parameters:
algo -

setChrono

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

setConstraint

public void setConstraint(java.lang.String cst)
Specified by:
setConstraint in interface ReduceAttributes
Parameters:
cst -

setContext

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

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 -

setTime

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

setVariable

public void setVariable(java.lang.String var)
Specified by:
setVariable in interface ReduceAttributes
Parameters:
var -

getEventType

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