project35.metaData
Class OntologyTermValidationService

java.lang.Object
  extended by project35.metaData.OntologyTermValidationService
All Implemented Interfaces:
java.io.Serializable, ServiceClass, DocumentValidationService

public class OntologyTermValidationService
extends java.lang.Object
implements DocumentValidationService

this service performs a number of checks that will help the data curator


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.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)
See Also:
Serialized Form

Constructor Summary
OntologyTermValidationService()
           
 
Method Summary
 Parameter[] getInitialisationParameters()
           
 void initialiseService(java.net.URL resourceDirectory, Parameter[] initialisationParameters)
           
 java.util.HashMap validate(Project35FormContext project35FormContext, RecordModel metaDataRootModel)
          Validation Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyTermValidationService

public OntologyTermValidationService()
Method Detail

validate

public java.util.HashMap validate(Project35FormContext project35FormContext,
                                  RecordModel metaDataRootModel)
                           throws java.lang.Exception
Validation Service

Specified by:
validate in interface DocumentValidationService
Throws:
java.lang.Exception

getInitialisationParameters

public Parameter[] getInitialisationParameters()
Specified by:
getInitialisationParameters in interface ServiceClass

initialiseService

public void initialiseService(java.net.URL resourceDirectory,
                              Parameter[] initialisationParameters)
                       throws java.lang.Exception
Specified by:
initialiseService in interface ServiceClass
Throws:
java.lang.Exception