com.uwyn.rife.site
Class ValidationGroup<C extends ConstrainedProperty>

java.lang.Object
  extended by com.uwyn.rife.site.ValidationGroup<C>
All Implemented Interfaces:
Cloneable

public class ValidationGroup<C extends ConstrainedProperty>
extends Object
implements Cloneable


Method Summary
 ValidationGroup<C> addConstraint(C constrainedProperty)
           
 ValidationGroup<C> addGroup(String name)
           
 ValidationGroup<C> addRule(ValidationRule rule)
           
 ValidationGroup<C> addSubject(String subject)
           
 ValidationGroup<C> clone()
           
 String getName()
           
 List<String> getPropertyNames()
           
 List<String> getSubjects()
           
 ValidatedConstrained getValidation()
           
 void reinitializeProperties(Object bean)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reinitializeProperties

public void reinitializeProperties(Object bean)
                            throws ValidationException
Throws:
ValidationException

getName

public String getName()

getPropertyNames

public List<String> getPropertyNames()

getSubjects

public List<String> getSubjects()

getValidation

public ValidatedConstrained getValidation()

addSubject

public ValidationGroup<C> addSubject(String subject)

addRule

public ValidationGroup<C> addRule(ValidationRule rule)

addConstraint

public ValidationGroup<C> addConstraint(C constrainedProperty)

addGroup

public ValidationGroup<C> addGroup(String name)

clone

public ValidationGroup<C> clone()
Overrides:
clone in class Object


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.