]> git.aero2k.de Git - tmp/jakarta-migration.git/commit
CSPACE-515, CSPACE-266 Added support for multivalue elements in schema. Supports...
authorSanjay Dalal <sanjay.dalal@berkeley.edu>
Fri, 6 Nov 2009 00:59:20 +0000 (00:59 +0000)
committerSanjay Dalal <sanjay.dalal@berkeley.edu>
Fri, 6 Nov 2009 00:59:20 +0000 (00:59 +0000)
commitf5f18c3d476658a732688a81faa92b47bdbe42b1
tree92fd8bc5f7955c7be64e203f5d41f489c16765c0
parent53dbe2055d1adfc741c382448d614ff29f96cc13
CSPACE-515, CSPACE-266 Added support for multivalue elements in schema. Supports 1 level depth. e.g. otherNumbers in collectionobjects_common
    <otherNumbers>
        <otherNumber>urn:org.collectionspace.id:24082390</otherNumber>
        <otherNumber>urn:org.walkerart.id:123</otherNumber>
    </otherNumbers>
woudl be stored by nuxeo with each item (otherNumber) having value such as "otherNumber|urn:org.collectionspace.id:24082390". marshalling and unmarshalling code takes care of qualifying or unqualifying the value with the name of the property.
test: collectionobjects, all service tests. will require re-initializing nuxeo db

M    collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd
M    collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd
M    collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
M    common/src/main/java/org/collectionspace/services/common/repository/DocumentUtils.java
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/CollectionObjectServiceTest.java
services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd
services/common/src/main/java/org/collectionspace/services/common/repository/DocumentUtils.java