]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
NOJIRA: Replacing incorrect reference to CollectionObjectJAXBSchema with correct...
authorRichard Millet <richard.millet@berkeley.edu>
Wed, 7 Oct 2009 21:50:36 +0000 (21:50 +0000)
committerRichard Millet <richard.millet@berkeley.edu>
Wed, 7 Oct 2009 21:50:36 +0000 (21:50 +0000)
services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java

index e201534809cda6a08702e5fa63244b8b558bc9d3..07f19c1e02354c87ee3b986e100503a56042f634 100644 (file)
@@ -26,7 +26,7 @@ package org.collectionspace.services.collectionobject.nuxeo;
 import java.util.Iterator;
 import java.util.List;
 
-import org.collectionspace.services.CollectionObjectJAXBSchema;
+import org.collectionspace.services.CollectionObjectListItemJAXBSchema;
 import org.collectionspace.services.collectionobject.CollectionobjectsCommon;
 import org.collectionspace.services.collectionobject.CollectionobjectsCommonList;
 import org.collectionspace.services.collectionobject.CollectionobjectsCommonList.CollectionObjectListItem;
@@ -115,7 +115,7 @@ public class CollectionObjectDocumentModelHandler
             DocumentModel docModel = iter.next();
             CollectionObjectListItem coListItem = new CollectionObjectListItem();
             coListItem.setObjectNumber((String) docModel.getProperty(getServiceContext().getCommonPartLabel(),
-                    CollectionObjectJAXBSchema.OBJECT_NUMBER));
+                       CollectionObjectListItemJAXBSchema.OBJECT_NUMBER));
             coListItem.setUri(getServiceContextPath() + docModel.getId());
             coListItem.setCsid(docModel.getId());
             list.add(coListItem);