fr.inria.oadymppac.parsing.info
Class EventAttributesInfo

java.lang.Object
  extended byfr.inria.oadymppac.parsing.info.BasicInfo
      extended byfr.inria.oadymppac.parsing.info.EventAttributesInfo
All Implemented Interfaces:
java.lang.Cloneable, DTDEventAttributes, EventAttributes, Info
Direct Known Subclasses:
AnnotationInfo, AwakeInfo, BackToInfo, ChoicePointInfo, FailureInfo, NewConstraintInfo, NewStageInfo, NewVariableInfo, PostInfo, ReduceInfo, RejectInfo, RemoveInfo, RestoreInfo, ScheduleInfo, SolutionInfo, SolvedInfo, StageAttributesInfo, StateInfo, SuspendInfo

public abstract class EventAttributesInfo
extends BasicInfo
implements EventAttributes, java.lang.Cloneable

Author:
raf

Field Summary
protected  int chrono
           
protected  java.lang.String context
           
protected  int depth
           
protected  java.lang.String file
           
protected  int line
           
protected  long time
           
 
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.event.Info
logger
 
Constructor Summary
EventAttributesInfo()
           
 
Method Summary
protected  void clone(EventAttributesInfo clone)
           
 int getChrono()
           
 java.lang.String getContext()
           
 int getDepth()
           
 java.lang.String getFile()
           
 int getLine()
           
 long getTime()
           
 void setChrono(int chrono)
           
 void setContext(java.lang.String context)
           
 void setDepth(int depth)
           
 void setFile(java.lang.String file)
           
 void setLine(int line)
           
 void setTime(long time)
           
 
Methods inherited from class fr.inria.oadymppac.parsing.info.BasicInfo
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chrono

protected int chrono

depth

protected int depth

time

protected long time

context

protected java.lang.String context

line

protected int line

file

protected java.lang.String file
Constructor Detail

EventAttributesInfo

public EventAttributesInfo()
Method Detail

clone

protected void clone(EventAttributesInfo clone)

getChrono

public int getChrono()
Specified by:
getChrono in interface EventAttributes
Returns:
Returns the chrono.

setChrono

public void setChrono(int chrono)
Specified by:
setChrono in interface EventAttributes
Parameters:
chrono - The chrono to set.

getContext

public java.lang.String getContext()
Specified by:
getContext in interface EventAttributes
Returns:
Returns the context.

setContext

public void setContext(java.lang.String context)
Specified by:
setContext in interface EventAttributes
Parameters:
context - The context to set.

getDepth

public int getDepth()
Specified by:
getDepth in interface EventAttributes
Returns:
Returns the depth.

setDepth

public void setDepth(int depth)
Specified by:
setDepth in interface EventAttributes
Parameters:
depth - The depth to set.

getFile

public java.lang.String getFile()
Specified by:
getFile in interface EventAttributes
Returns:
Returns the file.

setFile

public void setFile(java.lang.String file)
Specified by:
setFile in interface EventAttributes
Parameters:
file - The file to set.

getLine

public int getLine()
Specified by:
getLine in interface EventAttributes
Returns:
Returns the line.

setLine

public void setLine(int line)
Specified by:
setLine in interface EventAttributes
Parameters:
line - The line to set.

getTime

public long getTime()
Specified by:
getTime in interface EventAttributes
Returns:
Returns the time.

setTime

public void setTime(long time)
Specified by:
setTime in interface EventAttributes
Parameters:
time - The time to set.