1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.documentlibrary.model;
24  
25  
26  /**
27   * <a href="DLFileVersionSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link DLFileVersion}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       DLFileVersion
40   * @generated
41   */
42  public class DLFileVersionWrapper implements DLFileVersion {
43      public DLFileVersionWrapper(DLFileVersion dlFileVersion) {
44          _dlFileVersion = dlFileVersion;
45      }
46  
47      public long getPrimaryKey() {
48          return _dlFileVersion.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _dlFileVersion.setPrimaryKey(pk);
53      }
54  
55      public long getFileVersionId() {
56          return _dlFileVersion.getFileVersionId();
57      }
58  
59      public void setFileVersionId(long fileVersionId) {
60          _dlFileVersion.setFileVersionId(fileVersionId);
61      }
62  
63      public long getGroupId() {
64          return _dlFileVersion.getGroupId();
65      }
66  
67      public void setGroupId(long groupId) {
68          _dlFileVersion.setGroupId(groupId);
69      }
70  
71      public long getCompanyId() {
72          return _dlFileVersion.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _dlFileVersion.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _dlFileVersion.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _dlFileVersion.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.SystemException {
89          return _dlFileVersion.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _dlFileVersion.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _dlFileVersion.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _dlFileVersion.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _dlFileVersion.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _dlFileVersion.setCreateDate(createDate);
110     }
111 
112     public long getFolderId() {
113         return _dlFileVersion.getFolderId();
114     }
115 
116     public void setFolderId(long folderId) {
117         _dlFileVersion.setFolderId(folderId);
118     }
119 
120     public java.lang.String getName() {
121         return _dlFileVersion.getName();
122     }
123 
124     public void setName(java.lang.String name) {
125         _dlFileVersion.setName(name);
126     }
127 
128     public double getVersion() {
129         return _dlFileVersion.getVersion();
130     }
131 
132     public void setVersion(double version) {
133         _dlFileVersion.setVersion(version);
134     }
135 
136     public int getSize() {
137         return _dlFileVersion.getSize();
138     }
139 
140     public void setSize(int size) {
141         _dlFileVersion.setSize(size);
142     }
143 
144     public com.liferay.portlet.documentlibrary.model.DLFileVersion toEscapedModel() {
145         return _dlFileVersion.toEscapedModel();
146     }
147 
148     public boolean isNew() {
149         return _dlFileVersion.isNew();
150     }
151 
152     public boolean setNew(boolean n) {
153         return _dlFileVersion.setNew(n);
154     }
155 
156     public boolean isCachedModel() {
157         return _dlFileVersion.isCachedModel();
158     }
159 
160     public void setCachedModel(boolean cachedModel) {
161         _dlFileVersion.setCachedModel(cachedModel);
162     }
163 
164     public boolean isEscapedModel() {
165         return _dlFileVersion.isEscapedModel();
166     }
167 
168     public void setEscapedModel(boolean escapedModel) {
169         _dlFileVersion.setEscapedModel(escapedModel);
170     }
171 
172     public java.io.Serializable getPrimaryKeyObj() {
173         return _dlFileVersion.getPrimaryKeyObj();
174     }
175 
176     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
177         return _dlFileVersion.getExpandoBridge();
178     }
179 
180     public void setExpandoBridgeAttributes(
181         com.liferay.portal.service.ServiceContext serviceContext) {
182         _dlFileVersion.setExpandoBridgeAttributes(serviceContext);
183     }
184 
185     public java.lang.Object clone() {
186         return _dlFileVersion.clone();
187     }
188 
189     public int compareTo(
190         com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion) {
191         return _dlFileVersion.compareTo(dlFileVersion);
192     }
193 
194     public int hashCode() {
195         return _dlFileVersion.hashCode();
196     }
197 
198     public java.lang.String toString() {
199         return _dlFileVersion.toString();
200     }
201 
202     public java.lang.String toXmlString() {
203         return _dlFileVersion.toXmlString();
204     }
205 
206     public DLFileVersion getWrappedDLFileVersion() {
207         return _dlFileVersion;
208     }
209 
210     private DLFileVersion _dlFileVersion;
211 }