fr.inria.oadymppac.solver
Class DefaultVariableStatus
java.lang.Object
fr.inria.oadymppac.solver.SolverElementImpl
fr.inria.oadymppac.solver.AbstractStatus
fr.inria.oadymppac.solver.DefaultVariableStatus
- All Implemented Interfaces:
- Indexable, SolverElement, SolverManagable, StateProvider, Status, VariableStatus
- public class DefaultVariableStatus
- extends AbstractStatus
- implements VariableStatus
- Author:
- raf
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVariableStatus
public DefaultVariableStatus(Solver solver)
- Parameters:
solver
-
getDomain
public Domain getDomain()
- Specified by:
getDomain
in interface VariableStatus
getType
public short getType()
- Specified by:
getType
in interface VariableStatus
setDomain
public void setDomain(ValueList domain)
setType
public void setType(short type)
- Specified by:
setType
in interface VariableStatus
getElement
public SolverMainElement getElement()
- Specified by:
getElement
in interface Status
setElement
public void setElement(SolverMainElement element)
- Specified by:
setElement
in interface Status
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface SolverElement
getSolverType
public byte getSolverType()
- Specified by:
getSolverType
in interface SolverElement
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interface Indexable
setDomain
public void setDomain(Domain domain)
- Specified by:
setDomain
in interface VariableStatus
getEventType
public java.lang.String getEventType()
- Specified by:
getEventType
in interface SolverElement
reset
public void reset()
- Specified by:
reset
in interface Indexable