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