From: Richard Millet Date: Thu, 9 Apr 2009 02:46:20 +0000 (+0000) Subject: Adding constants for schema element strings to avoid hardcoded values. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=b1188f3353600f3a0e50900fae229ad074a447c9;p=tmp%2Fjakarta-migration.git Adding constants for schema element strings to avoid hardcoded values. --- diff --git a/HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectJAXBSchema.java b/HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectJAXBSchema.java new file mode 100644 index 000000000..8484bdb15 --- /dev/null +++ b/HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectJAXBSchema.java @@ -0,0 +1,21 @@ +/** + * + */ +package org.collectionspace.hello.services; + +/** + * @author remillet + * + */ +public interface CollectionObjectJAXBSchema { + final static String OBJECT_NUMBER = "objectNumber"; + final static String OTHER_NUMBER = "otherNumber"; + final static String BRIEF_DESCRIPTION = "briefDescription"; + final static String COMMENTS = "comments"; + final static String DIST_FEATURES = "distFeatures"; + final static String OBJECT_NAME = "objectName"; + final static String RESPONSIBLE_DEPT = "responsibleDept"; + final static String TITLE = "title"; +} + + diff --git a/HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectListItemJAXBSchema.java b/HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectListItemJAXBSchema.java new file mode 100644 index 000000000..c3aa8a577 --- /dev/null +++ b/HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectListItemJAXBSchema.java @@ -0,0 +1,7 @@ +package org.collectionspace.hello.services; + +public interface CollectionObjectListItemJAXBSchema { + final static String OBJECT_NUMBER = "objectNumber"; + final static String CSID = "csid"; + final static String URI = "url"; +}