001    /**
002     * Copyright (c) 2000-2010 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    /**
019     * <p>
020     * This class is a wrapper for {@link Image}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Image
025     * @generated
026     */
027    public class ImageWrapper implements Image {
028            public ImageWrapper(Image image) {
029                    _image = image;
030            }
031    
032            public long getPrimaryKey() {
033                    return _image.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _image.setPrimaryKey(pk);
038            }
039    
040            public long getImageId() {
041                    return _image.getImageId();
042            }
043    
044            public void setImageId(long imageId) {
045                    _image.setImageId(imageId);
046            }
047    
048            public java.util.Date getModifiedDate() {
049                    return _image.getModifiedDate();
050            }
051    
052            public void setModifiedDate(java.util.Date modifiedDate) {
053                    _image.setModifiedDate(modifiedDate);
054            }
055    
056            public java.lang.String getText() {
057                    return _image.getText();
058            }
059    
060            public void setText(java.lang.String text) {
061                    _image.setText(text);
062            }
063    
064            public java.lang.String getType() {
065                    return _image.getType();
066            }
067    
068            public void setType(java.lang.String type) {
069                    _image.setType(type);
070            }
071    
072            public int getHeight() {
073                    return _image.getHeight();
074            }
075    
076            public void setHeight(int height) {
077                    _image.setHeight(height);
078            }
079    
080            public int getWidth() {
081                    return _image.getWidth();
082            }
083    
084            public void setWidth(int width) {
085                    _image.setWidth(width);
086            }
087    
088            public int getSize() {
089                    return _image.getSize();
090            }
091    
092            public void setSize(int size) {
093                    _image.setSize(size);
094            }
095    
096            public com.liferay.portal.model.Image toEscapedModel() {
097                    return _image.toEscapedModel();
098            }
099    
100            public boolean isNew() {
101                    return _image.isNew();
102            }
103    
104            public void setNew(boolean n) {
105                    _image.setNew(n);
106            }
107    
108            public boolean isCachedModel() {
109                    return _image.isCachedModel();
110            }
111    
112            public void setCachedModel(boolean cachedModel) {
113                    _image.setCachedModel(cachedModel);
114            }
115    
116            public boolean isEscapedModel() {
117                    return _image.isEscapedModel();
118            }
119    
120            public void setEscapedModel(boolean escapedModel) {
121                    _image.setEscapedModel(escapedModel);
122            }
123    
124            public java.io.Serializable getPrimaryKeyObj() {
125                    return _image.getPrimaryKeyObj();
126            }
127    
128            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
129                    return _image.getExpandoBridge();
130            }
131    
132            public void setExpandoBridgeAttributes(
133                    com.liferay.portal.service.ServiceContext serviceContext) {
134                    _image.setExpandoBridgeAttributes(serviceContext);
135            }
136    
137            public java.lang.Object clone() {
138                    return _image.clone();
139            }
140    
141            public int compareTo(com.liferay.portal.model.Image image) {
142                    return _image.compareTo(image);
143            }
144    
145            public int hashCode() {
146                    return _image.hashCode();
147            }
148    
149            public java.lang.String toString() {
150                    return _image.toString();
151            }
152    
153            public java.lang.String toXmlString() {
154                    return _image.toXmlString();
155            }
156    
157            public byte[] getTextObj() {
158                    return _image.getTextObj();
159            }
160    
161            public void setTextObj(byte[] textObj) {
162                    _image.setTextObj(textObj);
163            }
164    
165            public Image getWrappedImage() {
166                    return _image;
167            }
168    
169            private Image _image;
170    }