From: Richard Millet Date: Wed, 7 Oct 2009 21:50:36 +0000 (+0000) Subject: NOJIRA: Replacing incorrect reference to CollectionObjectJAXBSchema with correct... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=ba5efa251db74bf77b03912e5c4a023841c9ea08;p=tmp%2Fjakarta-migration.git NOJIRA: Replacing incorrect reference to CollectionObjectJAXBSchema with correct references to CollectionObjectListItemJAXBSchema. --- diff --git a/services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java b/services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java index e20153480..07f19c1e0 100644 --- a/services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java +++ b/services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java @@ -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);