org.weda.property.impl
Class NotNullConstraint

java.lang.Object
  extended by org.weda.property.impl.AbstractConstraint
      extended by org.weda.property.impl.NotNullConstraint
All Implemented Interfaces:
Constraint

public class NotNullConstraint
extends AbstractConstraint

Author:
Mikhail Titov

Constructor Summary
NotNullConstraint()
           
 
Method Summary
 void check(java.lang.Object value, java.lang.Object[] parameters)
          Метод осуществляет проверку значения на соотвествие ограничению.
 java.lang.Class[] getParameterTypes(java.lang.Class valueType)
          Метод возвращает типы параметров передающихся в методе Constraint.check(Object, Object[])
 
Methods inherited from class org.weda.property.impl.AbstractConstraint
fail, getId, init, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotNullConstraint

public NotNullConstraint()
Method Detail

check

public void check(java.lang.Object value,
                  java.lang.Object[] parameters)
           throws ConstraintException
Description copied from interface: Constraint
Метод осуществляет проверку значения на соотвествие ограничению.

Parameters:
value - значение которое необходимо проверить
parameters - дополнительные параметры которые необходимы ограничению для проведения проверки
Throws:
ConstraintException

getParameterTypes

public java.lang.Class[] getParameterTypes(java.lang.Class valueType)
                                    throws ConstraintException
Description copied from interface: Constraint
Метод возвращает типы параметров передающихся в методе Constraint.check(Object, Object[])

Throws:
ConstraintException


Copyright © 2005-2006 . All Rights Reserved.