]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-2134: Updated Cataloging schema for release 0.8, adding one field and changing...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 15 Jun 2010 01:19:50 +0000 (01:19 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 15 Jun 2010 01:19:50 +0000 (01:19 +0000)
services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd
services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectAuthRefsTest.java
services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectSearchTest.java
services/collectionobject/client/src/test/resources/test-data/repfield_whitesp1.xml
services/collectionobject/client/src/test/resources/test-data/repfield_whitesp2.xml
services/collectionobject/client/src/test/resources/test-data/repfield_whitesp3.xml
services/collectionobject/client/src/test/resources/test-data/repfield_whitesp4.xml
services/collectionobject/client/src/test/resources/test-data/testCambridge.xml
services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd
services/common/src/main/config/services/tenant-bindings.xml

index 79a709eeb24ad367624425a61e46c3a1bf770b84..5f741a7087bbfbe88a95c0e533f4ab39c651177c 100644 (file)
         </xs:complexType>\r
     </xs:element>\r
     <xs:element name="collection" type="xs:string"/>\r
-    <xs:element name="title" type="xs:string"/>\r
-    <xs:element name="objectTitleLanguage" type="xs:string"/>\r
-    <xs:element name="titleTranslation" type="xs:string"/>\r
-    <xs:element name="titleType" type="xs:string"/>\r
-    <xs:element name="recordStatus" type="xs:string"/>\r
-\r
-    <!-- Object description information -->\r
-    <xs:element name="age" type="xs:string"/>\r
-    <xs:element name="ageQualifier" type="xs:string"/>\r
-    <xs:element name="ageUnit" type="xs:string"/>\r
-    <xs:element name="color" type="xs:string"/>\r
-\r
-    <!-- Object description: Content information -->\r
-    <xs:element name="contentActivity" type="xs:string"/>\r
-    <xs:element name="contentConcept" type="xs:string"/>\r
-    <xs:element name="contentDate" type="xs:string"/>\r
-    <xs:element name="contentDescription" type="xs:string"/>\r
-    <xs:element name="contentEventName" type="xs:string"/>\r
-    <xs:element name="contentEventNameType" type="xs:string"/>\r
-    <xs:element name="contentNote" type="xs:string"/>\r
-    <xs:element name="contentLanguage" type="xs:string"/>\r
-    <xs:element name="contentObject" type="xs:string"/>\r
-    <xs:element name="contentObjectType" type="xs:string"/>\r
-    <xs:element name="contentOrganization" type="xs:string"/>\r
-    <xs:element name="contentOther" type="xs:string"/>\r
-    <xs:element name="contentOtherType" type="xs:string"/>\r
-    <xs:element name="contentPeople" type="xs:string"/>\r
-    <xs:element name="contentPerson" type="xs:string"/>\r
-    <xs:element name="contentPlace" type="xs:string"/>\r
-    <xs:element name="contentPosition" type="xs:string"/>\r
-    <xs:element name="contentScript" type="xs:string"/>\r
-    <xs:element name="copyNumber" type="xs:string"/>\r
-\r
-    <!-- Object description: Dimension information -->\r
-    <xs:element name="dimension" type="xs:string"/>\r
-    <xs:element name="dimensionMeasuredPart" type="xs:string"/>\r
-    <xs:element name="dimensionMeasurementUnit" type="xs:string"/>\r
-    <xs:element name="dimensionValue" type="xs:string"/>\r
-    <xs:element name="dimensionValueDate" type="xs:string"/>\r
-    <xs:element name="dimensionValueQualifier" type="xs:string"/>\r
-\r
-    <xs:element name="editionNumber" type="xs:string"/>\r
-    <xs:element name="form" type="xs:string"/>\r
-\r
-    <!-- Object description: Inscription content information -->\r
-    <xs:element name="inscriptionContent" type="xs:string"/>\r
-    <xs:element name="inscriber" type="xs:string"/>\r
-    <xs:element name="inscriptionDate" type="xs:string"/>\r
-    <xs:element name="inscriptionInterpretation" type="xs:string"/>\r
-    <xs:element name="inscriptionLanguage" type="xs:string"/>\r
-    <xs:element name="inscriptionMethod" type="xs:string"/>\r
-    <xs:element name="inscriptionPosition" type="xs:string"/>\r
-    <xs:element name="inscriptionScript" type="xs:string"/>\r
-    <xs:element name="inscriptionTranslation" type="xs:string"/>\r
-    <xs:element name="inscriptionTransliteration" type="xs:string"/>\r
-    <xs:element name="inscriptionType" type="xs:string"/>\r
-\r
-    <!-- Object description: Inscription description information -->\r
-    <xs:element name="inscriptionDescription" type="xs:string"/>\r
-    <xs:element name="inscriptionDescriptionInscriber" type="xs:string"/>\r
-    <xs:element name="inscriptionDescriptionDate" type="xs:string"/>\r
-    <xs:element name="inscriptionDescriptionInterpretation" type="xs:string"/>\r
-    <xs:element name="inscriptionDescriptionMethod" type="xs:string"/>\r
-    <xs:element name="inscriptionDescriptionPosition" type="xs:string"/>\r
-    <xs:element name="inscriptionDescriptionType" type="xs:string"/>\r
-\r
-    <!-- Object description: Material information -->\r
-    <xs:element name="material" type="xs:string"/>\r
-    <xs:element name="materialComponent" type="xs:string"/>\r
-    <xs:element name="materialComponentNote" type="xs:string"/>\r
-    <xs:element name="materialName" type="xs:string"/>\r
-    <xs:element name="materialSource" type="xs:string"/>\r
-\r
-    <!-- Misc Object description information -->\r
-    <xs:element name="objectStatus" type="xs:string"/>\r
-    <xs:element name="phase" type="xs:string"/>\r
-    <xs:element name="physicalDescription" type="xs:string"/>\r
-    <xs:element name="sex" type="xs:string"/>\r
-    <xs:element name="style" type="xs:string"/>\r
-    <xs:element name="technicalAttribute" type="xs:string"/>\r
-    <xs:element name="technicalAttributeMeasurement" type="xs:string"/>\r
-    <xs:element name="technicalAttributeMeasurementUnit" type="xs:string"/>\r
-    <xs:element name="objectComponentName" type="xs:string"/>\r
-    <xs:element name="objectComponentInformation" type="xs:string"/>\r
-\r
-    <!-- Object Production Information -->\r
-    <xs:element name="objectProductionDate" type="xs:string" />\r
-    <xs:element name="objectProductionNote" type="xs:string" />\r
-    <xs:element name="objectProductionOrganization" type="xs:string" />\r
-    <xs:element name="objectProductionPeople" type="xs:string" />\r
-    <xs:element name="objectProductionPerson" type="xs:string" />\r
-    <xs:element name="objectProductionPlace" type="xs:string" />\r
-    <xs:element name="objectProductionReason" type="xs:string" />\r
-    <xs:element name="technique" type="xs:string" />\r
-    <xs:element name="techniqueType" type="xs:string" />\r
-\r
-    <!-- Object History and Association Information - Association -->\r
-    <xs:element name="associatedActivityNote" type="xs:string" />\r
-    <xs:element name="associatedConcept" type="xs:string" />\r
-    <xs:element name="associatedCulturalAffinity" type="xs:string" />\r
-    <xs:element name="associatedDate" type="xs:string" />\r
-    <xs:element name="associatedEventName" type="xs:string" />\r
-    <xs:element name="associatedEventNameType" type="xs:string" />\r
-    <xs:element name="associatedEventOrganization" type="xs:string" />\r
-    <xs:element name="associatedEventPeople" type="xs:string" />\r
-    <xs:element name="associatedEventPerson" type="xs:string" />\r
-    <xs:element name="associatedEventPlace" type="xs:string" />\r
-    <xs:element name="associatedObject" type="xs:string" />\r
-    <xs:element name="associatedObjectType" type="xs:string" />\r
-    <xs:element name="associatedOrganization" type="xs:string" />\r
-    <xs:element name="associatedPeople" type="xs:string" />\r
-    <xs:element name="associatedPerson" type="xs:string" />\r
-    <xs:element name="associatedPlace" type="xs:string" />\r
-    <xs:element name="associationNote" type="xs:string" />\r
-    <xs:element name="associationType" type="xs:string" />\r
-\r
-    <!-- Object History and Association Information - History -->\r
-    <xs:element name="objectHistoryNote" type="xs:string" />\r
-    <xs:element name="owner" type="xs:string" />\r
-    <xs:element name="ownershipAccess" type="xs:string" />\r
-    <xs:element name="ownershipCategory" type="xs:string" />\r
-    <xs:element name="ownershipDates" type="xs:string" />\r
-    <xs:element name="ownershipExchangeMethod" type="xs:string" />\r
-    <xs:element name="ownershipExchangeNote" type="xs:string" />\r
-    <xs:element name="ownershipExchangePriceDenomination" type="xs:string" />\r
-    <xs:element name="ownershipExchangePriceValue" type="xs:string" />\r
-    <xs:element name="ownershipPlace" type="xs:string" />\r
-    <xs:element name="usage" type="xs:string" />\r
-    <xs:element name="usageNote" type="xs:string" />\r
-\r
-    <!-- Object Owner's Contribution Information -->\r
-    <xs:element name="ownersPersonalExperience" type="xs:string" />\r
-    <xs:element name="ownersPersonalResponse" type="xs:string" />\r
-    <xs:element name="ownersReference" type="xs:string" />\r
-    <xs:element name="ownersContributionNote" type="xs:string" />\r
-\r
-    <!-- Object Viewers Contribution Information -->\r
-    <xs:element name="viewersRole" type="xs:string" />\r
-    <xs:element name="viewersPersonalExperience" type="xs:string" />\r
-    <xs:element name="viewersPersonalResponse" type="xs:string" />\r
-    <xs:element name="viewersReference" type="xs:string" />\r
-    <xs:element name="viewersContributionNote" type="xs:string" />\r
-\r
-    <!-- Reference Information -->\r
-    <xs:element name="reference" type="xs:string" />\r
-    <xs:element name="catalogNumber" type="xs:string" />\r
-\r
-    <!-- Object Collection Information -->\r
-    <xs:element name="fieldCollectionEventName" type="xs:string" />\r
-\r
-    <!-- Object Description Date Information -->\r
-    <!-- This appears to be a placeholder structured date -->\r
-\r
-    <!-- Object description: Date information -->\r
-    <xs:element name="dateAssociation" type="xs:string"/>\r
-    <xs:element name="dateEarliestSingle" type="xs:string"/>\r
-    <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>\r
-    <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>\r
-    <xs:element name="dateLatest" type="xs:string"/>\r
-    <xs:element name="dateLatestCertainty" type="xs:string"/>\r
-    <xs:element name="dateLatestQualifier" type="xs:string"/>\r
-    <xs:element name="datePeriod" type="xs:string"/>\r
-    <xs:element name="dateText" type="xs:string"/>\r
+        <xs:element name="title" type="xs:string"/>\r
+        <xs:element name="titleLanguage" type="xs:string"/>\r
+        <xs:element name="titleTranslation" type="xs:string"/>\r
+        <xs:element name="titleType" type="xs:string"/>\r
+        <xs:element name="recordStatus" type="xs:string"/>\r
+\r
+        <!-- Object Description Information -->\r
+        <xs:element name="age" type="xs:string"/>\r
+        <xs:element name="ageQualifier" type="xs:string"/>\r
+        <xs:element name="ageUnit" type="xs:string"/>\r
+        <xs:element name="color" type="xs:string"/>\r
+\r
+        <!-- Object Description - Content Information -->\r
+        <xs:element name="contentActivity" type="xs:string"/>\r
+        <xs:element name="contentConcept" type="xs:string"/>\r
+        <xs:element name="contentDate" type="xs:string"/>\r
+        <xs:element name="contentDescription" type="xs:string"/>\r
+        <xs:element name="contentEventName" type="xs:string"/>\r
+        <xs:element name="contentEventNameType" type="xs:string"/>\r
+        <xs:element name="contentNote" type="xs:string"/>\r
+        <xs:element name="contentLanguage" type="xs:string"/>\r
+        <xs:element name="contentObject" type="xs:string"/>\r
+        <xs:element name="contentObjectType" type="xs:string"/>\r
+        <xs:element name="contentOrganization" type="xs:string"/>\r
+        <xs:element name="contentOther" type="xs:string"/>\r
+        <xs:element name="contentOtherType" type="xs:string"/>\r
+        <xs:element name="contentPeople" type="xs:string"/>\r
+        <xs:element name="contentPerson" type="xs:string"/>\r
+        <xs:element name="contentPlace" type="xs:string"/>\r
+        <xs:element name="contentPosition" type="xs:string"/>\r
+        <xs:element name="contentScript" type="xs:string"/>\r
+\r
+        <xs:element name="copyNumber" type="xs:string"/>\r
+\r
+        <!-- Object Description - Dimension Information -->\r
+        <xs:element name="dimension" type="xs:string"/>\r
+        <xs:element name="dimensionMeasuredPart" type="xs:string"/>\r
+        <xs:element name="dimensionMeasurementUnit" type="xs:string"/>\r
+        <xs:element name="dimensionValue" type="xs:string"/>\r
+        <xs:element name="dimensionValueDate" type="xs:string"/>\r
+        <xs:element name="dimensionValueQualifier" type="xs:string"/>\r
+\r
+        <xs:element name="editionNumber" type="xs:string"/>\r
+        <xs:element name="form" type="xs:string"/>\r
+\r
+        <!-- Object description Inscription - Content Information -->\r
+        <xs:element name="inscriptionContent" type="xs:string"/>\r
+        <xs:element name="inscriptionContentInscriber" type="xs:string"/>\r
+        <xs:element name="inscriptionContentDate" type="xs:string"/>\r
+        <xs:element name="inscriptionContentInterpretation" type="xs:string"/>\r
+        <xs:element name="inscriptionContentLanguage" type="xs:string"/>\r
+        <xs:element name="inscriptionContentMethod" type="xs:string"/>\r
+        <xs:element name="inscriptionContentPosition" type="xs:string"/>\r
+        <xs:element name="inscriptionContentScript" type="xs:string"/>\r
+        <xs:element name="inscriptionContentTranslation" type="xs:string"/>\r
+        <xs:element name="inscriptionContentTransliteration" type="xs:string"/>\r
+        <xs:element name="inscriptionContentType" type="xs:string"/>\r
+\r
+        <!-- Object Description Inscription - Description Information -->\r
+        <xs:element name="inscriptionDescription" type="xs:string"/>\r
+        <xs:element name="inscriptionDescriptionInscriber" type="xs:string"/>\r
+        <xs:element name="inscriptionDescriptionDate" type="xs:string"/>\r
+        <xs:element name="inscriptionDescriptionInterpretation" type="xs:string"/>\r
+        <xs:element name="inscriptionDescriptionMethod" type="xs:string"/>\r
+        <xs:element name="inscriptionDescriptionPosition" type="xs:string"/>\r
+        <xs:element name="inscriptionDescriptionType" type="xs:string"/>\r
+\r
+        <!-- Object Description Material Information -->\r
+        <xs:element name="material" type="xs:string"/>\r
+        <xs:element name="materialComponent" type="xs:string"/>\r
+        <xs:element name="materialComponentNote" type="xs:string"/>\r
+        <xs:element name="materialName" type="xs:string"/>\r
+        <xs:element name="materialSource" type="xs:string"/>\r
+\r
+        <!-- Misc Object Description Information -->\r
+        <xs:element name="objectStatus" type="xs:string"/>\r
+        <xs:element name="phase" type="xs:string"/>\r
+        <xs:element name="physicalDescription" type="xs:string"/>\r
+        <xs:element name="sex" type="xs:string"/>\r
+        <xs:element name="style" type="xs:string"/>\r
+        <xs:element name="technicalAttribute" type="xs:string"/>\r
+        <xs:element name="technicalAttributeMeasurement" type="xs:string"/>\r
+        <xs:element name="technicalAttributeMeasurementUnit" type="xs:string"/>\r
+        <xs:element name="objectComponentName" type="xs:string"/>\r
+        <xs:element name="objectComponentInformation" type="xs:string"/>\r
+\r
+        <!-- Object Production Information -->\r
+        <xs:element name="objectProductionDate" type="xs:string"/>\r
+        <xs:element name="objectProductionNote" type="xs:string"/>\r
+        <xs:element name="objectProductionOrganization" type="xs:string"/>\r
+        <xs:element name="objectProductionPeople" type="xs:string"/>\r
+        <xs:element name="objectProductionPerson" type="xs:string"/>\r
+        <xs:element name="objectProductionPlace" type="xs:string"/>\r
+        <xs:element name="objectProductionReason" type="xs:string"/>\r
+        <xs:element name="technique" type="xs:string"/>\r
+        <xs:element name="techniqueType" type="xs:string"/>\r
+\r
+        <!-- Object History and Association Information - Association -->\r
+        <xs:element name="associatedActivity" type="xs:string"/>\r
+        <xs:element name="associatedActivityNote" type="xs:string"/>\r
+        <xs:element name="associatedConcept" type="xs:string"/>\r
+        <xs:element name="associatedCulturalAffinity" type="xs:string"/>\r
+        <xs:element name="associatedDate" type="xs:string"/>\r
+        <xs:element name="associatedEventName" type="xs:string"/>\r
+        <xs:element name="associatedEventNameType" type="xs:string"/>\r
+        <xs:element name="associatedEventOrganization" type="xs:string"/>\r
+        <xs:element name="associatedEventPeople" type="xs:string"/>\r
+        <xs:element name="associatedEventPerson" type="xs:string"/>\r
+        <xs:element name="associatedEventPlace" type="xs:string"/>\r
+        <xs:element name="associatedObject" type="xs:string"/>\r
+        <xs:element name="associatedObjectType" type="xs:string"/>\r
+        <xs:element name="associatedOrganization" type="xs:string"/>\r
+        <xs:element name="associatedPeople" type="xs:string"/>\r
+        <xs:element name="associatedPerson" type="xs:string"/>\r
+        <xs:element name="associatedPlace" type="xs:string"/>\r
+        <xs:element name="associationNote" type="xs:string"/>\r
+        <xs:element name="associationType" type="xs:string"/>\r
+\r
+        <!-- Object History and Association Information - History -->\r
+        <xs:element name="objectHistoryNote" type="xs:string"/>\r
+        <xs:element name="owner" type="xs:string"/>\r
+        <xs:element name="ownershipAccess" type="xs:string"/>\r
+        <xs:element name="ownershipCategory" type="xs:string"/>\r
+        <xs:element name="ownershipDates" type="xs:string"/>\r
+        <xs:element name="ownershipExchangeMethod" type="xs:string"/>\r
+        <xs:element name="ownershipExchangeNote" type="xs:string"/>\r
+        <xs:element name="ownershipExchangePriceCurrency" type="xs:string"/>\r
+        <xs:element name="ownershipExchangePriceValue" type="xs:string"/>\r
+        <xs:element name="ownershipPlace" type="xs:string"/>\r
+        <xs:element name="usage" type="xs:string"/>\r
+        <xs:element name="usageNote" type="xs:string"/>\r
+\r
+        <!-- Object Owner's Contribution Information -->\r
+        <xs:element name="ownersPersonalExperience" type="xs:string"/>\r
+        <xs:element name="ownersPersonalResponse" type="xs:string"/>\r
+        <xs:element name="ownersReference" type="xs:string"/>\r
+        <xs:element name="ownersContributionNote" type="xs:string"/>\r
+\r
+        <!-- Object Viewers Contribution Information -->\r
+        <xs:element name="viewersRole" type="xs:string"/>\r
+        <xs:element name="viewersPersonalExperience" type="xs:string"/>\r
+        <xs:element name="viewersPersonalResponse" type="xs:string"/>\r
+        <xs:element name="viewersReference" type="xs:string"/>\r
+        <xs:element name="viewersContributionNote" type="xs:string"/>\r
+\r
+        <!-- Reference Information -->\r
+        <xs:element name="reference" type="xs:string"/>\r
+        <xs:element name="catalogNumber" type="xs:string"/>\r
+\r
+        <!-- Object Collection Information -->\r
+        <xs:element name="fieldCollectionEventName" type="xs:string"/>\r
+\r
+        <!-- Object Description Date Information -->\r
+        <!-- This appears to be a placeholder structured date -->\r
+        <xs:element name="dateAssociation" type="xs:string"/>\r
+        <xs:element name="dateEarliestSingle" type="xs:string"/>\r
+        <xs:element name="dateEarliestSingleCertainty" type="xs:string"/>\r
+        <xs:element name="dateEarliestSingleQualifier" type="xs:string"/>\r
+        <xs:element name="dateLatest" type="xs:string"/>\r
+        <xs:element name="dateLatestCertainty" type="xs:string"/>\r
+        <xs:element name="dateLatestQualifier" type="xs:string"/>\r
+        <xs:element name="datePeriod" type="xs:string"/>\r
+        <xs:element name="dateText" type="xs:string"/>\r
 \r
 </xs:schema>\r
index 9b5ece86d8bb17dcedee96741e77c6d036f32ad9..9e4e1d006f8e1ba365e39710bc41b3d2577d97bb 100644 (file)
@@ -94,7 +94,7 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest {
     private String contentPersonRefName = null;
     
     /** The inscriber ref name. */
-    private String inscriberRefName = null;
+    private String contentInscriberRefName = null;
     
     /** The number of authority references expected. */
     private final int NUM_AUTH_REFS_EXPECTED = 4;
@@ -147,7 +147,7 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest {
                                                                contentOrganizationRefName,
                                                                contentPeopleRefName,
                                                                contentPersonRefName,
-                                                               inscriberRefName );
+                                                               contentInscriberRefName );
 
         ClientResponse<Response> res = collectionObjectClient.create(multipart);
 
@@ -197,21 +197,21 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest {
         Assert.assertEquals(statusCode, STATUS_CREATED);
         personAuthCSID = extractId(res);
         
-        contentOrganizationRefName = PersonAuthorityClientUtils.createPersonRefName(
-                                                               authRefName, "Omni Org", true);
+        contentOrganizationRefName =
+            PersonAuthorityClientUtils.createPersonRefName(authRefName, "Omni Org", true);
         personIdsCreated.add(createPerson("Omni", "Org", contentOrganizationRefName));
         
-        contentPeopleRefName = PersonAuthorityClientUtils.createPersonRefName(
-                                                                       authRefName, "Pushy People", true);
+        contentPeopleRefName =
+            PersonAuthorityClientUtils.createPersonRefName(authRefName, "Pushy People", true);
         personIdsCreated.add(createPerson("Pushy", "People", contentPeopleRefName));
         
-        contentPersonRefName = PersonAuthorityClientUtils.createPersonRefName(
-                                                                       authRefName, "Connie ContactPerson", true);
+        contentPersonRefName =
+                PersonAuthorityClientUtils.createPersonRefName(authRefName, "Connie ContactPerson", true);
         personIdsCreated.add(createPerson("Connie", "ContactPerson", contentPersonRefName));
         
-        inscriberRefName = PersonAuthorityClientUtils.createPersonRefName(
-                                                                       authRefName, "Ingrid Inscriber", true);
-        personIdsCreated.add(createPerson("Ingrid", "Inscriber", inscriberRefName));
+        contentInscriberRefName =
+            PersonAuthorityClientUtils.createPersonRefName(authRefName, "Ingrid Inscriber", true);
+        personIdsCreated.add(createPerson("Ingrid", "Inscriber", contentInscriberRefName));
     }
     
     /**
@@ -276,7 +276,7 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest {
         Assert.assertNotNull(collectionObject);
         // Check a couple of fields
         Assert.assertEquals(collectionObject.getContentOrganization(), contentOrganizationRefName);
-        Assert.assertEquals(collectionObject.getInscriber(), inscriberRefName);
+        Assert.assertEquals(collectionObject.getInscriptionContentInscriber(), contentInscriberRefName);
         
         // Get the auth refs and check them
         ClientResponse<AuthorityRefList> res2 = collectionObjectClient.getAuthorityRefs(knownResourceId);
@@ -393,7 +393,7 @@ public class CollectionObjectAuthRefsTest extends BaseServiceTest {
         collectionObject.setContentOrganization(contentOrganization);
         collectionObject.setContentPeople(contentPeople);
         collectionObject.setContentPerson(contentPerson);
-        collectionObject.setInscriber(inscriber);
+        collectionObject.setInscriptionContentInscriber(inscriber);
         MultipartOutput multipart = new MultipartOutput();
         OutputPart commonPart =
             multipart.addPart(collectionObject, MediaType.APPLICATION_XML_TYPE);
index 6aa258349fd49c09e20ffea30634abe7eb635977..c2b4a3104e447412c963673444fd701ec61ea7d0 100644 (file)
@@ -107,6 +107,7 @@ public class CollectionObjectSearchTest extends BaseServiceTest {
 
     // Success outcomes
 
+    // FIXME: Rename to searchWithOneKeyword
     @Test(dataProvider="testName", dataProviderClass=AbstractServiceTestImpl.class)
     public void keywordSearchOneWord(String testName) throws Exception {
 
@@ -159,12 +160,14 @@ public class CollectionObjectSearchTest extends BaseServiceTest {
 
     }
 
+    // FIXME: Rename to searchWithOneKeywordInRepeatableScalarField
     // @Test(dataProvider="testName", dataProviderClass=AbstractServiceTestImpl.class)
     public void keywordSearchRepeatableScalarField(String testName) throws Exception {
     }
 
     // Failure outcomes
 
+    // FIXME: Rename to searchWithNonExistentKeyword
     @Test(dataProvider="testName", dataProviderClass=AbstractServiceTestImpl.class)
     public void keywordSearchNonExistentKeyword(String testName) throws Exception {
 
index 8300737c0bcb138dcb01ecf5e7f7b75f1a38c5e9..d2946dba821e70539edcdbd58e715c1d72e613d8 100644 (file)
@@ -19,7 +19,7 @@
 <!-- test whitespace as first child node -->
 <responsibleDepartments> <responsibleDepartment> responsibleDept1</responsibleDepartment><responsibleDepartment>responsibleDept2</responsibleDepartment></responsibleDepartments>
 <title>title</title>
-<objectTitleLanguage>objectTitleLanguage</objectTitleLanguage>
+<titleLanguage>titleLanguage</titleLanguage>
 <titleTranslation>titleTranslation</titleTranslation>
 <titleType>titleType</titleType>
 <age>age</age>
 <editionNumber>editionNumber</editionNumber>
 <form>form</form>
 <inscriptionContent>inscriptionContent</inscriptionContent>
-<inscriber>inscriber</inscriber>
-<inscriptionDate>inscriptionDate</inscriptionDate>
-<inscriptionInterpretation>inscriptionInterpretation</inscriptionInterpretation>
-<inscriptionLanguage>inscriptionLanguage</inscriptionLanguage>
-<inscriptionMethod>inscriptionMethod</inscriptionMethod>
-<inscriptionPosition>inscriptionPosition</inscriptionPosition>
-<inscriptionScript>inscriptionScript</inscriptionScript>
-<inscriptionTranslation>inscriptionTranslation</inscriptionTranslation>
-<inscriptionTransliteration>inscriptionTransliteration</inscriptionTransliteration>
-<inscriptionType>inscriptionType</inscriptionType>
+<inscriptionContentInscriber>inscriptionContentInscriber</inscriptionContentInscriber>
+<inscriptionContentDate>inscriptionContentDate</inscriptionContentDate>
+<inscriptionContentInterpretation>inscriptionContentInterpretation</inscriptionContentInterpretation>
+<inscriptionContentLanguage>inscriptionContentLanguage</inscriptionContentLanguage>
+<inscriptionContentMethod>inscriptionContentMethod</inscriptionContentMethod>
+<inscriptionContentPosition>inscriptionContentPosition</inscriptionContentPosition>
+<inscriptionContentScript>inscriptionContentScript</inscriptionContentScript>
+<inscriptionContentTranslation>inscriptionContentTranslation</inscriptionContentTranslation>
+<inscriptionContentTransliteration>inscriptionContentTransliteration</inscriptionContentTransliteration>
+<inscriptionContentType>inscriptionContentType</inscriptionContentType>
 <inscriptionDescription>inscriptionDescription</inscriptionDescription>
 <inscriptionDescriptionInscriber>inscriptionDescriptionInscriber</inscriptionDescriptionInscriber>
 <inscriptionDescriptionDate>inscriptionDescriptionDate</inscriptionDescriptionDate>
index fadcd2a88ccb27bc9242ac0420d82334b2a4b758..237bf512fcb23d76efc72c9cc8e5d5550bba155c 100644 (file)
@@ -26,7 +26,7 @@
 </responsibleDepartments>
 
 <title>title</title>
-<objectTitleLanguage>objectTitleLanguage</objectTitleLanguage>
+<titleLanguage>titleLanguage</titleLanguage>
 <titleTranslation>titleTranslation</titleTranslation>
 <titleType>titleType</titleType>
 <age>age</age>
 <editionNumber>editionNumber</editionNumber>
 <form>form</form>
 <inscriptionContent>inscriptionContent</inscriptionContent>
-<inscriber>inscriber</inscriber>
-<inscriptionDate>inscriptionDate</inscriptionDate>
-<inscriptionInterpretation>inscriptionInterpretation</inscriptionInterpretation>
-<inscriptionLanguage>inscriptionLanguage</inscriptionLanguage>
-<inscriptionMethod>inscriptionMethod</inscriptionMethod>
-<inscriptionPosition>inscriptionPosition</inscriptionPosition>
-<inscriptionScript>inscriptionScript</inscriptionScript>
-<inscriptionTranslation>inscriptionTranslation</inscriptionTranslation>
-<inscriptionTransliteration>inscriptionTransliteration</inscriptionTransliteration>
-<inscriptionType>inscriptionType</inscriptionType>
+<inscriptionContentInscriber>inscriptionContentInscriber</inscriptionContentInscriber>
+<inscriptionContentDate>inscriptionContentDate</inscriptionContentDate>
+<inscriptionContentInterpretation>inscriptionContentInterpretation</inscriptionContentInterpretation>
+<inscriptionContentLanguage>inscriptionContentLanguage</inscriptionContentLanguage>
+<inscriptionContentMethod>inscriptionContentMethod</inscriptionContentMethod>
+<inscriptionContentPosition>inscriptionContentPosition</inscriptionContentPosition>
+<inscriptionContentScript>inscriptionContentScript</inscriptionContentScript>
+<inscriptionContentTranslation>inscriptionContentTranslation</inscriptionContentTranslation>
+<inscriptionContentTransliteration>inscriptionContentTransliteration</inscriptionContentTransliteration>
+<inscriptionContentType>inscriptionContentType</inscriptionContentType>
 <inscriptionDescription>inscriptionDescription</inscriptionDescription>
 <inscriptionDescriptionInscriber>inscriptionDescriptionInscriber</inscriptionDescriptionInscriber>
 <inscriptionDescriptionDate>inscriptionDescriptionDate</inscriptionDescriptionDate>
index 29d8de6f23b90f28c793c1faa23bb658f402b55e..485039eb5bf934543e11ee53aff7996cf8e84f1f 100644 (file)
@@ -29,7 +29,7 @@
 </responsibleDepartments>
 
 <title>title</title>
-<objectTitleLanguage>objectTitleLanguage</objectTitleLanguage>
+<titleLanguage>titleLanguage</titleLanguage>
 <titleTranslation>titleTranslation</titleTranslation>
 <titleType>titleType</titleType>
 <age>age</age>
 <editionNumber>editionNumber</editionNumber>
 <form>form</form>
 <inscriptionContent>inscriptionContent</inscriptionContent>
-<inscriber>inscriber</inscriber>
-<inscriptionDate>inscriptionDate</inscriptionDate>
-<inscriptionInterpretation>inscriptionInterpretation</inscriptionInterpretation>
-<inscriptionLanguage>inscriptionLanguage</inscriptionLanguage>
-<inscriptionMethod>inscriptionMethod</inscriptionMethod>
-<inscriptionPosition>inscriptionPosition</inscriptionPosition>
-<inscriptionScript>inscriptionScript</inscriptionScript>
-<inscriptionTranslation>inscriptionTranslation</inscriptionTranslation>
-<inscriptionTransliteration>inscriptionTransliteration</inscriptionTransliteration>
-<inscriptionType>inscriptionType</inscriptionType>
+<inscriptionContentInscriber>inscriptionContentInscriber</inscriptionContentInscriber>
+<inscriptionContentDate>inscriptionContentDate</inscriptionContentDate>
+<inscriptionContentInterpretation>inscriptionContentInterpretation</inscriptionContentInterpretation>
+<inscriptionContentLanguage>inscriptionContentLanguage</inscriptionContentLanguage>
+<inscriptionContentMethod>inscriptionContentMethod</inscriptionContentMethod>
+<inscriptionContentPosition>inscriptionContentPosition</inscriptionContentPosition>
+<inscriptionContentScript>inscriptionContentScript</inscriptionContentScript>
+<inscriptionContentTranslation>inscriptionContentTranslation</inscriptionContentTranslation>
+<inscriptionContentTransliteration>inscriptionContentTransliteration</inscriptionContentTransliteration>
+<inscriptionContentType>inscriptionContentType</inscriptionContentType>
 <inscriptionDescription>inscriptionDescription</inscriptionDescription>
 <inscriptionDescriptionInscriber>inscriptionDescriptionInscriber</inscriptionDescriptionInscriber>
 <inscriptionDescriptionDate>inscriptionDescriptionDate</inscriptionDescriptionDate>
index 72094ee2164be433afaaf844ffc05feae7748e16..9ad7216d9675651ea1241860d16ac183bcc56eb7 100644 (file)
@@ -26,7 +26,7 @@
 </responsibleDepartments>
 
 <title>title</title>
-<objectTitleLanguage>objectTitleLanguage</objectTitleLanguage>
+<titleLanguage>titleLanguage</titleLanguage>
 <titleTranslation>titleTranslation</titleTranslation>
 <titleType>titleType</titleType>
 <age>age</age>
 <editionNumber>editionNumber</editionNumber>
 <form>form</form>
 <inscriptionContent>inscriptionContent</inscriptionContent>
-<inscriber>inscriber</inscriber>
-<inscriptionDate>inscriptionDate</inscriptionDate>
-<inscriptionInterpretation>inscriptionInterpretation</inscriptionInterpretation>
-<inscriptionLanguage>inscriptionLanguage</inscriptionLanguage>
-<inscriptionMethod>inscriptionMethod</inscriptionMethod>
-<inscriptionPosition>inscriptionPosition</inscriptionPosition>
-<inscriptionScript>inscriptionScript</inscriptionScript>
-<inscriptionTranslation>inscriptionTranslation</inscriptionTranslation>
-<inscriptionTransliteration>inscriptionTransliteration</inscriptionTransliteration>
-<inscriptionType>inscriptionType</inscriptionType>
+<inscriptionContentInscriber>inscriptionContentInscriber</inscriptionContentInscriber>
+<inscriptionContentDate>inscriptionContentDate</inscriptionContentDate>
+<inscriptionContentInterpretation>inscriptionContentInterpretation</inscriptionContentInterpretation>
+<inscriptionContentLanguage>inscriptionContentLanguage</inscriptionContentLanguage>
+<inscriptionContentMethod>inscriptionContentMethod</inscriptionContentMethod>
+<inscriptionContentPosition>inscriptionContentPosition</inscriptionContentPosition>
+<inscriptionContentScript>inscriptionContentScript</inscriptionContentScript>
+<inscriptionContentTranslation>inscriptionContentTranslation</inscriptionContentTranslation>
+<inscriptionContentTransliteration>inscriptionContentTransliteration</inscriptionContentTransliteration>
+<inscriptionContentType>inscriptionContentType</inscriptionContentType>
 <inscriptionDescription>inscriptionDescription</inscriptionDescription>
 <inscriptionDescriptionInscriber>inscriptionDescriptionInscriber</inscriptionDescriptionInscriber>
 <inscriptionDescriptionDate>inscriptionDescriptionDate</inscriptionDescriptionDate>
index ca2e0370b99fb4847d61b3198d07eba8a9a7c9a8..c95d79a3f1cffdb092c3daa1b4430496862ae617 100644 (file)
 <dimensionValueQualifier>dimensionValueQualifier</dimensionValueQualifier>
   <editionNumber>editionNumber</editionNumber>
   <form>form</form>
-  <inscriptionContent>inscriptionContent</inscriptionContent>
-  <inscriber>inscriber</inscriber>
-  <inscriptionDate>inscriptionDate</inscriptionDate>
-
-<inscriptionInterpretation>inscriptionInterpretation</inscriptionInterpretation>
-  <inscriptionLanguage>inscriptionLanguage</inscriptionLanguage>
-  <inscriptionMethod>inscriptionMethod</inscriptionMethod>
-  <inscriptionPosition>inscriptionPosition</inscriptionPosition>
-  <inscriptionScript>inscriptionScript</inscriptionScript>
-  <inscriptionTranslation>inscriptionTranslation</inscriptionTranslation>
-
-<inscriptionTransliteration>inscriptionTransliteration</inscriptionTransliteration>
-  <inscriptionType>inscriptionType</inscriptionType>
-  <inscriptionDescription>inscriptionDescription</inscriptionDescription>
+ <inscriptionContent>inscriptionContent</inscriptionContent>
+<inscriptionContentInscriber>inscriptionContentInscriber</inscriptionContentInscriber>
+<inscriptionContentDate>inscriptionContentDate</inscriptionContentDate>
+<inscriptionContentInterpretation>inscriptionContentInterpretation</inscriptionContentInterpretation>
+<inscriptionContentLanguage>inscriptionContentLanguage</inscriptionContentLanguage>
+<inscriptionContentMethod>inscriptionContentMethod</inscriptionContentMethod>
+<inscriptionContentPosition>inscriptionContentPosition</inscriptionContentPosition>
+<inscriptionContentScript>inscriptionContentScript</inscriptionContentScript>
+<inscriptionContentTranslation>inscriptionContentTranslation</inscriptionContentTranslation>
+<inscriptionContentTransliteration>inscriptionContentTransliteration</inscriptionContentTransliteration>
+<inscriptionContentType>inscriptionContentType</inscriptionContentType>  <inscriptionDescription>inscriptionDescription</inscriptionDescription>
 
 <inscriptionDescriptionInscriber>inscriptionDescriptionInscriber</inscriptionDescriptionInscriber>
 
index 8537ff4585d92f87743ec7eabe7e8bfb9bd348d5..c76e0591788972b138de3dd0a0a9e3ff8c23e156 100644 (file)
@@ -69,7 +69,7 @@
                 <xs:element name="responsibleDepartments" type="responsibleDepartmentList"/>
                 <xs:element name="collection" type="xs:string"/>
                 <xs:element name="title" type="xs:string"/>
-                <xs:element name="objectTitleLanguage" type="xs:string"/>
+                <xs:element name="titleLanguage" type="xs:string"/>
                 <xs:element name="titleTranslation" type="xs:string"/>
                 <xs:element name="titleType" type="xs:string"/>
                 <xs:element name="recordStatus" type="xs:string"/>
 
                 <!-- Object description Inscription - Content Information -->
                 <xs:element name="inscriptionContent" type="xs:string" />
-                <xs:element name="inscriber" type="xs:string" />
-                <xs:element name="inscriptionDate" type="xs:string" />
-                <xs:element name="inscriptionInterpretation" type="xs:string" />
-                <xs:element name="inscriptionLanguage" type="xs:string" />
-                <xs:element name="inscriptionMethod" type="xs:string" />
-                <xs:element name="inscriptionPosition" type="xs:string" />
-                <xs:element name="inscriptionScript" type="xs:string" />
-                <xs:element name="inscriptionTranslation" type="xs:string" />
-                <xs:element name="inscriptionTransliteration" type="xs:string" />
-                <xs:element name="inscriptionType" type="xs:string" />
+                <xs:element name="inscriptionContentInscriber" type="xs:string" />
+                <xs:element name="inscriptionContentDate" type="xs:string" />
+                <xs:element name="inscriptionContentInterpretation" type="xs:string" />
+                <xs:element name="inscriptionContentLanguage" type="xs:string" />
+                <xs:element name="inscriptionContentMethod" type="xs:string" />
+                <xs:element name="inscriptionContentPosition" type="xs:string" />
+                <xs:element name="inscriptionContentScript" type="xs:string" />
+                <xs:element name="inscriptionContentTranslation" type="xs:string" />
+                <xs:element name="inscriptionContentTransliteration" type="xs:string" />
+                <xs:element name="inscriptionContentType" type="xs:string" />
                 
                 <!-- Object Description Inscription - Description Information -->
                 <xs:element name="inscriptionDescription" type="xs:string" />
                 <xs:element name="techniqueType" type="xs:string" />
 
                 <!-- Object History and Association Information - Association -->
+                <xs:element name="associatedActivity" type="xs:string" />
                 <xs:element name="associatedActivityNote" type="xs:string" />
                 <xs:element name="associatedConcept" type="xs:string" />
                 <xs:element name="associatedCulturalAffinity" type="xs:string" />
                 <xs:element name="ownershipDates" type="xs:string" />
                 <xs:element name="ownershipExchangeMethod" type="xs:string" />
                 <xs:element name="ownershipExchangeNote" type="xs:string" />
-                <xs:element name="ownershipExchangePriceDenomination" type="xs:string" />
+                <xs:element name="ownershipExchangePriceCurrency" type="xs:string" />
                 <xs:element name="ownershipExchangePriceValue" type="xs:string" />
                 <xs:element name="ownershipPlace" type="xs:string" />
                 <xs:element name="usage" type="xs:string" />
index 2fdd37b8693fadee116759c5ec92ae7fb756408d..06cb556743242df68f4549f80447d269516e147e 100644 (file)
@@ -66,7 +66,7 @@
                         <types:item><types:key>authRef</types:key><types:value>contentOrganization</types:value></types:item>
                         <types:item><types:key>authRef</types:key><types:value>contentPeople</types:value></types:item>
                         <types:item><types:key>authRef</types:key><types:value>contentPerson</types:value></types:item>
-                        <types:item><types:key>authRef</types:key><types:value>inscriber</types:value></types:item>
+                        <types:item><types:key>authRef</types:key><types:value>inscriptionContentInscriber</types:value></types:item>
                     </service:properties>
                     <service:content contentType="application/xml">
                         <service:xmlContent
                         <types:item><types:key>authRef</types:key><types:value>contentOrganization</types:value></types:item>
                         <types:item><types:key>authRef</types:key><types:value>contentPeople</types:value></types:item>
                         <types:item><types:key>authRef</types:key><types:value>contentPerson</types:value></types:item>
-                        <types:item><types:key>authRef</types:key><types:value>inscriber</types:value></types:item>
+                        <types:item><types:key>authRef</types:key><types:value>inscriptionContentInscriber</types:value></types:item>
                     </service:properties>
                     <service:content contentType="application/xml">
                         <service:xmlContent