From: jprocter <jprocter@compbio.dundee.ac.uk>
Date: Thu, 28 Jun 2007 14:16:28 +0000 (+0000)
Subject: beginnings of configuration settings class. Introduced to avoid validation overhead... 
X-Git-Tag: Release_0.2~109
X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2a520e589b70594c6c7f1027938671154444e399;p=vamsas.git

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
---

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;
+  }
+
+}