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.portlet.journal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link JournalArticleImage}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalArticleImage
024     * @generated
025     */
026    public class JournalArticleImageWrapper implements JournalArticleImage {
027            public JournalArticleImageWrapper(JournalArticleImage journalArticleImage) {
028                    _journalArticleImage = journalArticleImage;
029            }
030    
031            public Class<?> getModelClass() {
032                    return JournalArticleImage.class;
033            }
034    
035            public String getModelClassName() {
036                    return JournalArticleImage.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this journal article image.
041            *
042            * @return the primary key of this journal article image
043            */
044            public long getPrimaryKey() {
045                    return _journalArticleImage.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this journal article image.
050            *
051            * @param primaryKey the primary key of this journal article image
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _journalArticleImage.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the article image ID of this journal article image.
059            *
060            * @return the article image ID of this journal article image
061            */
062            public long getArticleImageId() {
063                    return _journalArticleImage.getArticleImageId();
064            }
065    
066            /**
067            * Sets the article image ID of this journal article image.
068            *
069            * @param articleImageId the article image ID of this journal article image
070            */
071            public void setArticleImageId(long articleImageId) {
072                    _journalArticleImage.setArticleImageId(articleImageId);
073            }
074    
075            /**
076            * Returns the group ID of this journal article image.
077            *
078            * @return the group ID of this journal article image
079            */
080            public long getGroupId() {
081                    return _journalArticleImage.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this journal article image.
086            *
087            * @param groupId the group ID of this journal article image
088            */
089            public void setGroupId(long groupId) {
090                    _journalArticleImage.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the article ID of this journal article image.
095            *
096            * @return the article ID of this journal article image
097            */
098            public java.lang.String getArticleId() {
099                    return _journalArticleImage.getArticleId();
100            }
101    
102            /**
103            * Sets the article ID of this journal article image.
104            *
105            * @param articleId the article ID of this journal article image
106            */
107            public void setArticleId(java.lang.String articleId) {
108                    _journalArticleImage.setArticleId(articleId);
109            }
110    
111            /**
112            * Returns the version of this journal article image.
113            *
114            * @return the version of this journal article image
115            */
116            public double getVersion() {
117                    return _journalArticleImage.getVersion();
118            }
119    
120            /**
121            * Sets the version of this journal article image.
122            *
123            * @param version the version of this journal article image
124            */
125            public void setVersion(double version) {
126                    _journalArticleImage.setVersion(version);
127            }
128    
129            /**
130            * Returns the el instance ID of this journal article image.
131            *
132            * @return the el instance ID of this journal article image
133            */
134            public java.lang.String getElInstanceId() {
135                    return _journalArticleImage.getElInstanceId();
136            }
137    
138            /**
139            * Sets the el instance ID of this journal article image.
140            *
141            * @param elInstanceId the el instance ID of this journal article image
142            */
143            public void setElInstanceId(java.lang.String elInstanceId) {
144                    _journalArticleImage.setElInstanceId(elInstanceId);
145            }
146    
147            /**
148            * Returns the el name of this journal article image.
149            *
150            * @return the el name of this journal article image
151            */
152            public java.lang.String getElName() {
153                    return _journalArticleImage.getElName();
154            }
155    
156            /**
157            * Sets the el name of this journal article image.
158            *
159            * @param elName the el name of this journal article image
160            */
161            public void setElName(java.lang.String elName) {
162                    _journalArticleImage.setElName(elName);
163            }
164    
165            /**
166            * Returns the language ID of this journal article image.
167            *
168            * @return the language ID of this journal article image
169            */
170            public java.lang.String getLanguageId() {
171                    return _journalArticleImage.getLanguageId();
172            }
173    
174            /**
175            * Sets the language ID of this journal article image.
176            *
177            * @param languageId the language ID of this journal article image
178            */
179            public void setLanguageId(java.lang.String languageId) {
180                    _journalArticleImage.setLanguageId(languageId);
181            }
182    
183            /**
184            * Returns the temp image of this journal article image.
185            *
186            * @return the temp image of this journal article image
187            */
188            public boolean getTempImage() {
189                    return _journalArticleImage.getTempImage();
190            }
191    
192            /**
193            * Returns <code>true</code> if this journal article image is temp image.
194            *
195            * @return <code>true</code> if this journal article image is temp image; <code>false</code> otherwise
196            */
197            public boolean isTempImage() {
198                    return _journalArticleImage.isTempImage();
199            }
200    
201            /**
202            * Sets whether this journal article image is temp image.
203            *
204            * @param tempImage the temp image of this journal article image
205            */
206            public void setTempImage(boolean tempImage) {
207                    _journalArticleImage.setTempImage(tempImage);
208            }
209    
210            public boolean isNew() {
211                    return _journalArticleImage.isNew();
212            }
213    
214            public void setNew(boolean n) {
215                    _journalArticleImage.setNew(n);
216            }
217    
218            public boolean isCachedModel() {
219                    return _journalArticleImage.isCachedModel();
220            }
221    
222            public void setCachedModel(boolean cachedModel) {
223                    _journalArticleImage.setCachedModel(cachedModel);
224            }
225    
226            public boolean isEscapedModel() {
227                    return _journalArticleImage.isEscapedModel();
228            }
229    
230            public java.io.Serializable getPrimaryKeyObj() {
231                    return _journalArticleImage.getPrimaryKeyObj();
232            }
233    
234            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
235                    _journalArticleImage.setPrimaryKeyObj(primaryKeyObj);
236            }
237    
238            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
239                    return _journalArticleImage.getExpandoBridge();
240            }
241    
242            public void setExpandoBridgeAttributes(
243                    com.liferay.portal.service.ServiceContext serviceContext) {
244                    _journalArticleImage.setExpandoBridgeAttributes(serviceContext);
245            }
246    
247            @Override
248            public java.lang.Object clone() {
249                    return new JournalArticleImageWrapper((JournalArticleImage)_journalArticleImage.clone());
250            }
251    
252            public int compareTo(
253                    com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage) {
254                    return _journalArticleImage.compareTo(journalArticleImage);
255            }
256    
257            @Override
258            public int hashCode() {
259                    return _journalArticleImage.hashCode();
260            }
261    
262            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticleImage> toCacheModel() {
263                    return _journalArticleImage.toCacheModel();
264            }
265    
266            public com.liferay.portlet.journal.model.JournalArticleImage toEscapedModel() {
267                    return new JournalArticleImageWrapper(_journalArticleImage.toEscapedModel());
268            }
269    
270            @Override
271            public java.lang.String toString() {
272                    return _journalArticleImage.toString();
273            }
274    
275            public java.lang.String toXmlString() {
276                    return _journalArticleImage.toXmlString();
277            }
278    
279            public void persist()
280                    throws com.liferay.portal.kernel.exception.SystemException {
281                    _journalArticleImage.persist();
282            }
283    
284            public JournalArticleImage getWrappedJournalArticleImage() {
285                    return _journalArticleImage;
286            }
287    
288            public void resetOriginalValues() {
289                    _journalArticleImage.resetOriginalValues();
290            }
291    
292            private JournalArticleImage _journalArticleImage;
293    }