com.ca.jcs.validator.meta
Class ClassValidator
java.lang.Object
com.ca.jcs.cfg.Vetoable
com.ca.jcs.validator.meta.ClassValidator
public abstract class ClassValidator
- extends Vetoable
Validate all attributes provided to a add/modify operation by processing
them all at once against an object class (and hence with access to all of
its metadata, and all of its properties and their metadata).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassValidator
public ClassValidator(MetaObjectClassMapping classMap)
validate
public abstract ErrorMessages validate(Attributes attrs)
throws NamingException
- Create/add case.
- Throws:
NamingException
validate
public abstract ErrorMessages validate(ModificationItem[] modItem,
AttributesProxy currAttributes)
throws NamingException
- Update/modify case, where current attribute values can be accessed via
the provided lazy proxy.
- Throws:
NamingException
Created 2011-07-14 13:27 EST