001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.journal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link JournalStructure}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalStructure
024     * @generated
025     */
026    public class JournalStructureWrapper implements JournalStructure {
027            public JournalStructureWrapper(JournalStructure journalStructure) {
028                    _journalStructure = journalStructure;
029            }
030    
031            public Class<?> getModelClass() {
032                    return JournalStructure.class;
033            }
034    
035            public String getModelClassName() {
036                    return JournalStructure.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this journal structure.
041            *
042            * @return the primary key of this journal structure
043            */
044            public long getPrimaryKey() {
045                    return _journalStructure.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this journal structure
050            *
051            * @param primaryKey the primary key of this journal structure
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _journalStructure.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the uuid of this journal structure.
059            *
060            * @return the uuid of this journal structure
061            */
062            public java.lang.String getUuid() {
063                    return _journalStructure.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this journal structure.
068            *
069            * @param uuid the uuid of this journal structure
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _journalStructure.setUuid(uuid);
073            }
074    
075            /**
076            * Gets the ID of this journal structure.
077            *
078            * @return the ID of this journal structure
079            */
080            public long getId() {
081                    return _journalStructure.getId();
082            }
083    
084            /**
085            * Sets the ID of this journal structure.
086            *
087            * @param id the ID of this journal structure
088            */
089            public void setId(long id) {
090                    _journalStructure.setId(id);
091            }
092    
093            /**
094            * Gets the group ID of this journal structure.
095            *
096            * @return the group ID of this journal structure
097            */
098            public long getGroupId() {
099                    return _journalStructure.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this journal structure.
104            *
105            * @param groupId the group ID of this journal structure
106            */
107            public void setGroupId(long groupId) {
108                    _journalStructure.setGroupId(groupId);
109            }
110    
111            /**
112            * Gets the company ID of this journal structure.
113            *
114            * @return the company ID of this journal structure
115            */
116            public long getCompanyId() {
117                    return _journalStructure.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this journal structure.
122            *
123            * @param companyId the company ID of this journal structure
124            */
125            public void setCompanyId(long companyId) {
126                    _journalStructure.setCompanyId(companyId);
127            }
128    
129            /**
130            * Gets the user ID of this journal structure.
131            *
132            * @return the user ID of this journal structure
133            */
134            public long getUserId() {
135                    return _journalStructure.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this journal structure.
140            *
141            * @param userId the user ID of this journal structure
142            */
143            public void setUserId(long userId) {
144                    _journalStructure.setUserId(userId);
145            }
146    
147            /**
148            * Gets the user uuid of this journal structure.
149            *
150            * @return the user uuid of this journal structure
151            * @throws SystemException if a system exception occurred
152            */
153            public java.lang.String getUserUuid()
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _journalStructure.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this journal structure.
160            *
161            * @param userUuid the user uuid of this journal structure
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _journalStructure.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Gets the user name of this journal structure.
169            *
170            * @return the user name of this journal structure
171            */
172            public java.lang.String getUserName() {
173                    return _journalStructure.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this journal structure.
178            *
179            * @param userName the user name of this journal structure
180            */
181            public void setUserName(java.lang.String userName) {
182                    _journalStructure.setUserName(userName);
183            }
184    
185            /**
186            * Gets the create date of this journal structure.
187            *
188            * @return the create date of this journal structure
189            */
190            public java.util.Date getCreateDate() {
191                    return _journalStructure.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this journal structure.
196            *
197            * @param createDate the create date of this journal structure
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _journalStructure.setCreateDate(createDate);
201            }
202    
203            /**
204            * Gets the modified date of this journal structure.
205            *
206            * @return the modified date of this journal structure
207            */
208            public java.util.Date getModifiedDate() {
209                    return _journalStructure.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this journal structure.
214            *
215            * @param modifiedDate the modified date of this journal structure
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _journalStructure.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Gets the structure ID of this journal structure.
223            *
224            * @return the structure ID of this journal structure
225            */
226            public java.lang.String getStructureId() {
227                    return _journalStructure.getStructureId();
228            }
229    
230            /**
231            * Sets the structure ID of this journal structure.
232            *
233            * @param structureId the structure ID of this journal structure
234            */
235            public void setStructureId(java.lang.String structureId) {
236                    _journalStructure.setStructureId(structureId);
237            }
238    
239            /**
240            * Gets the parent structure ID of this journal structure.
241            *
242            * @return the parent structure ID of this journal structure
243            */
244            public java.lang.String getParentStructureId() {
245                    return _journalStructure.getParentStructureId();
246            }
247    
248            /**
249            * Sets the parent structure ID of this journal structure.
250            *
251            * @param parentStructureId the parent structure ID of this journal structure
252            */
253            public void setParentStructureId(java.lang.String parentStructureId) {
254                    _journalStructure.setParentStructureId(parentStructureId);
255            }
256    
257            /**
258            * Gets the name of this journal structure.
259            *
260            * @return the name of this journal structure
261            */
262            public java.lang.String getName() {
263                    return _journalStructure.getName();
264            }
265    
266            /**
267            * Sets the name of this journal structure.
268            *
269            * @param name the name of this journal structure
270            */
271            public void setName(java.lang.String name) {
272                    _journalStructure.setName(name);
273            }
274    
275            /**
276            * Gets the description of this journal structure.
277            *
278            * @return the description of this journal structure
279            */
280            public java.lang.String getDescription() {
281                    return _journalStructure.getDescription();
282            }
283    
284            /**
285            * Sets the description of this journal structure.
286            *
287            * @param description the description of this journal structure
288            */
289            public void setDescription(java.lang.String description) {
290                    _journalStructure.setDescription(description);
291            }
292    
293            /**
294            * Gets the xsd of this journal structure.
295            *
296            * @return the xsd of this journal structure
297            */
298            public java.lang.String getXsd() {
299                    return _journalStructure.getXsd();
300            }
301    
302            /**
303            * Sets the xsd of this journal structure.
304            *
305            * @param xsd the xsd of this journal structure
306            */
307            public void setXsd(java.lang.String xsd) {
308                    _journalStructure.setXsd(xsd);
309            }
310    
311            public boolean isNew() {
312                    return _journalStructure.isNew();
313            }
314    
315            public void setNew(boolean n) {
316                    _journalStructure.setNew(n);
317            }
318    
319            public boolean isCachedModel() {
320                    return _journalStructure.isCachedModel();
321            }
322    
323            public void setCachedModel(boolean cachedModel) {
324                    _journalStructure.setCachedModel(cachedModel);
325            }
326    
327            public boolean isEscapedModel() {
328                    return _journalStructure.isEscapedModel();
329            }
330    
331            public void setEscapedModel(boolean escapedModel) {
332                    _journalStructure.setEscapedModel(escapedModel);
333            }
334    
335            public java.io.Serializable getPrimaryKeyObj() {
336                    return _journalStructure.getPrimaryKeyObj();
337            }
338    
339            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
340                    _journalStructure.setPrimaryKeyObj(primaryKeyObj);
341            }
342    
343            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
344                    return _journalStructure.getExpandoBridge();
345            }
346    
347            public void setExpandoBridgeAttributes(
348                    com.liferay.portal.service.ServiceContext serviceContext) {
349                    _journalStructure.setExpandoBridgeAttributes(serviceContext);
350            }
351    
352            @Override
353            public java.lang.Object clone() {
354                    return new JournalStructureWrapper((JournalStructure)_journalStructure.clone());
355            }
356    
357            public int compareTo(
358                    com.liferay.portlet.journal.model.JournalStructure journalStructure) {
359                    return _journalStructure.compareTo(journalStructure);
360            }
361    
362            @Override
363            public int hashCode() {
364                    return _journalStructure.hashCode();
365            }
366    
367            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalStructure> toCacheModel() {
368                    return _journalStructure.toCacheModel();
369            }
370    
371            public com.liferay.portlet.journal.model.JournalStructure toEscapedModel() {
372                    return new JournalStructureWrapper(_journalStructure.toEscapedModel());
373            }
374    
375            @Override
376            public java.lang.String toString() {
377                    return _journalStructure.toString();
378            }
379    
380            public java.lang.String toXmlString() {
381                    return _journalStructure.toXmlString();
382            }
383    
384            public void persist()
385                    throws com.liferay.portal.kernel.exception.SystemException {
386                    _journalStructure.persist();
387            }
388    
389            public java.lang.String getMergedXsd() {
390                    return _journalStructure.getMergedXsd();
391            }
392    
393            public JournalStructure getWrappedJournalStructure() {
394                    return _journalStructure;
395            }
396    
397            public void resetOriginalValues() {
398                    _journalStructure.resetOriginalValues();
399            }
400    
401            private JournalStructure _journalStructure;
402    }