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 ExpandoRow}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ExpandoRow
025     * @generated
026     */
027    public class ExpandoRowWrapper implements ExpandoRow {
028            public ExpandoRowWrapper(ExpandoRow expandoRow) {
029                    _expandoRow = expandoRow;
030            }
031    
032            public long getPrimaryKey() {
033                    return _expandoRow.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _expandoRow.setPrimaryKey(pk);
038            }
039    
040            public long getRowId() {
041                    return _expandoRow.getRowId();
042            }
043    
044            public void setRowId(long rowId) {
045                    _expandoRow.setRowId(rowId);
046            }
047    
048            public long getCompanyId() {
049                    return _expandoRow.getCompanyId();
050            }
051    
052            public void setCompanyId(long companyId) {
053                    _expandoRow.setCompanyId(companyId);
054            }
055    
056            public long getTableId() {
057                    return _expandoRow.getTableId();
058            }
059    
060            public void setTableId(long tableId) {
061                    _expandoRow.setTableId(tableId);
062            }
063    
064            public long getClassPK() {
065                    return _expandoRow.getClassPK();
066            }
067    
068            public void setClassPK(long classPK) {
069                    _expandoRow.setClassPK(classPK);
070            }
071    
072            public com.liferay.portlet.expando.model.ExpandoRow toEscapedModel() {
073                    return _expandoRow.toEscapedModel();
074            }
075    
076            public boolean isNew() {
077                    return _expandoRow.isNew();
078            }
079    
080            public void setNew(boolean n) {
081                    _expandoRow.setNew(n);
082            }
083    
084            public boolean isCachedModel() {
085                    return _expandoRow.isCachedModel();
086            }
087    
088            public void setCachedModel(boolean cachedModel) {
089                    _expandoRow.setCachedModel(cachedModel);
090            }
091    
092            public boolean isEscapedModel() {
093                    return _expandoRow.isEscapedModel();
094            }
095    
096            public void setEscapedModel(boolean escapedModel) {
097                    _expandoRow.setEscapedModel(escapedModel);
098            }
099    
100            public java.io.Serializable getPrimaryKeyObj() {
101                    return _expandoRow.getPrimaryKeyObj();
102            }
103    
104            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
105                    return _expandoRow.getExpandoBridge();
106            }
107    
108            public void setExpandoBridgeAttributes(
109                    com.liferay.portal.service.ServiceContext serviceContext) {
110                    _expandoRow.setExpandoBridgeAttributes(serviceContext);
111            }
112    
113            public java.lang.Object clone() {
114                    return _expandoRow.clone();
115            }
116    
117            public int compareTo(
118                    com.liferay.portlet.expando.model.ExpandoRow expandoRow) {
119                    return _expandoRow.compareTo(expandoRow);
120            }
121    
122            public int hashCode() {
123                    return _expandoRow.hashCode();
124            }
125    
126            public java.lang.String toString() {
127                    return _expandoRow.toString();
128            }
129    
130            public java.lang.String toXmlString() {
131                    return _expandoRow.toXmlString();
132            }
133    
134            public ExpandoRow getWrappedExpandoRow() {
135                    return _expandoRow;
136            }
137    
138            private ExpandoRow _expandoRow;
139    }