Interface ListFieldValidationService

All Superinterfaces:
FieldValidationService,, ServiceClass
All Known Implementing Classes:
RequiredFieldValidator, StubbedListFieldValidationService

public interface ListFieldValidationService
extends FieldValidationService

A generic interface used to validate field values.

Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.

Kevin Garwood (

Method Summary
 java.util.ArrayList validate(Project35FormContext project35FormContext, ListFieldModel listFieldModel)
          validates the field value and returns any error messages
Methods inherited from interface project35.soa.validation.FieldValidationService
setFieldName, setRequiredField
Methods inherited from interface project35.soa.ServiceClass
getInitialisationParameters, initialiseService

Method Detail


java.util.ArrayList validate(Project35FormContext project35FormContext,
                             ListFieldModel listFieldModel)
                             throws java.lang.Exception
validates the field value and returns any error messages

listFieldModel - the data object to be validated.
an error message if the value is invalid or null if no errors were found