001    /**
002     * Copyright (c) 2000-2011 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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link LayoutSetBranch}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSetBranch
024     * @generated
025     */
026    public class LayoutSetBranchWrapper implements LayoutSetBranch,
027            ModelWrapper<LayoutSetBranch> {
028            public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch) {
029                    _layoutSetBranch = layoutSetBranch;
030            }
031    
032            public Class<?> getModelClass() {
033                    return LayoutSetBranch.class;
034            }
035    
036            public String getModelClassName() {
037                    return LayoutSetBranch.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this layout set branch.
042            *
043            * @return the primary key of this layout set branch
044            */
045            public long getPrimaryKey() {
046                    return _layoutSetBranch.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this layout set branch.
051            *
052            * @param primaryKey the primary key of this layout set branch
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _layoutSetBranch.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the layout set branch ID of this layout set branch.
060            *
061            * @return the layout set branch ID of this layout set branch
062            */
063            public long getLayoutSetBranchId() {
064                    return _layoutSetBranch.getLayoutSetBranchId();
065            }
066    
067            /**
068            * Sets the layout set branch ID of this layout set branch.
069            *
070            * @param layoutSetBranchId the layout set branch ID of this layout set branch
071            */
072            public void setLayoutSetBranchId(long layoutSetBranchId) {
073                    _layoutSetBranch.setLayoutSetBranchId(layoutSetBranchId);
074            }
075    
076            /**
077            * Returns the group ID of this layout set branch.
078            *
079            * @return the group ID of this layout set branch
080            */
081            public long getGroupId() {
082                    return _layoutSetBranch.getGroupId();
083            }
084    
085            /**
086            * Sets the group ID of this layout set branch.
087            *
088            * @param groupId the group ID of this layout set branch
089            */
090            public void setGroupId(long groupId) {
091                    _layoutSetBranch.setGroupId(groupId);
092            }
093    
094            /**
095            * Returns the company ID of this layout set branch.
096            *
097            * @return the company ID of this layout set branch
098            */
099            public long getCompanyId() {
100                    return _layoutSetBranch.getCompanyId();
101            }
102    
103            /**
104            * Sets the company ID of this layout set branch.
105            *
106            * @param companyId the company ID of this layout set branch
107            */
108            public void setCompanyId(long companyId) {
109                    _layoutSetBranch.setCompanyId(companyId);
110            }
111    
112            /**
113            * Returns the user ID of this layout set branch.
114            *
115            * @return the user ID of this layout set branch
116            */
117            public long getUserId() {
118                    return _layoutSetBranch.getUserId();
119            }
120    
121            /**
122            * Sets the user ID of this layout set branch.
123            *
124            * @param userId the user ID of this layout set branch
125            */
126            public void setUserId(long userId) {
127                    _layoutSetBranch.setUserId(userId);
128            }
129    
130            /**
131            * Returns the user uuid of this layout set branch.
132            *
133            * @return the user uuid of this layout set branch
134            * @throws SystemException if a system exception occurred
135            */
136            public java.lang.String getUserUuid()
137                    throws com.liferay.portal.kernel.exception.SystemException {
138                    return _layoutSetBranch.getUserUuid();
139            }
140    
141            /**
142            * Sets the user uuid of this layout set branch.
143            *
144            * @param userUuid the user uuid of this layout set branch
145            */
146            public void setUserUuid(java.lang.String userUuid) {
147                    _layoutSetBranch.setUserUuid(userUuid);
148            }
149    
150            /**
151            * Returns the user name of this layout set branch.
152            *
153            * @return the user name of this layout set branch
154            */
155            public java.lang.String getUserName() {
156                    return _layoutSetBranch.getUserName();
157            }
158    
159            /**
160            * Sets the user name of this layout set branch.
161            *
162            * @param userName the user name of this layout set branch
163            */
164            public void setUserName(java.lang.String userName) {
165                    _layoutSetBranch.setUserName(userName);
166            }
167    
168            /**
169            * Returns the create date of this layout set branch.
170            *
171            * @return the create date of this layout set branch
172            */
173            public java.util.Date getCreateDate() {
174                    return _layoutSetBranch.getCreateDate();
175            }
176    
177            /**
178            * Sets the create date of this layout set branch.
179            *
180            * @param createDate the create date of this layout set branch
181            */
182            public void setCreateDate(java.util.Date createDate) {
183                    _layoutSetBranch.setCreateDate(createDate);
184            }
185    
186            /**
187            * Returns the modified date of this layout set branch.
188            *
189            * @return the modified date of this layout set branch
190            */
191            public java.util.Date getModifiedDate() {
192                    return _layoutSetBranch.getModifiedDate();
193            }
194    
195            /**
196            * Sets the modified date of this layout set branch.
197            *
198            * @param modifiedDate the modified date of this layout set branch
199            */
200            public void setModifiedDate(java.util.Date modifiedDate) {
201                    _layoutSetBranch.setModifiedDate(modifiedDate);
202            }
203    
204            /**
205            * Returns the private layout of this layout set branch.
206            *
207            * @return the private layout of this layout set branch
208            */
209            public boolean getPrivateLayout() {
210                    return _layoutSetBranch.getPrivateLayout();
211            }
212    
213            /**
214            * Returns <code>true</code> if this layout set branch is private layout.
215            *
216            * @return <code>true</code> if this layout set branch is private layout; <code>false</code> otherwise
217            */
218            public boolean isPrivateLayout() {
219                    return _layoutSetBranch.isPrivateLayout();
220            }
221    
222            /**
223            * Sets whether this layout set branch is private layout.
224            *
225            * @param privateLayout the private layout of this layout set branch
226            */
227            public void setPrivateLayout(boolean privateLayout) {
228                    _layoutSetBranch.setPrivateLayout(privateLayout);
229            }
230    
231            /**
232            * Returns the name of this layout set branch.
233            *
234            * @return the name of this layout set branch
235            */
236            public java.lang.String getName() {
237                    return _layoutSetBranch.getName();
238            }
239    
240            /**
241            * Sets the name of this layout set branch.
242            *
243            * @param name the name of this layout set branch
244            */
245            public void setName(java.lang.String name) {
246                    _layoutSetBranch.setName(name);
247            }
248    
249            /**
250            * Returns the description of this layout set branch.
251            *
252            * @return the description of this layout set branch
253            */
254            public java.lang.String getDescription() {
255                    return _layoutSetBranch.getDescription();
256            }
257    
258            /**
259            * Sets the description of this layout set branch.
260            *
261            * @param description the description of this layout set branch
262            */
263            public void setDescription(java.lang.String description) {
264                    _layoutSetBranch.setDescription(description);
265            }
266    
267            /**
268            * Returns the master of this layout set branch.
269            *
270            * @return the master of this layout set branch
271            */
272            public boolean getMaster() {
273                    return _layoutSetBranch.getMaster();
274            }
275    
276            /**
277            * Returns <code>true</code> if this layout set branch is master.
278            *
279            * @return <code>true</code> if this layout set branch is master; <code>false</code> otherwise
280            */
281            public boolean isMaster() {
282                    return _layoutSetBranch.isMaster();
283            }
284    
285            /**
286            * Sets whether this layout set branch is master.
287            *
288            * @param master the master of this layout set branch
289            */
290            public void setMaster(boolean master) {
291                    _layoutSetBranch.setMaster(master);
292            }
293    
294            public boolean isNew() {
295                    return _layoutSetBranch.isNew();
296            }
297    
298            public void setNew(boolean n) {
299                    _layoutSetBranch.setNew(n);
300            }
301    
302            public boolean isCachedModel() {
303                    return _layoutSetBranch.isCachedModel();
304            }
305    
306            public void setCachedModel(boolean cachedModel) {
307                    _layoutSetBranch.setCachedModel(cachedModel);
308            }
309    
310            public boolean isEscapedModel() {
311                    return _layoutSetBranch.isEscapedModel();
312            }
313    
314            public java.io.Serializable getPrimaryKeyObj() {
315                    return _layoutSetBranch.getPrimaryKeyObj();
316            }
317    
318            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
319                    _layoutSetBranch.setPrimaryKeyObj(primaryKeyObj);
320            }
321    
322            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
323                    return _layoutSetBranch.getExpandoBridge();
324            }
325    
326            public void setExpandoBridgeAttributes(
327                    com.liferay.portal.service.ServiceContext serviceContext) {
328                    _layoutSetBranch.setExpandoBridgeAttributes(serviceContext);
329            }
330    
331            @Override
332            public java.lang.Object clone() {
333                    return new LayoutSetBranchWrapper((LayoutSetBranch)_layoutSetBranch.clone());
334            }
335    
336            public int compareTo(
337                    com.liferay.portal.model.LayoutSetBranch layoutSetBranch) {
338                    return _layoutSetBranch.compareTo(layoutSetBranch);
339            }
340    
341            @Override
342            public int hashCode() {
343                    return _layoutSetBranch.hashCode();
344            }
345    
346            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSetBranch> toCacheModel() {
347                    return _layoutSetBranch.toCacheModel();
348            }
349    
350            public com.liferay.portal.model.LayoutSetBranch toEscapedModel() {
351                    return new LayoutSetBranchWrapper(_layoutSetBranch.toEscapedModel());
352            }
353    
354            @Override
355            public java.lang.String toString() {
356                    return _layoutSetBranch.toString();
357            }
358    
359            public java.lang.String toXmlString() {
360                    return _layoutSetBranch.toXmlString();
361            }
362    
363            public void persist()
364                    throws com.liferay.portal.kernel.exception.SystemException {
365                    _layoutSetBranch.persist();
366            }
367    
368            /**
369             * @deprecated Renamed to {@link #getWrappedModel}
370             */
371            public LayoutSetBranch getWrappedLayoutSetBranch() {
372                    return _layoutSetBranch;
373            }
374    
375            public LayoutSetBranch getWrappedModel() {
376                    return _layoutSetBranch;
377            }
378    
379            public void resetOriginalValues() {
380                    _layoutSetBranch.resetOriginalValues();
381            }
382    
383            private LayoutSetBranch _layoutSetBranch;
384    }