org.dlese.dpc.schemedit.input
Class CollectionConfigValidator
java.lang.Object
org.dlese.dpc.schemedit.input.SchemEditValidator
org.dlese.dpc.schemedit.input.CollectionConfigValidator
public class CollectionConfigValidator
- extends SchemEditValidator
Extends SchemEditValidator to provide validation services for collection configuration
records. Specifically, ensures that status flags are not duplicated,
nor do they redefine reserved flags
- Author:
- ostwald
$Id: CollectionConfigValidator.java,v 1.10 2005/06/02 18:45:40 ostwald
Exp $
Method Summary |
SchemEditActionErrors |
validateForm()
In addition to validating against the schema, check statusFlags for duplicates and
create SchemEditErrors if dups found. |
Methods inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator |
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, skipFieldValidation, updateMultiValueFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateMultiValueFields |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionConfigValidator
public CollectionConfigValidator(CollectionRegistry collectionRegistry,
SchemEditForm sef,
MetaDataFramework framework,
org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
- Constructor for the CollectionConfigValidator object
- Parameters:
sef
- Description of the Parameterframework
- Description of the Parametermapping
- Description of the Parameterrequest
- Description of the ParametercollectionRegistry
- Description of the Parameter
validateForm
public SchemEditActionErrors validateForm()
- In addition to validating against the schema, check statusFlags for duplicates and
create SchemEditErrors if dups found.
- Overrides:
validateForm
in class SchemEditValidator
- Returns:
- Description of the Return Value