1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="ImageSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Image}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Image
32   * @generated
33   */
34  public class ImageWrapper implements Image {
35      public ImageWrapper(Image image) {
36          _image = image;
37      }
38  
39      public long getPrimaryKey() {
40          return _image.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _image.setPrimaryKey(pk);
45      }
46  
47      public long getImageId() {
48          return _image.getImageId();
49      }
50  
51      public void setImageId(long imageId) {
52          _image.setImageId(imageId);
53      }
54  
55      public java.util.Date getModifiedDate() {
56          return _image.getModifiedDate();
57      }
58  
59      public void setModifiedDate(java.util.Date modifiedDate) {
60          _image.setModifiedDate(modifiedDate);
61      }
62  
63      public java.lang.String getText() {
64          return _image.getText();
65      }
66  
67      public void setText(java.lang.String text) {
68          _image.setText(text);
69      }
70  
71      public java.lang.String getType() {
72          return _image.getType();
73      }
74  
75      public void setType(java.lang.String type) {
76          _image.setType(type);
77      }
78  
79      public int getHeight() {
80          return _image.getHeight();
81      }
82  
83      public void setHeight(int height) {
84          _image.setHeight(height);
85      }
86  
87      public int getWidth() {
88          return _image.getWidth();
89      }
90  
91      public void setWidth(int width) {
92          _image.setWidth(width);
93      }
94  
95      public int getSize() {
96          return _image.getSize();
97      }
98  
99      public void setSize(int size) {
100         _image.setSize(size);
101     }
102 
103     public com.liferay.portal.model.Image toEscapedModel() {
104         return _image.toEscapedModel();
105     }
106 
107     public boolean isNew() {
108         return _image.isNew();
109     }
110 
111     public boolean setNew(boolean n) {
112         return _image.setNew(n);
113     }
114 
115     public boolean isCachedModel() {
116         return _image.isCachedModel();
117     }
118 
119     public void setCachedModel(boolean cachedModel) {
120         _image.setCachedModel(cachedModel);
121     }
122 
123     public boolean isEscapedModel() {
124         return _image.isEscapedModel();
125     }
126 
127     public void setEscapedModel(boolean escapedModel) {
128         _image.setEscapedModel(escapedModel);
129     }
130 
131     public java.io.Serializable getPrimaryKeyObj() {
132         return _image.getPrimaryKeyObj();
133     }
134 
135     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
136         return _image.getExpandoBridge();
137     }
138 
139     public void setExpandoBridgeAttributes(
140         com.liferay.portal.service.ServiceContext serviceContext) {
141         _image.setExpandoBridgeAttributes(serviceContext);
142     }
143 
144     public java.lang.Object clone() {
145         return _image.clone();
146     }
147 
148     public int compareTo(com.liferay.portal.model.Image image) {
149         return _image.compareTo(image);
150     }
151 
152     public int hashCode() {
153         return _image.hashCode();
154     }
155 
156     public java.lang.String toString() {
157         return _image.toString();
158     }
159 
160     public java.lang.String toXmlString() {
161         return _image.toXmlString();
162     }
163 
164     public byte[] getTextObj() {
165         return _image.getTextObj();
166     }
167 
168     public void setTextObj(byte[] textObj) {
169         _image.setTextObj(textObj);
170     }
171 
172     public Image getWrappedImage() {
173         return _image;
174     }
175 
176     private Image _image;
177 }