com.ca.jcs.validator.meta
Class RequiredClassPropertiesValidator
java.lang.Object
com.ca.jcs.cfg.Vetoable
com.ca.jcs.validator.meta.ContextAwareClassValidator
com.ca.jcs.validator.meta.RequiredClassPropertiesValidator
public class RequiredClassPropertiesValidator
- extends ContextAwareClassValidator
Validates that all required properties are provided in add operations
and that they are no subsequently removed by modify operations. Due to the potential need to
know the native objectclasses for the target object where there are ambiguous / auxiliary mappings, this validator needs to be implemented as
a context-aware class validator.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUIRED_ADD_MSG
public static final String REQUIRED_ADD_MSG
- See Also:
- Constant Field Values
REQUIRED_DUE_TO_OBJ_CLASS_ADD_MSG
public static final String REQUIRED_DUE_TO_OBJ_CLASS_ADD_MSG
- See Also:
- Constant Field Values
REQUIRED_MODIFY_MSG
public static final String REQUIRED_MODIFY_MSG
- See Also:
- Constant Field Values
REQUIRED_DUE_TO_OBJ_CLASS_MODIFY_MSG
public static final String REQUIRED_DUE_TO_OBJ_CLASS_MODIFY_MSG
- See Also:
- Constant Field Values
REQUIRED_ADD_ERR
public static final String REQUIRED_ADD_ERR
- See Also:
- Constant Field Values
REQUIRED_MODIFY_ERR
public static final String REQUIRED_MODIFY_ERR
- See Also:
- Constant Field Values
RequiredClassPropertiesValidator
public RequiredClassPropertiesValidator(MetaObjectClassMapping classMap)
validate
public ErrorMessages validate(AddOpContext ctx)
- Description copied from class:
ContextAwareClassValidator
- Create/add case.
- Specified by:
validate in class ContextAwareClassValidator
validate
public ErrorMessages validate(ValidatorModifyOpContext ctx)
- Description copied from class:
ContextAwareClassValidator
- Update/modify case.
- Specified by:
validate in class ContextAwareClassValidator
Created 2011-07-14 13:27 EST