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