001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFileEntryType}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileEntryType
026     * @generated
027     */
028    public class DLFileEntryTypeWrapper implements DLFileEntryType,
029            ModelWrapper<DLFileEntryType> {
030            public DLFileEntryTypeWrapper(DLFileEntryType dlFileEntryType) {
031                    _dlFileEntryType = dlFileEntryType;
032            }
033    
034            public Class<?> getModelClass() {
035                    return DLFileEntryType.class;
036            }
037    
038            public String getModelClassName() {
039                    return DLFileEntryType.class.getName();
040            }
041    
042            /**
043            * Returns the primary key of this document library file entry type.
044            *
045            * @return the primary key of this document library file entry type
046            */
047            public long getPrimaryKey() {
048                    return _dlFileEntryType.getPrimaryKey();
049            }
050    
051            /**
052            * Sets the primary key of this document library file entry type.
053            *
054            * @param primaryKey the primary key of this document library file entry type
055            */
056            public void setPrimaryKey(long primaryKey) {
057                    _dlFileEntryType.setPrimaryKey(primaryKey);
058            }
059    
060            /**
061            * Returns the uuid of this document library file entry type.
062            *
063            * @return the uuid of this document library file entry type
064            */
065            public java.lang.String getUuid() {
066                    return _dlFileEntryType.getUuid();
067            }
068    
069            /**
070            * Sets the uuid of this document library file entry type.
071            *
072            * @param uuid the uuid of this document library file entry type
073            */
074            public void setUuid(java.lang.String uuid) {
075                    _dlFileEntryType.setUuid(uuid);
076            }
077    
078            /**
079            * Returns the file entry type ID of this document library file entry type.
080            *
081            * @return the file entry type ID of this document library file entry type
082            */
083            public long getFileEntryTypeId() {
084                    return _dlFileEntryType.getFileEntryTypeId();
085            }
086    
087            /**
088            * Sets the file entry type ID of this document library file entry type.
089            *
090            * @param fileEntryTypeId the file entry type ID of this document library file entry type
091            */
092            public void setFileEntryTypeId(long fileEntryTypeId) {
093                    _dlFileEntryType.setFileEntryTypeId(fileEntryTypeId);
094            }
095    
096            /**
097            * Returns the group ID of this document library file entry type.
098            *
099            * @return the group ID of this document library file entry type
100            */
101            public long getGroupId() {
102                    return _dlFileEntryType.getGroupId();
103            }
104    
105            /**
106            * Sets the group ID of this document library file entry type.
107            *
108            * @param groupId the group ID of this document library file entry type
109            */
110            public void setGroupId(long groupId) {
111                    _dlFileEntryType.setGroupId(groupId);
112            }
113    
114            /**
115            * Returns the company ID of this document library file entry type.
116            *
117            * @return the company ID of this document library file entry type
118            */
119            public long getCompanyId() {
120                    return _dlFileEntryType.getCompanyId();
121            }
122    
123            /**
124            * Sets the company ID of this document library file entry type.
125            *
126            * @param companyId the company ID of this document library file entry type
127            */
128            public void setCompanyId(long companyId) {
129                    _dlFileEntryType.setCompanyId(companyId);
130            }
131    
132            /**
133            * Returns the user ID of this document library file entry type.
134            *
135            * @return the user ID of this document library file entry type
136            */
137            public long getUserId() {
138                    return _dlFileEntryType.getUserId();
139            }
140    
141            /**
142            * Sets the user ID of this document library file entry type.
143            *
144            * @param userId the user ID of this document library file entry type
145            */
146            public void setUserId(long userId) {
147                    _dlFileEntryType.setUserId(userId);
148            }
149    
150            /**
151            * Returns the user uuid of this document library file entry type.
152            *
153            * @return the user uuid of this document library file entry type
154            * @throws SystemException if a system exception occurred
155            */
156            public java.lang.String getUserUuid()
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _dlFileEntryType.getUserUuid();
159            }
160    
161            /**
162            * Sets the user uuid of this document library file entry type.
163            *
164            * @param userUuid the user uuid of this document library file entry type
165            */
166            public void setUserUuid(java.lang.String userUuid) {
167                    _dlFileEntryType.setUserUuid(userUuid);
168            }
169    
170            /**
171            * Returns the user name of this document library file entry type.
172            *
173            * @return the user name of this document library file entry type
174            */
175            public java.lang.String getUserName() {
176                    return _dlFileEntryType.getUserName();
177            }
178    
179            /**
180            * Sets the user name of this document library file entry type.
181            *
182            * @param userName the user name of this document library file entry type
183            */
184            public void setUserName(java.lang.String userName) {
185                    _dlFileEntryType.setUserName(userName);
186            }
187    
188            /**
189            * Returns the create date of this document library file entry type.
190            *
191            * @return the create date of this document library file entry type
192            */
193            public java.util.Date getCreateDate() {
194                    return _dlFileEntryType.getCreateDate();
195            }
196    
197            /**
198            * Sets the create date of this document library file entry type.
199            *
200            * @param createDate the create date of this document library file entry type
201            */
202            public void setCreateDate(java.util.Date createDate) {
203                    _dlFileEntryType.setCreateDate(createDate);
204            }
205    
206            /**
207            * Returns the modified date of this document library file entry type.
208            *
209            * @return the modified date of this document library file entry type
210            */
211            public java.util.Date getModifiedDate() {
212                    return _dlFileEntryType.getModifiedDate();
213            }
214    
215            /**
216            * Sets the modified date of this document library file entry type.
217            *
218            * @param modifiedDate the modified date of this document library file entry type
219            */
220            public void setModifiedDate(java.util.Date modifiedDate) {
221                    _dlFileEntryType.setModifiedDate(modifiedDate);
222            }
223    
224            /**
225            * Returns the name of this document library file entry type.
226            *
227            * @return the name of this document library file entry type
228            */
229            public java.lang.String getName() {
230                    return _dlFileEntryType.getName();
231            }
232    
233            /**
234            * Sets the name of this document library file entry type.
235            *
236            * @param name the name of this document library file entry type
237            */
238            public void setName(java.lang.String name) {
239                    _dlFileEntryType.setName(name);
240            }
241    
242            /**
243            * Returns the description of this document library file entry type.
244            *
245            * @return the description of this document library file entry type
246            */
247            public java.lang.String getDescription() {
248                    return _dlFileEntryType.getDescription();
249            }
250    
251            /**
252            * Sets the description of this document library file entry type.
253            *
254            * @param description the description of this document library file entry type
255            */
256            public void setDescription(java.lang.String description) {
257                    _dlFileEntryType.setDescription(description);
258            }
259    
260            public boolean isNew() {
261                    return _dlFileEntryType.isNew();
262            }
263    
264            public void setNew(boolean n) {
265                    _dlFileEntryType.setNew(n);
266            }
267    
268            public boolean isCachedModel() {
269                    return _dlFileEntryType.isCachedModel();
270            }
271    
272            public void setCachedModel(boolean cachedModel) {
273                    _dlFileEntryType.setCachedModel(cachedModel);
274            }
275    
276            public boolean isEscapedModel() {
277                    return _dlFileEntryType.isEscapedModel();
278            }
279    
280            public java.io.Serializable getPrimaryKeyObj() {
281                    return _dlFileEntryType.getPrimaryKeyObj();
282            }
283    
284            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
285                    _dlFileEntryType.setPrimaryKeyObj(primaryKeyObj);
286            }
287    
288            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
289                    return _dlFileEntryType.getExpandoBridge();
290            }
291    
292            public void setExpandoBridgeAttributes(
293                    com.liferay.portal.service.ServiceContext serviceContext) {
294                    _dlFileEntryType.setExpandoBridgeAttributes(serviceContext);
295            }
296    
297            @Override
298            public java.lang.Object clone() {
299                    return new DLFileEntryTypeWrapper((DLFileEntryType)_dlFileEntryType.clone());
300            }
301    
302            public int compareTo(
303                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
304                    return _dlFileEntryType.compareTo(dlFileEntryType);
305            }
306    
307            @Override
308            public int hashCode() {
309                    return _dlFileEntryType.hashCode();
310            }
311    
312            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileEntryType> toCacheModel() {
313                    return _dlFileEntryType.toCacheModel();
314            }
315    
316            public com.liferay.portlet.documentlibrary.model.DLFileEntryType toEscapedModel() {
317                    return new DLFileEntryTypeWrapper(_dlFileEntryType.toEscapedModel());
318            }
319    
320            @Override
321            public java.lang.String toString() {
322                    return _dlFileEntryType.toString();
323            }
324    
325            public java.lang.String toXmlString() {
326                    return _dlFileEntryType.toXmlString();
327            }
328    
329            public void persist()
330                    throws com.liferay.portal.kernel.exception.SystemException {
331                    _dlFileEntryType.persist();
332            }
333    
334            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures()
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return _dlFileEntryType.getDDMStructures();
337            }
338    
339            /**
340             * @deprecated Renamed to {@link #getWrappedModel}
341             */
342            public DLFileEntryType getWrappedDLFileEntryType() {
343                    return _dlFileEntryType;
344            }
345    
346            public DLFileEntryType getWrappedModel() {
347                    return _dlFileEntryType;
348            }
349    
350            public void resetOriginalValues() {
351                    _dlFileEntryType.resetOriginalValues();
352            }
353    
354            private DLFileEntryType _dlFileEntryType;
355    }