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