001    /**
002     * Copyright (c) 2000-2010 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 JournalArticleResource}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalArticleResource
024     * @generated
025     */
026    public class JournalArticleResourceWrapper implements JournalArticleResource {
027            public JournalArticleResourceWrapper(
028                    JournalArticleResource journalArticleResource) {
029                    _journalArticleResource = journalArticleResource;
030            }
031    
032            /**
033            * Gets the primary key of this journal article resource.
034            *
035            * @return the primary key of this journal article resource
036            */
037            public long getPrimaryKey() {
038                    return _journalArticleResource.getPrimaryKey();
039            }
040    
041            /**
042            * Sets the primary key of this journal article resource
043            *
044            * @param pk the primary key of this journal article resource
045            */
046            public void setPrimaryKey(long pk) {
047                    _journalArticleResource.setPrimaryKey(pk);
048            }
049    
050            /**
051            * Gets the uuid of this journal article resource.
052            *
053            * @return the uuid of this journal article resource
054            */
055            public java.lang.String getUuid() {
056                    return _journalArticleResource.getUuid();
057            }
058    
059            /**
060            * Sets the uuid of this journal article resource.
061            *
062            * @param uuid the uuid of this journal article resource
063            */
064            public void setUuid(java.lang.String uuid) {
065                    _journalArticleResource.setUuid(uuid);
066            }
067    
068            /**
069            * Gets the resource prim key of this journal article resource.
070            *
071            * @return the resource prim key of this journal article resource
072            */
073            public long getResourcePrimKey() {
074                    return _journalArticleResource.getResourcePrimKey();
075            }
076    
077            /**
078            * Sets the resource prim key of this journal article resource.
079            *
080            * @param resourcePrimKey the resource prim key of this journal article resource
081            */
082            public void setResourcePrimKey(long resourcePrimKey) {
083                    _journalArticleResource.setResourcePrimKey(resourcePrimKey);
084            }
085    
086            /**
087            * Gets the group id of this journal article resource.
088            *
089            * @return the group id of this journal article resource
090            */
091            public long getGroupId() {
092                    return _journalArticleResource.getGroupId();
093            }
094    
095            /**
096            * Sets the group id of this journal article resource.
097            *
098            * @param groupId the group id of this journal article resource
099            */
100            public void setGroupId(long groupId) {
101                    _journalArticleResource.setGroupId(groupId);
102            }
103    
104            /**
105            * Gets the article id of this journal article resource.
106            *
107            * @return the article id of this journal article resource
108            */
109            public java.lang.String getArticleId() {
110                    return _journalArticleResource.getArticleId();
111            }
112    
113            /**
114            * Sets the article id of this journal article resource.
115            *
116            * @param articleId the article id of this journal article resource
117            */
118            public void setArticleId(java.lang.String articleId) {
119                    _journalArticleResource.setArticleId(articleId);
120            }
121    
122            public boolean isNew() {
123                    return _journalArticleResource.isNew();
124            }
125    
126            public void setNew(boolean n) {
127                    _journalArticleResource.setNew(n);
128            }
129    
130            public boolean isCachedModel() {
131                    return _journalArticleResource.isCachedModel();
132            }
133    
134            public void setCachedModel(boolean cachedModel) {
135                    _journalArticleResource.setCachedModel(cachedModel);
136            }
137    
138            public boolean isEscapedModel() {
139                    return _journalArticleResource.isEscapedModel();
140            }
141    
142            public void setEscapedModel(boolean escapedModel) {
143                    _journalArticleResource.setEscapedModel(escapedModel);
144            }
145    
146            public java.io.Serializable getPrimaryKeyObj() {
147                    return _journalArticleResource.getPrimaryKeyObj();
148            }
149    
150            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
151                    return _journalArticleResource.getExpandoBridge();
152            }
153    
154            public void setExpandoBridgeAttributes(
155                    com.liferay.portal.service.ServiceContext serviceContext) {
156                    _journalArticleResource.setExpandoBridgeAttributes(serviceContext);
157            }
158    
159            public java.lang.Object clone() {
160                    return _journalArticleResource.clone();
161            }
162    
163            public int compareTo(
164                    com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource) {
165                    return _journalArticleResource.compareTo(journalArticleResource);
166            }
167    
168            public int hashCode() {
169                    return _journalArticleResource.hashCode();
170            }
171    
172            public com.liferay.portlet.journal.model.JournalArticleResource toEscapedModel() {
173                    return _journalArticleResource.toEscapedModel();
174            }
175    
176            public java.lang.String toString() {
177                    return _journalArticleResource.toString();
178            }
179    
180            public java.lang.String toXmlString() {
181                    return _journalArticleResource.toXmlString();
182            }
183    
184            public JournalArticleResource getWrappedJournalArticleResource() {
185                    return _journalArticleResource;
186            }
187    
188            private JournalArticleResource _journalArticleResource;
189    }