2 * This document is a part of the source code and related artifacts
\r
3 * for CollectionSpace, an open source collections management system
\r
4 * for museums and related institutions:
\r
6 * http://www.collectionspace.org
\r
7 * http://wiki.collectionspace.org
\r
9 * Copyright 2009 University of California at Berkeley
\r
11 * Licensed under the Educational Community License (ECL), Version 2.0.
\r
12 * You may not use this file except in compliance with this License.
\r
14 * You may obtain a copy of the ECL 2.0 License at
\r
16 * https://source.collectionspace.org/collection-space/LICENSE.txt
\r
18 * Unless required by applicable law or agreed to in writing, software
\r
19 * distributed under the License is distributed on an "AS IS" BASIS,
\r
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
21 * See the License for the specific language governing permissions and
\r
22 * limitations under the License.
\r
25 package org.collectionspace.services.common.document;
\r
27 import java.util.List;
\r
29 // TODO: Auto-generated Javadoc
\r
31 * The Class DocumentListWrapperImpl.
\r
33 * @param <T> the generic type
\r
35 public class DocumentListWrapperImpl<T> implements DocumentListWrapper {
\r
37 /** The document list wrapper. */
\r
38 private List<T> documentListWrapper;
\r
41 * Instantiates a new document list wrapper impl.
\r
43 * @param theDocumentListWrapper the the document list wrapper
\r
45 public DocumentListWrapperImpl(List<T> theDocumentListWrapper) {
\r
46 documentListWrapper = theDocumentListWrapper;
\r
50 * @see org.collectionspace.services.common.document.DocumentListWrapper#getWrappedObject()
\r
52 public List<T> getWrappedObject() {
\r
53 return documentListWrapper;
\r