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