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.portlet.expando.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ExpandoValue}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ExpandoValue
024     * @generated
025     */
026    public class ExpandoValueWrapper implements ExpandoValue {
027            public ExpandoValueWrapper(ExpandoValue expandoValue) {
028                    _expandoValue = expandoValue;
029            }
030    
031            public long getPrimaryKey() {
032                    return _expandoValue.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _expandoValue.setPrimaryKey(pk);
037            }
038    
039            public long getValueId() {
040                    return _expandoValue.getValueId();
041            }
042    
043            public void setValueId(long valueId) {
044                    _expandoValue.setValueId(valueId);
045            }
046    
047            public long getCompanyId() {
048                    return _expandoValue.getCompanyId();
049            }
050    
051            public void setCompanyId(long companyId) {
052                    _expandoValue.setCompanyId(companyId);
053            }
054    
055            public long getTableId() {
056                    return _expandoValue.getTableId();
057            }
058    
059            public void setTableId(long tableId) {
060                    _expandoValue.setTableId(tableId);
061            }
062    
063            public long getColumnId() {
064                    return _expandoValue.getColumnId();
065            }
066    
067            public void setColumnId(long columnId) {
068                    _expandoValue.setColumnId(columnId);
069            }
070    
071            public long getRowId() {
072                    return _expandoValue.getRowId();
073            }
074    
075            public void setRowId(long rowId) {
076                    _expandoValue.setRowId(rowId);
077            }
078    
079            public java.lang.String getClassName() {
080                    return _expandoValue.getClassName();
081            }
082    
083            public long getClassNameId() {
084                    return _expandoValue.getClassNameId();
085            }
086    
087            public void setClassNameId(long classNameId) {
088                    _expandoValue.setClassNameId(classNameId);
089            }
090    
091            public long getClassPK() {
092                    return _expandoValue.getClassPK();
093            }
094    
095            public void setClassPK(long classPK) {
096                    _expandoValue.setClassPK(classPK);
097            }
098    
099            public java.lang.String getData() {
100                    return _expandoValue.getData();
101            }
102    
103            public void setData(java.lang.String data) {
104                    _expandoValue.setData(data);
105            }
106    
107            public com.liferay.portlet.expando.model.ExpandoValue toEscapedModel() {
108                    return _expandoValue.toEscapedModel();
109            }
110    
111            public boolean isNew() {
112                    return _expandoValue.isNew();
113            }
114    
115            public void setNew(boolean n) {
116                    _expandoValue.setNew(n);
117            }
118    
119            public boolean isCachedModel() {
120                    return _expandoValue.isCachedModel();
121            }
122    
123            public void setCachedModel(boolean cachedModel) {
124                    _expandoValue.setCachedModel(cachedModel);
125            }
126    
127            public boolean isEscapedModel() {
128                    return _expandoValue.isEscapedModel();
129            }
130    
131            public void setEscapedModel(boolean escapedModel) {
132                    _expandoValue.setEscapedModel(escapedModel);
133            }
134    
135            public java.io.Serializable getPrimaryKeyObj() {
136                    return _expandoValue.getPrimaryKeyObj();
137            }
138    
139            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
140                    return _expandoValue.getExpandoBridge();
141            }
142    
143            public void setExpandoBridgeAttributes(
144                    com.liferay.portal.service.ServiceContext serviceContext) {
145                    _expandoValue.setExpandoBridgeAttributes(serviceContext);
146            }
147    
148            public java.lang.Object clone() {
149                    return _expandoValue.clone();
150            }
151    
152            public int compareTo(
153                    com.liferay.portlet.expando.model.ExpandoValue expandoValue) {
154                    return _expandoValue.compareTo(expandoValue);
155            }
156    
157            public int hashCode() {
158                    return _expandoValue.hashCode();
159            }
160    
161            public java.lang.String toString() {
162                    return _expandoValue.toString();
163            }
164    
165            public java.lang.String toXmlString() {
166                    return _expandoValue.toXmlString();
167            }
168    
169            public boolean getBoolean()
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException {
172                    return _expandoValue.getBoolean();
173            }
174    
175            public boolean[] getBooleanArray()
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException {
178                    return _expandoValue.getBooleanArray();
179            }
180    
181            public java.util.Date getDate()
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException {
184                    return _expandoValue.getDate();
185            }
186    
187            public java.util.Date[] getDateArray()
188                    throws com.liferay.portal.kernel.exception.PortalException,
189                            com.liferay.portal.kernel.exception.SystemException {
190                    return _expandoValue.getDateArray();
191            }
192    
193            public double getDouble()
194                    throws com.liferay.portal.kernel.exception.PortalException,
195                            com.liferay.portal.kernel.exception.SystemException {
196                    return _expandoValue.getDouble();
197            }
198    
199            public double[] getDoubleArray()
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _expandoValue.getDoubleArray();
203            }
204    
205            public float getFloat()
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException {
208                    return _expandoValue.getFloat();
209            }
210    
211            public float[] getFloatArray()
212                    throws com.liferay.portal.kernel.exception.PortalException,
213                            com.liferay.portal.kernel.exception.SystemException {
214                    return _expandoValue.getFloatArray();
215            }
216    
217            public int getInteger()
218                    throws com.liferay.portal.kernel.exception.PortalException,
219                            com.liferay.portal.kernel.exception.SystemException {
220                    return _expandoValue.getInteger();
221            }
222    
223            public int[] getIntegerArray()
224                    throws com.liferay.portal.kernel.exception.PortalException,
225                            com.liferay.portal.kernel.exception.SystemException {
226                    return _expandoValue.getIntegerArray();
227            }
228    
229            public long getLong()
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    return _expandoValue.getLong();
233            }
234    
235            public long[] getLongArray()
236                    throws com.liferay.portal.kernel.exception.PortalException,
237                            com.liferay.portal.kernel.exception.SystemException {
238                    return _expandoValue.getLongArray();
239            }
240    
241            public short getShort()
242                    throws com.liferay.portal.kernel.exception.PortalException,
243                            com.liferay.portal.kernel.exception.SystemException {
244                    return _expandoValue.getShort();
245            }
246    
247            public short[] getShortArray()
248                    throws com.liferay.portal.kernel.exception.PortalException,
249                            com.liferay.portal.kernel.exception.SystemException {
250                    return _expandoValue.getShortArray();
251            }
252    
253            public java.lang.String getString()
254                    throws com.liferay.portal.kernel.exception.PortalException,
255                            com.liferay.portal.kernel.exception.SystemException {
256                    return _expandoValue.getString();
257            }
258    
259            public java.lang.String[] getStringArray()
260                    throws com.liferay.portal.kernel.exception.PortalException,
261                            com.liferay.portal.kernel.exception.SystemException {
262                    return _expandoValue.getStringArray();
263            }
264    
265            public void setBoolean(boolean data)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException {
268                    _expandoValue.setBoolean(data);
269            }
270    
271            public void setBooleanArray(boolean[] data)
272                    throws com.liferay.portal.kernel.exception.PortalException,
273                            com.liferay.portal.kernel.exception.SystemException {
274                    _expandoValue.setBooleanArray(data);
275            }
276    
277            public void setDate(java.util.Date data)
278                    throws com.liferay.portal.kernel.exception.PortalException,
279                            com.liferay.portal.kernel.exception.SystemException {
280                    _expandoValue.setDate(data);
281            }
282    
283            public void setDateArray(java.util.Date[] data)
284                    throws com.liferay.portal.kernel.exception.PortalException,
285                            com.liferay.portal.kernel.exception.SystemException {
286                    _expandoValue.setDateArray(data);
287            }
288    
289            public void setDouble(double data)
290                    throws com.liferay.portal.kernel.exception.PortalException,
291                            com.liferay.portal.kernel.exception.SystemException {
292                    _expandoValue.setDouble(data);
293            }
294    
295            public void setDoubleArray(double[] data)
296                    throws com.liferay.portal.kernel.exception.PortalException,
297                            com.liferay.portal.kernel.exception.SystemException {
298                    _expandoValue.setDoubleArray(data);
299            }
300    
301            public void setFloat(float data)
302                    throws com.liferay.portal.kernel.exception.PortalException,
303                            com.liferay.portal.kernel.exception.SystemException {
304                    _expandoValue.setFloat(data);
305            }
306    
307            public void setFloatArray(float[] data)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    _expandoValue.setFloatArray(data);
311            }
312    
313            public void setInteger(int data)
314                    throws com.liferay.portal.kernel.exception.PortalException,
315                            com.liferay.portal.kernel.exception.SystemException {
316                    _expandoValue.setInteger(data);
317            }
318    
319            public void setIntegerArray(int[] data)
320                    throws com.liferay.portal.kernel.exception.PortalException,
321                            com.liferay.portal.kernel.exception.SystemException {
322                    _expandoValue.setIntegerArray(data);
323            }
324    
325            public void setLong(long data)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException {
328                    _expandoValue.setLong(data);
329            }
330    
331            public void setLongArray(long[] data)
332                    throws com.liferay.portal.kernel.exception.PortalException,
333                            com.liferay.portal.kernel.exception.SystemException {
334                    _expandoValue.setLongArray(data);
335            }
336    
337            public void setShort(short data)
338                    throws com.liferay.portal.kernel.exception.PortalException,
339                            com.liferay.portal.kernel.exception.SystemException {
340                    _expandoValue.setShort(data);
341            }
342    
343            public void setShortArray(short[] data)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    _expandoValue.setShortArray(data);
347            }
348    
349            public void setString(java.lang.String data)
350                    throws com.liferay.portal.kernel.exception.PortalException,
351                            com.liferay.portal.kernel.exception.SystemException {
352                    _expandoValue.setString(data);
353            }
354    
355            public void setStringArray(java.lang.String[] data)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    _expandoValue.setStringArray(data);
359            }
360    
361            public ExpandoValue getWrappedExpandoValue() {
362                    return _expandoValue;
363            }
364    
365            private ExpandoValue _expandoValue;
366    }