UniVista.support
Interface ConsistencyCheck

All Known Implementing Classes:
Variable

public interface ConsistencyCheck

This interface should be used by Variables that would like to support consistency checks.


Method Summary
 void consistencyCheck()
          This method tests all the constraints to see that a value meets its conditions.
 boolean isLowerBoundEnabled()
           
 boolean isUpperBoundEnabled()
           
 void setLowerBound(java.lang.Object lo)
          This method sets the lower bound of a particular variable.
 void setLowerBoundEnabled(boolean b)
           
 void setUpperBound(java.lang.Object up)
          Sets the upper bound.
 void setUpperBoundEnabled(boolean b)
           
 

Method Detail

consistencyCheck

public void consistencyCheck()
                      throws java.lang.Exception
This method tests all the constraints to see that a value meets its conditions.

setLowerBound

public void setLowerBound(java.lang.Object lo)
This method sets the lower bound of a particular variable.
Parameters:
lo - java.lang.Object

isLowerBoundEnabled

public boolean isLowerBoundEnabled()

setLowerBoundEnabled

public void setLowerBoundEnabled(boolean b)

setUpperBound

public void setUpperBound(java.lang.Object up)
Sets the upper bound.
Parameters:
up - java.lang.Object

isUpperBoundEnabled

public boolean isUpperBoundEnabled()

setUpperBoundEnabled

public void setUpperBoundEnabled(boolean b)