]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
Adding constants for schema element strings to avoid hardcoded values.
authorRichard Millet <richard.millet@berkeley.edu>
Thu, 9 Apr 2009 02:46:20 +0000 (02:46 +0000)
committerRichard Millet <richard.millet@berkeley.edu>
Thu, 9 Apr 2009 02:46:20 +0000 (02:46 +0000)
HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectJAXBSchema.java [new file with mode: 0644]
HelloWorld/HelloWorldJaxb/src/main/java/org/collectionspace/hello/services/CollectionObjectListItemJAXBSchema.java [new file with mode: 0644]

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 (file)
index 0000000..8484bdb
--- /dev/null
@@ -0,0 +1,21 @@
+/**\r
+ * \r
+ */\r
+package org.collectionspace.hello.services;\r
+\r
+/**\r
+ * @author remillet\r
+ *\r
+ */\r
+public interface CollectionObjectJAXBSchema {\r
+       final static String OBJECT_NUMBER = "objectNumber";\r
+       final static String OTHER_NUMBER = "otherNumber";\r
+       final static String BRIEF_DESCRIPTION = "briefDescription";\r
+       final static String COMMENTS = "comments";\r
+       final static String DIST_FEATURES = "distFeatures";\r
+       final static String OBJECT_NAME = "objectName";\r
+       final static String RESPONSIBLE_DEPT = "responsibleDept";\r
+       final static String TITLE = "title";\r
+}\r
+\r
+\r
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 (file)
index 0000000..c3aa8a5
--- /dev/null
@@ -0,0 +1,7 @@
+package org.collectionspace.hello.services;\r
+\r
+public interface CollectionObjectListItemJAXBSchema {\r
+       final static String OBJECT_NUMBER = "objectNumber";\r
+       final static String CSID = "csid";\r
+       final static String URI = "url";\r
+}\r