fr.inria.oadymppac.solver
Class StageProxy

java.lang.Object
  extended byfr.inria.oadymppac.solver.SolverElementImpl
      extended byfr.inria.oadymppac.solver.SolverMainElementImpl
          extended byfr.inria.oadymppac.solver.AbstractStage
              extended byfr.inria.oadymppac.solver.StageProxy
All Implemented Interfaces:
ChronoProvider, DepthProvider, Indexable, ReferenceProxy, SolverElement, SolverMainElement, SolverManagable, Stage, StateProvider

public class StageProxy
extends AbstractStage
implements ReferenceProxy

Author:
raf TODO 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.solver.ReferenceProxy
UNDEF, UNDEF_INT, UNDEF_LABEL, UNDEF_SHORT
 
Fields inherited from interface fr.inria.oadymppac.solver.Stage
EVENT_TYPE
 
Constructor Summary
StageProxy(Solver solver)
           
 
Method Summary
 void addEvent(StageEvent e)
           
 void addReference(Stage st)
           
 void clearEvents()
           
 void clearReferences()
           
 int countEvents()
           
 int countReferences()
           
 int getChrono()
           
 java.lang.String getComment()
           
 java.lang.String getContext()
           
 int getDepth()
           
 java.lang.String getDetail()
           
 java.util.Collection getEvents()
           
 java.lang.String getFile()
           
 java.lang.String getLabel()
           
 int getLine()
           
 java.lang.String getName()
           
 java.lang.Object getProxy()
           
 java.util.Collection getReferences()
           
 State getState()
           
 long getTime()
           
 void removeEvent(StageEvent e)
           
 void removeReference(Stage st)
           
 void setChrono(int chrono)
           
 void setComment(java.lang.String comment)
           
 void setContext(java.lang.String context)
           
 void setDepth(int depth)
           
 void setDetail(java.lang.String detail)
           
 void setEvents(java.util.Collection events)
           
 void setFile(java.lang.String file)
           
 void setLine(int line)
           
 void setName(java.lang.String name)
           
 void setProxy(java.lang.Object proxy)
           
 void setReferences(java.util.Collection references)
           
 void setState(State sate)
           
 void setTime(long time)
           
 java.lang.String toString()
           
 
Methods inherited from class fr.inria.oadymppac.solver.AbstractStage
getEventType, getIdentifier, getKey, getSolverType, reset, setIdentifier
 
Methods inherited from class fr.inria.oadymppac.solver.SolverMainElementImpl
getSolver, setSolver
 
Methods inherited from class fr.inria.oadymppac.solver.SolverElementImpl
getIndex, setIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fr.inria.oadymppac.utils.Indexable
getIndex, setIndex
 
Methods inherited from interface fr.inria.oadymppac.solver.SolverManagable
getSolver, setSolver
 

Constructor Detail

StageProxy

public StageProxy(Solver solver)
Parameters:
solver -
Method Detail

getChrono

public int getChrono()
Specified by:
getChrono in interface ChronoProvider
Overrides:
getChrono in class SolverMainElementImpl
Returns:
Returns the chrono.

getContext

public java.lang.String getContext()
Specified by:
getContext in interface SolverMainElement
Overrides:
getContext in class SolverMainElementImpl
Returns:
Returns the context.

getDepth

public int getDepth()
Specified by:
getDepth in interface DepthProvider
Overrides:
getDepth in class SolverMainElementImpl
Returns:
Returns the depth.

getFile

public java.lang.String getFile()
Specified by:
getFile in interface SolverMainElement
Overrides:
getFile in class SolverMainElementImpl
Returns:
Returns the file.

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface SolverElement
Returns:

getLine

public int getLine()
Specified by:
getLine in interface SolverMainElement
Overrides:
getLine in class SolverMainElementImpl
Returns:
Returns the line.

getName

public java.lang.String getName()
Specified by:
getName in interface Stage
Returns:

getReferences

public java.util.Collection getReferences()
Specified by:
getReferences in interface Stage
Returns:

getState

public State getState()
Specified by:
getState in interface StateProvider
Returns:

getTime

public long getTime()
Specified by:
getTime in interface SolverMainElement
Overrides:
getTime in class SolverMainElementImpl
Returns:
Returns the time.

setChrono

public void setChrono(int chrono)
Specified by:
setChrono in interface ChronoProvider
Overrides:
setChrono in class SolverMainElementImpl
Parameters:
chrono - The chrono to set.

setContext

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

setDepth

public void setDepth(int depth)
Specified by:
setDepth in interface DepthProvider
Overrides:
setDepth in class SolverMainElementImpl
Parameters:
depth - The depth to set.

setFile

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

setLine

public void setLine(int line)
Specified by:
setLine in interface SolverMainElement
Overrides:
setLine in class SolverMainElementImpl
Parameters:
line - The line to set.

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Stage
Parameters:
name -

setReferences

public void setReferences(java.util.Collection references)
Specified by:
setReferences in interface Stage
Parameters:
references -

setState

public void setState(State sate)
Specified by:
setState in interface StateProvider
Parameters:
sate -

setTime

public void setTime(long time)
Specified by:
setTime in interface SolverMainElement
Overrides:
setTime in class SolverMainElementImpl
Parameters:
time - The time to set.

toString

public java.lang.String toString()
Overrides:
toString in class SolverMainElementImpl

getProxy

public java.lang.Object getProxy()
Specified by:
getProxy in interface ReferenceProxy

setProxy

public void setProxy(java.lang.Object proxy)
Specified by:
setProxy in interface ReferenceProxy

getComment

public java.lang.String getComment()
Specified by:
getComment in interface Stage

getDetail

public java.lang.String getDetail()
Specified by:
getDetail in interface Stage

getEvents

public java.util.Collection getEvents()
Specified by:
getEvents in interface Stage

setComment

public void setComment(java.lang.String comment)
Specified by:
setComment in interface Stage

setDetail

public void setDetail(java.lang.String detail)
Specified by:
setDetail in interface Stage

setEvents

public void setEvents(java.util.Collection events)
Specified by:
setEvents in interface Stage

addEvent

public void addEvent(StageEvent e)
Specified by:
addEvent in interface Stage

addReference

public void addReference(Stage st)
Specified by:
addReference in interface Stage

clearEvents

public void clearEvents()
Specified by:
clearEvents in interface Stage

clearReferences

public void clearReferences()
Specified by:
clearReferences in interface Stage

countEvents

public int countEvents()
Specified by:
countEvents in interface Stage

countReferences

public int countReferences()
Specified by:
countReferences in interface Stage

removeEvent

public void removeEvent(StageEvent e)
Specified by:
removeEvent in interface Stage

removeReference

public void removeReference(Stage st)
Specified by:
removeReference in interface Stage