]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
0ab43ea43f4ef094a209a2d9159da3863ba5157b
[tmp/jakarta-migration.git] /
1 /**\r
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
5 \r
6  *  http://www.collectionspace.org\r
7  *  http://wiki.collectionspace.org\r
8 \r
9  *  Copyright 2009 University of California at Berkeley\r
10 \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
13 \r
14  *  You may obtain a copy of the ECL 2.0 License at\r
15 \r
16  *  https://source.collectionspace.org/collection-space/LICENSE.txt\r
17 \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
23  */\r
24 \r
25 package org.collectionspace.services.common.document;\r
26 \r
27 import java.util.List;\r
28 \r
29 // TODO: Auto-generated Javadoc\r
30 /**\r
31  * The Class DocumentListWrapperImpl.\r
32  *\r
33  * @param <T> the generic type\r
34  */\r
35 public class DocumentListWrapperImpl<T> implements DocumentListWrapper {\r
36 \r
37     /** The document list wrapper. */\r
38     private List<T> documentListWrapper;\r
39 \r
40     /**\r
41      * Instantiates a new document list wrapper impl.\r
42      *\r
43      * @param theDocumentListWrapper the the document list wrapper\r
44      */\r
45     public DocumentListWrapperImpl(List<T> theDocumentListWrapper) {\r
46         documentListWrapper = theDocumentListWrapper;\r
47     }\r
48 \r
49     /* (non-Javadoc)\r
50      * @see org.collectionspace.services.common.document.DocumentListWrapper#getWrappedObject()\r
51      */\r
52     public List<T> getWrappedObject() {\r
53         return documentListWrapper;\r
54     }\r
55 }