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