001
014
015 package com.liferay.portlet.expando.model;
016
017
026 public class ExpandoValueWrapper implements ExpandoValue {
027 public ExpandoValueWrapper(ExpandoValue expandoValue) {
028 _expandoValue = expandoValue;
029 }
030
031 public Class<?> getModelClass() {
032 return ExpandoValue.class;
033 }
034
035 public String getModelClassName() {
036 return ExpandoValue.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _expandoValue.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _expandoValue.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getValueId() {
063 return _expandoValue.getValueId();
064 }
065
066
071 public void setValueId(long valueId) {
072 _expandoValue.setValueId(valueId);
073 }
074
075
080 public long getCompanyId() {
081 return _expandoValue.getCompanyId();
082 }
083
084
089 public void setCompanyId(long companyId) {
090 _expandoValue.setCompanyId(companyId);
091 }
092
093
098 public long getTableId() {
099 return _expandoValue.getTableId();
100 }
101
102
107 public void setTableId(long tableId) {
108 _expandoValue.setTableId(tableId);
109 }
110
111
116 public long getColumnId() {
117 return _expandoValue.getColumnId();
118 }
119
120
125 public void setColumnId(long columnId) {
126 _expandoValue.setColumnId(columnId);
127 }
128
129
134 public long getRowId() {
135 return _expandoValue.getRowId();
136 }
137
138
143 public void setRowId(long rowId) {
144 _expandoValue.setRowId(rowId);
145 }
146
147
152 public java.lang.String getClassName() {
153 return _expandoValue.getClassName();
154 }
155
156
161 public long getClassNameId() {
162 return _expandoValue.getClassNameId();
163 }
164
165
170 public void setClassNameId(long classNameId) {
171 _expandoValue.setClassNameId(classNameId);
172 }
173
174
179 public long getClassPK() {
180 return _expandoValue.getClassPK();
181 }
182
183
188 public void setClassPK(long classPK) {
189 _expandoValue.setClassPK(classPK);
190 }
191
192
197 public java.lang.String getData() {
198 return _expandoValue.getData();
199 }
200
201
206 public void setData(java.lang.String data) {
207 _expandoValue.setData(data);
208 }
209
210 public boolean isNew() {
211 return _expandoValue.isNew();
212 }
213
214 public void setNew(boolean n) {
215 _expandoValue.setNew(n);
216 }
217
218 public boolean isCachedModel() {
219 return _expandoValue.isCachedModel();
220 }
221
222 public void setCachedModel(boolean cachedModel) {
223 _expandoValue.setCachedModel(cachedModel);
224 }
225
226 public boolean isEscapedModel() {
227 return _expandoValue.isEscapedModel();
228 }
229
230 public void setEscapedModel(boolean escapedModel) {
231 _expandoValue.setEscapedModel(escapedModel);
232 }
233
234 public java.io.Serializable getPrimaryKeyObj() {
235 return _expandoValue.getPrimaryKeyObj();
236 }
237
238 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
239 _expandoValue.setPrimaryKeyObj(primaryKeyObj);
240 }
241
242 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
243 return _expandoValue.getExpandoBridge();
244 }
245
246 public void setExpandoBridgeAttributes(
247 com.liferay.portal.service.ServiceContext serviceContext) {
248 _expandoValue.setExpandoBridgeAttributes(serviceContext);
249 }
250
251 @Override
252 public java.lang.Object clone() {
253 return new ExpandoValueWrapper((ExpandoValue)_expandoValue.clone());
254 }
255
256 public int compareTo(
257 com.liferay.portlet.expando.model.ExpandoValue expandoValue) {
258 return _expandoValue.compareTo(expandoValue);
259 }
260
261 @Override
262 public int hashCode() {
263 return _expandoValue.hashCode();
264 }
265
266 public com.liferay.portal.model.CacheModel<com.liferay.portlet.expando.model.ExpandoValue> toCacheModel() {
267 return _expandoValue.toCacheModel();
268 }
269
270 public com.liferay.portlet.expando.model.ExpandoValue toEscapedModel() {
271 return new ExpandoValueWrapper(_expandoValue.toEscapedModel());
272 }
273
274 @Override
275 public java.lang.String toString() {
276 return _expandoValue.toString();
277 }
278
279 public java.lang.String toXmlString() {
280 return _expandoValue.toXmlString();
281 }
282
283 public void persist()
284 throws com.liferay.portal.kernel.exception.SystemException {
285 _expandoValue.persist();
286 }
287
288 public boolean getBoolean()
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 return _expandoValue.getBoolean();
292 }
293
294 public boolean[] getBooleanArray()
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 return _expandoValue.getBooleanArray();
298 }
299
300 public java.util.Date getDate()
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return _expandoValue.getDate();
304 }
305
306 public java.util.Date[] getDateArray()
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _expandoValue.getDateArray();
310 }
311
312 public double getDouble()
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 return _expandoValue.getDouble();
316 }
317
318 public double[] getDoubleArray()
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 return _expandoValue.getDoubleArray();
322 }
323
324 public float getFloat()
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 return _expandoValue.getFloat();
328 }
329
330 public float[] getFloatArray()
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 return _expandoValue.getFloatArray();
334 }
335
336 public int getInteger()
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _expandoValue.getInteger();
340 }
341
342 public int[] getIntegerArray()
343 throws com.liferay.portal.kernel.exception.PortalException,
344 com.liferay.portal.kernel.exception.SystemException {
345 return _expandoValue.getIntegerArray();
346 }
347
348 public long getLong()
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return _expandoValue.getLong();
352 }
353
354 public long[] getLongArray()
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _expandoValue.getLongArray();
358 }
359
360 public short getShort()
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 return _expandoValue.getShort();
364 }
365
366 public short[] getShortArray()
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _expandoValue.getShortArray();
370 }
371
372 public java.lang.String getString()
373 throws com.liferay.portal.kernel.exception.PortalException,
374 com.liferay.portal.kernel.exception.SystemException {
375 return _expandoValue.getString();
376 }
377
378 public java.lang.String[] getStringArray()
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException {
381 return _expandoValue.getStringArray();
382 }
383
384 public void setBoolean(boolean data)
385 throws com.liferay.portal.kernel.exception.PortalException,
386 com.liferay.portal.kernel.exception.SystemException {
387 _expandoValue.setBoolean(data);
388 }
389
390 public void setBooleanArray(boolean[] data)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 _expandoValue.setBooleanArray(data);
394 }
395
396 public void setDate(java.util.Date data)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 _expandoValue.setDate(data);
400 }
401
402 public void setDateArray(java.util.Date[] data)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 _expandoValue.setDateArray(data);
406 }
407
408 public void setDouble(double data)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 _expandoValue.setDouble(data);
412 }
413
414 public void setDoubleArray(double[] data)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 _expandoValue.setDoubleArray(data);
418 }
419
420 public void setFloat(float data)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException {
423 _expandoValue.setFloat(data);
424 }
425
426 public void setFloatArray(float[] data)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 _expandoValue.setFloatArray(data);
430 }
431
432 public void setInteger(int data)
433 throws com.liferay.portal.kernel.exception.PortalException,
434 com.liferay.portal.kernel.exception.SystemException {
435 _expandoValue.setInteger(data);
436 }
437
438 public void setIntegerArray(int[] data)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 _expandoValue.setIntegerArray(data);
442 }
443
444 public void setLong(long data)
445 throws com.liferay.portal.kernel.exception.PortalException,
446 com.liferay.portal.kernel.exception.SystemException {
447 _expandoValue.setLong(data);
448 }
449
450 public void setLongArray(long[] data)
451 throws com.liferay.portal.kernel.exception.PortalException,
452 com.liferay.portal.kernel.exception.SystemException {
453 _expandoValue.setLongArray(data);
454 }
455
456 public void setShort(short data)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 _expandoValue.setShort(data);
460 }
461
462 public void setShortArray(short[] data)
463 throws com.liferay.portal.kernel.exception.PortalException,
464 com.liferay.portal.kernel.exception.SystemException {
465 _expandoValue.setShortArray(data);
466 }
467
468 public void setString(java.lang.String data)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 _expandoValue.setString(data);
472 }
473
474 public void setStringArray(java.lang.String[] data)
475 throws com.liferay.portal.kernel.exception.PortalException,
476 com.liferay.portal.kernel.exception.SystemException {
477 _expandoValue.setStringArray(data);
478 }
479
480 public ExpandoValue getWrappedExpandoValue() {
481 return _expandoValue;
482 }
483
484 public void resetOriginalValues() {
485 _expandoValue.resetOriginalValues();
486 }
487
488 private ExpandoValue _expandoValue;
489 }