From 2a520e589b70594c6c7f1027938671154444e399 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 28 Jun 2007 14:16:28 +0000 Subject: [PATCH] beginnings of configuration settings class. Introduced to avoid validation overhead in castor-1.1-cycle-xml.jar git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@411 be28352e-c001-0410-b1a7-c7978e42abec --- .../client/simpleclient/SimpleClientConfig.java | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/uk/ac/vamsas/client/simpleclient/SimpleClientConfig.java diff --git a/src/uk/ac/vamsas/client/simpleclient/SimpleClientConfig.java b/src/uk/ac/vamsas/client/simpleclient/SimpleClientConfig.java new file mode 100644 index 0000000..671740c --- /dev/null +++ b/src/uk/ac/vamsas/client/simpleclient/SimpleClientConfig.java @@ -0,0 +1,28 @@ +package uk.ac.vamsas.client.simpleclient; +/** + * Config for SimpleClient - a basic Vamsas Client Interface implementation. + * @author JimP + * + */ +public class SimpleClientConfig { + + /** + * New VAMSAS roots added (merged) into the document + * will be validated before actually being added. + * @return + */ + public static boolean validateMergedRoots() { + return false; + } + + /** + * existing VAMSAS roots that may have been modified + * will be validated before the updated document can + * be written. + * @return + */ + public static boolean validateUpdatedRoots() { + return false; + } + +} -- 1.7.10.2