DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.input
Class CollectionConfigValidator

java.lang.Object
  extended by org.dlese.dpc.schemedit.input.SchemEditValidator
      extended by 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 $


Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator
docMap, framework, im, request, schemaHelper, sef
 
Constructor Summary
CollectionConfigValidator(CollectionRegistry collectionRegistry, SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Constructor for the CollectionConfigValidator object
 
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
 

Constructor Detail

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 Parameter
framework - Description of the Parameter
mapping - Description of the Parameter
request - Description of the Parameter
collectionRegistry - Description of the Parameter
Method Detail

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

DLESE Tools
v1.6.0