org.weda.property.impl
Class BetweenConstraint

java.lang.Object
  extended by org.weda.property.impl.BetweenConstraint
All Implemented Interfaces:
ConstraintIdentificatorHolder

public class BetweenConstraint
extends java.lang.Object
implements ConstraintIdentificatorHolder

Author:
Mikhail Titov

Constructor Summary
BetweenConstraint()
           
 
Method Summary
 void check(java.lang.Double value, java.lang.Double leftBorder, java.lang.Double rightBorder)
           
 java.lang.String getId()
           
 void setId(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BetweenConstraint

public BetweenConstraint()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface ConstraintIdentificatorHolder

setId

public void setId(java.lang.String id)
Specified by:
setId in interface ConstraintIdentificatorHolder

check

public void check(java.lang.Double value,
                  java.lang.Double leftBorder,
                  java.lang.Double rightBorder)
           throws ConstraintException
Throws:
ConstraintException


Copyright © 2005-2006 . All Rights Reserved.