choco.palm.dbt.explain
Class PalmControlConstraint

java.lang.Object
  extended by choco.palm.dbt.explain.PalmControlConstraint

public class PalmControlConstraint
extends java.lang.Object


Constructor Summary
PalmControlConstraint(Constraint constraint, int index)
          Creates a control constraint whit the specified constraint as controlling one.
 
Method Summary
 Constraint getConstraint()
          Gets the controlling constraint.
 int getIndex()
          Gets the index of the controlled constraint in the controlling one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PalmControlConstraint

public PalmControlConstraint(Constraint constraint,
                             int index)
Creates a control constraint whit the specified constraint as controlling one.

Parameters:
constraint - The controlling constraint.
index - The index of the controlled one.
Method Detail

getConstraint

public Constraint getConstraint()
Gets the controlling constraint.


getIndex

public int getIndex()
Gets the index of the controlled constraint in the controlling one.