fr.inria.oadymppac.solver
Class DefaultCause
java.lang.Object
fr.inria.oadymppac.solver.SolverElementImpl
fr.inria.oadymppac.solver.ValueListImpl
fr.inria.oadymppac.solver.DefaultCause
- All Implemented Interfaces:
- Cause, Indexable, SolverElement, SolverManagable, ValueList
- public class DefaultCause
- extends ValueListImpl
- implements Cause
- 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 |
DefaultCause
public DefaultCause(Solver solver)
- Parameters:
solver
-
getVariable
public Variable getVariable()
- Specified by:
getVariable
in interface Cause
setVariable
public void setVariable(Variable variable)
- Specified by:
setVariable
in interface Cause
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface SolverElement
getSolverType
public byte getSolverType()
- Specified by:
getSolverType
in interface SolverElement
getType
public short getType()
- Specified by:
getType
in interface Cause
setType
public void setType(short type)
- Specified by:
setType
in interface Cause
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interface Indexable
getExplanation
public Explanation getExplanation()
- Specified by:
getExplanation
in interface Cause
setExplanation
public void setExplanation(Explanation expl)
- Specified by:
setExplanation
in interface Cause
getEventType
public java.lang.String getEventType()
- Specified by:
getEventType
in interface SolverElement
reset
public void reset()
- Specified by:
reset
in interface Indexable