org.infoglue.cms.entities.kernel
Class ValidatableEntityVO
java.lang.Object
org.infoglue.cms.entities.kernel.ValidatableEntityVO
- All Implemented Interfaces:
- java.io.Serializable, BaseEntityVO
- Direct Known Subclasses:
- PublicationVO, SystemUserVO
public abstract class ValidatableEntityVO
- extends java.lang.Object
- implements BaseEntityVO
ValitadeableEntity.java
Created on 2002-sep-16
- Author:
- Stefan Sik, ss@frovi.com
ss
Provides entityvaluobjects with a set of validation rules.
The rules can be retrieved and reviewed by action classes
with getConstraintRules.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rules
protected ConstraintRuleList rules
- See Also:
BaseEntityVO.getId()
ValidatableEntityVO
public ValidatableEntityVO()
getRule
public ConstraintRule getRule(java.lang.String fieldName)
getConstraintRules
public java.util.Collection getConstraintRules()
- getConstraintRules
returns a collection of ConstraintRule objects
this is the collection returned by getConstraintRuleList().getRules()
getConstraintRuleList
public ConstraintRuleList getConstraintRuleList()
- getConstraintRuleList
returns the ConstraintRuleList object
PrepareValidation
public abstract void PrepareValidation()
validate
public ConstraintExceptionBuffer validate()
- Specified by:
validate in interface BaseEntityVO
- Returns:
- ConstraintExceptionBuffer
validate
public ConstraintExceptionBuffer validate(ValidatableEntityVO vo)
Copyright © 2005 InfoGlue.org All Rights Reserved.