001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this expando value.
033            *
034            * @return the primary key of this expando value
035            */
036            public long getPrimaryKey() {
037                    return _expandoValue.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this expando value
042            *
043            * @param pk the primary key of this expando value
044            */
045            public void setPrimaryKey(long pk) {
046                    _expandoValue.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the value id of this expando value.
051            *
052            * @return the value id of this expando value
053            */
054            public long getValueId() {
055                    return _expandoValue.getValueId();
056            }
057    
058            /**
059            * Sets the value id of this expando value.
060            *
061            * @param valueId the value id of this expando value
062            */
063            public void setValueId(long valueId) {
064                    _expandoValue.setValueId(valueId);
065            }
066    
067            /**
068            * Gets the company id of this expando value.
069            *
070            * @return the company id of this expando value
071            */
072            public long getCompanyId() {
073                    return _expandoValue.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this expando value.
078            *
079            * @param companyId the company id of this expando value
080            */
081            public void setCompanyId(long companyId) {
082                    _expandoValue.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the table id of this expando value.
087            *
088            * @return the table id of this expando value
089            */
090            public long getTableId() {
091                    return _expandoValue.getTableId();
092            }
093    
094            /**
095            * Sets the table id of this expando value.
096            *
097            * @param tableId the table id of this expando value
098            */
099            public void setTableId(long tableId) {
100                    _expandoValue.setTableId(tableId);
101            }
102    
103            /**
104            * Gets the column id of this expando value.
105            *
106            * @return the column id of this expando value
107            */
108            public long getColumnId() {
109                    return _expandoValue.getColumnId();
110            }
111    
112            /**
113            * Sets the column id of this expando value.
114            *
115            * @param columnId the column id of this expando value
116            */
117            public void setColumnId(long columnId) {
118                    _expandoValue.setColumnId(columnId);
119            }
120    
121            /**
122            * Gets the row id of this expando value.
123            *
124            * @return the row id of this expando value
125            */
126            public long getRowId() {
127                    return _expandoValue.getRowId();
128            }
129    
130            /**
131            * Sets the row id of this expando value.
132            *
133            * @param rowId the row id of this expando value
134            */
135            public void setRowId(long rowId) {
136                    _expandoValue.setRowId(rowId);
137            }
138    
139            /**
140            * Gets the class name of the model instance this expando value is polymorphically associated with.
141            *
142            * @return the class name of the model instance this expando value is polymorphically associated with
143            */
144            public java.lang.String getClassName() {
145                    return _expandoValue.getClassName();
146            }
147    
148            /**
149            * Gets the class name id of this expando value.
150            *
151            * @return the class name id of this expando value
152            */
153            public long getClassNameId() {
154                    return _expandoValue.getClassNameId();
155            }
156    
157            /**
158            * Sets the class name id of this expando value.
159            *
160            * @param classNameId the class name id of this expando value
161            */
162            public void setClassNameId(long classNameId) {
163                    _expandoValue.setClassNameId(classNameId);
164            }
165    
166            /**
167            * Gets the class p k of this expando value.
168            *
169            * @return the class p k of this expando value
170            */
171            public long getClassPK() {
172                    return _expandoValue.getClassPK();
173            }
174    
175            /**
176            * Sets the class p k of this expando value.
177            *
178            * @param classPK the class p k of this expando value
179            */
180            public void setClassPK(long classPK) {
181                    _expandoValue.setClassPK(classPK);
182            }
183    
184            /**
185            * Gets the data of this expando value.
186            *
187            * @return the data of this expando value
188            */
189            public java.lang.String getData() {
190                    return _expandoValue.getData();
191            }
192    
193            /**
194            * Sets the data of this expando value.
195            *
196            * @param data the data of this expando value
197            */
198            public void setData(java.lang.String data) {
199                    _expandoValue.setData(data);
200            }
201    
202            public boolean isNew() {
203                    return _expandoValue.isNew();
204            }
205    
206            public void setNew(boolean n) {
207                    _expandoValue.setNew(n);
208            }
209    
210            public boolean isCachedModel() {
211                    return _expandoValue.isCachedModel();
212            }
213    
214            public void setCachedModel(boolean cachedModel) {
215                    _expandoValue.setCachedModel(cachedModel);
216            }
217    
218            public boolean isEscapedModel() {
219                    return _expandoValue.isEscapedModel();
220            }
221    
222            public void setEscapedModel(boolean escapedModel) {
223                    _expandoValue.setEscapedModel(escapedModel);
224            }
225    
226            public java.io.Serializable getPrimaryKeyObj() {
227                    return _expandoValue.getPrimaryKeyObj();
228            }
229    
230            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
231                    return _expandoValue.getExpandoBridge();
232            }
233    
234            public void setExpandoBridgeAttributes(
235                    com.liferay.portal.service.ServiceContext serviceContext) {
236                    _expandoValue.setExpandoBridgeAttributes(serviceContext);
237            }
238    
239            public java.lang.Object clone() {
240                    return _expandoValue.clone();
241            }
242    
243            public int compareTo(
244                    com.liferay.portlet.expando.model.ExpandoValue expandoValue) {
245                    return _expandoValue.compareTo(expandoValue);
246            }
247    
248            public int hashCode() {
249                    return _expandoValue.hashCode();
250            }
251    
252            public com.liferay.portlet.expando.model.ExpandoValue toEscapedModel() {
253                    return _expandoValue.toEscapedModel();
254            }
255    
256            public java.lang.String toString() {
257                    return _expandoValue.toString();
258            }
259    
260            public java.lang.String toXmlString() {
261                    return _expandoValue.toXmlString();
262            }
263    
264            public boolean getBoolean()
265                    throws com.liferay.portal.kernel.exception.PortalException,
266                            com.liferay.portal.kernel.exception.SystemException {
267                    return _expandoValue.getBoolean();
268            }
269    
270            public boolean[] getBooleanArray()
271                    throws com.liferay.portal.kernel.exception.PortalException,
272                            com.liferay.portal.kernel.exception.SystemException {
273                    return _expandoValue.getBooleanArray();
274            }
275    
276            public java.util.Date getDate()
277                    throws com.liferay.portal.kernel.exception.PortalException,
278                            com.liferay.portal.kernel.exception.SystemException {
279                    return _expandoValue.getDate();
280            }
281    
282            public java.util.Date[] getDateArray()
283                    throws com.liferay.portal.kernel.exception.PortalException,
284                            com.liferay.portal.kernel.exception.SystemException {
285                    return _expandoValue.getDateArray();
286            }
287    
288            public double getDouble()
289                    throws com.liferay.portal.kernel.exception.PortalException,
290                            com.liferay.portal.kernel.exception.SystemException {
291                    return _expandoValue.getDouble();
292            }
293    
294            public double[] getDoubleArray()
295                    throws com.liferay.portal.kernel.exception.PortalException,
296                            com.liferay.portal.kernel.exception.SystemException {
297                    return _expandoValue.getDoubleArray();
298            }
299    
300            public float getFloat()
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException {
303                    return _expandoValue.getFloat();
304            }
305    
306            public float[] getFloatArray()
307                    throws com.liferay.portal.kernel.exception.PortalException,
308                            com.liferay.portal.kernel.exception.SystemException {
309                    return _expandoValue.getFloatArray();
310            }
311    
312            public int getInteger()
313                    throws com.liferay.portal.kernel.exception.PortalException,
314                            com.liferay.portal.kernel.exception.SystemException {
315                    return _expandoValue.getInteger();
316            }
317    
318            public int[] getIntegerArray()
319                    throws com.liferay.portal.kernel.exception.PortalException,
320                            com.liferay.portal.kernel.exception.SystemException {
321                    return _expandoValue.getIntegerArray();
322            }
323    
324            public long getLong()
325                    throws com.liferay.portal.kernel.exception.PortalException,
326                            com.liferay.portal.kernel.exception.SystemException {
327                    return _expandoValue.getLong();
328            }
329    
330            public long[] getLongArray()
331                    throws com.liferay.portal.kernel.exception.PortalException,
332                            com.liferay.portal.kernel.exception.SystemException {
333                    return _expandoValue.getLongArray();
334            }
335    
336            public short getShort()
337                    throws com.liferay.portal.kernel.exception.PortalException,
338                            com.liferay.portal.kernel.exception.SystemException {
339                    return _expandoValue.getShort();
340            }
341    
342            public short[] getShortArray()
343                    throws com.liferay.portal.kernel.exception.PortalException,
344                            com.liferay.portal.kernel.exception.SystemException {
345                    return _expandoValue.getShortArray();
346            }
347    
348            public java.lang.String getString()
349                    throws com.liferay.portal.kernel.exception.PortalException,
350                            com.liferay.portal.kernel.exception.SystemException {
351                    return _expandoValue.getString();
352            }
353    
354            public java.lang.String[] getStringArray()
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    return _expandoValue.getStringArray();
358            }
359    
360            public void setBoolean(boolean data)
361                    throws com.liferay.portal.kernel.exception.PortalException,
362                            com.liferay.portal.kernel.exception.SystemException {
363                    _expandoValue.setBoolean(data);
364            }
365    
366            public void setBooleanArray(boolean[] data)
367                    throws com.liferay.portal.kernel.exception.PortalException,
368                            com.liferay.portal.kernel.exception.SystemException {
369                    _expandoValue.setBooleanArray(data);
370            }
371    
372            public void setDate(java.util.Date data)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException {
375                    _expandoValue.setDate(data);
376            }
377    
378            public void setDateArray(java.util.Date[] data)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException {
381                    _expandoValue.setDateArray(data);
382            }
383    
384            public void setDouble(double data)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException {
387                    _expandoValue.setDouble(data);
388            }
389    
390            public void setDoubleArray(double[] data)
391                    throws com.liferay.portal.kernel.exception.PortalException,
392                            com.liferay.portal.kernel.exception.SystemException {
393                    _expandoValue.setDoubleArray(data);
394            }
395    
396            public void setFloat(float data)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    _expandoValue.setFloat(data);
400            }
401    
402            public void setFloatArray(float[] data)
403                    throws com.liferay.portal.kernel.exception.PortalException,
404                            com.liferay.portal.kernel.exception.SystemException {
405                    _expandoValue.setFloatArray(data);
406            }
407    
408            public void setInteger(int data)
409                    throws com.liferay.portal.kernel.exception.PortalException,
410                            com.liferay.portal.kernel.exception.SystemException {
411                    _expandoValue.setInteger(data);
412            }
413    
414            public void setIntegerArray(int[] data)
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    _expandoValue.setIntegerArray(data);
418            }
419    
420            public void setLong(long data)
421                    throws com.liferay.portal.kernel.exception.PortalException,
422                            com.liferay.portal.kernel.exception.SystemException {
423                    _expandoValue.setLong(data);
424            }
425    
426            public void setLongArray(long[] data)
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException {
429                    _expandoValue.setLongArray(data);
430            }
431    
432            public void setShort(short data)
433                    throws com.liferay.portal.kernel.exception.PortalException,
434                            com.liferay.portal.kernel.exception.SystemException {
435                    _expandoValue.setShort(data);
436            }
437    
438            public void setShortArray(short[] data)
439                    throws com.liferay.portal.kernel.exception.PortalException,
440                            com.liferay.portal.kernel.exception.SystemException {
441                    _expandoValue.setShortArray(data);
442            }
443    
444            public void setString(java.lang.String data)
445                    throws com.liferay.portal.kernel.exception.PortalException,
446                            com.liferay.portal.kernel.exception.SystemException {
447                    _expandoValue.setString(data);
448            }
449    
450            public void setStringArray(java.lang.String[] data)
451                    throws com.liferay.portal.kernel.exception.PortalException,
452                            com.liferay.portal.kernel.exception.SystemException {
453                    _expandoValue.setStringArray(data);
454            }
455    
456            public ExpandoValue getWrappedExpandoValue() {
457                    return _expandoValue;
458            }
459    
460            private ExpandoValue _expandoValue;
461    }