org.weda.property.impl
Class AbstractConstraint

java.lang.Object
  extended by org.weda.property.impl.AbstractConstraint
All Implemented Interfaces:
Constraint
Direct Known Subclasses:
NotNullConstraint, ObjectSourceSetConstraint, StaticSetConstraint

public abstract class AbstractConstraint
extends java.lang.Object
implements Constraint

Author:
Mikhail Titov

Constructor Summary
AbstractConstraint()
           
 
Method Summary
protected  void fail()
           
 java.lang.String getId()
          Метод возвращает уникальный идентификатор ограничения
 void init()
           
 void setId(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.weda.property.Constraint
check, getParameterTypes
 

Constructor Detail

AbstractConstraint

public AbstractConstraint()
Method Detail

getId

public java.lang.String getId()
Description copied from interface: Constraint
Метод возвращает уникальный идентификатор ограничения

Specified by:
getId in interface Constraint

setId

public void setId(java.lang.String id)

fail

protected void fail()
             throws ConstraintException
Throws:
ConstraintException

init

public void init()
          throws ConstraintException
Throws:
ConstraintException


Copyright © 2005-2006 . All Rights Reserved.