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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Image}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Image
024     * @generated
025     */
026    public class ImageWrapper implements Image {
027            public ImageWrapper(Image image) {
028                    _image = image;
029            }
030    
031            /**
032            * Gets the primary key of this image.
033            *
034            * @return the primary key of this image
035            */
036            public long getPrimaryKey() {
037                    return _image.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this image
042            *
043            * @param pk the primary key of this image
044            */
045            public void setPrimaryKey(long pk) {
046                    _image.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the image id of this image.
051            *
052            * @return the image id of this image
053            */
054            public long getImageId() {
055                    return _image.getImageId();
056            }
057    
058            /**
059            * Sets the image id of this image.
060            *
061            * @param imageId the image id of this image
062            */
063            public void setImageId(long imageId) {
064                    _image.setImageId(imageId);
065            }
066    
067            /**
068            * Gets the modified date of this image.
069            *
070            * @return the modified date of this image
071            */
072            public java.util.Date getModifiedDate() {
073                    return _image.getModifiedDate();
074            }
075    
076            /**
077            * Sets the modified date of this image.
078            *
079            * @param modifiedDate the modified date of this image
080            */
081            public void setModifiedDate(java.util.Date modifiedDate) {
082                    _image.setModifiedDate(modifiedDate);
083            }
084    
085            /**
086            * Gets the text of this image.
087            *
088            * @return the text of this image
089            */
090            public java.lang.String getText() {
091                    return _image.getText();
092            }
093    
094            /**
095            * Sets the text of this image.
096            *
097            * @param text the text of this image
098            */
099            public void setText(java.lang.String text) {
100                    _image.setText(text);
101            }
102    
103            /**
104            * Gets the type of this image.
105            *
106            * @return the type of this image
107            */
108            public java.lang.String getType() {
109                    return _image.getType();
110            }
111    
112            /**
113            * Sets the type of this image.
114            *
115            * @param type the type of this image
116            */
117            public void setType(java.lang.String type) {
118                    _image.setType(type);
119            }
120    
121            /**
122            * Gets the height of this image.
123            *
124            * @return the height of this image
125            */
126            public int getHeight() {
127                    return _image.getHeight();
128            }
129    
130            /**
131            * Sets the height of this image.
132            *
133            * @param height the height of this image
134            */
135            public void setHeight(int height) {
136                    _image.setHeight(height);
137            }
138    
139            /**
140            * Gets the width of this image.
141            *
142            * @return the width of this image
143            */
144            public int getWidth() {
145                    return _image.getWidth();
146            }
147    
148            /**
149            * Sets the width of this image.
150            *
151            * @param width the width of this image
152            */
153            public void setWidth(int width) {
154                    _image.setWidth(width);
155            }
156    
157            /**
158            * Gets the size of this image.
159            *
160            * @return the size of this image
161            */
162            public int getSize() {
163                    return _image.getSize();
164            }
165    
166            /**
167            * Sets the size of this image.
168            *
169            * @param size the size of this image
170            */
171            public void setSize(int size) {
172                    _image.setSize(size);
173            }
174    
175            public boolean isNew() {
176                    return _image.isNew();
177            }
178    
179            public void setNew(boolean n) {
180                    _image.setNew(n);
181            }
182    
183            public boolean isCachedModel() {
184                    return _image.isCachedModel();
185            }
186    
187            public void setCachedModel(boolean cachedModel) {
188                    _image.setCachedModel(cachedModel);
189            }
190    
191            public boolean isEscapedModel() {
192                    return _image.isEscapedModel();
193            }
194    
195            public void setEscapedModel(boolean escapedModel) {
196                    _image.setEscapedModel(escapedModel);
197            }
198    
199            public java.io.Serializable getPrimaryKeyObj() {
200                    return _image.getPrimaryKeyObj();
201            }
202    
203            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
204                    return _image.getExpandoBridge();
205            }
206    
207            public void setExpandoBridgeAttributes(
208                    com.liferay.portal.service.ServiceContext serviceContext) {
209                    _image.setExpandoBridgeAttributes(serviceContext);
210            }
211    
212            public java.lang.Object clone() {
213                    return _image.clone();
214            }
215    
216            public int compareTo(com.liferay.portal.model.Image image) {
217                    return _image.compareTo(image);
218            }
219    
220            public int hashCode() {
221                    return _image.hashCode();
222            }
223    
224            public com.liferay.portal.model.Image toEscapedModel() {
225                    return _image.toEscapedModel();
226            }
227    
228            public java.lang.String toString() {
229                    return _image.toString();
230            }
231    
232            public java.lang.String toXmlString() {
233                    return _image.toXmlString();
234            }
235    
236            public byte[] getTextObj() {
237                    return _image.getTextObj();
238            }
239    
240            public void setTextObj(byte[] textObj) {
241                    _image.setTextObj(textObj);
242            }
243    
244            public Image getWrappedImage() {
245                    return _image;
246            }
247    
248            private Image _image;
249    }