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 ExpandoRow}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ExpandoRow
024     * @generated
025     */
026    public class ExpandoRowWrapper implements ExpandoRow {
027            public ExpandoRowWrapper(ExpandoRow expandoRow) {
028                    _expandoRow = expandoRow;
029            }
030    
031            /**
032            * Gets the primary key of this expando row.
033            *
034            * @return the primary key of this expando row
035            */
036            public long getPrimaryKey() {
037                    return _expandoRow.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this expando row
042            *
043            * @param pk the primary key of this expando row
044            */
045            public void setPrimaryKey(long pk) {
046                    _expandoRow.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the row id of this expando row.
051            *
052            * @return the row id of this expando row
053            */
054            public long getRowId() {
055                    return _expandoRow.getRowId();
056            }
057    
058            /**
059            * Sets the row id of this expando row.
060            *
061            * @param rowId the row id of this expando row
062            */
063            public void setRowId(long rowId) {
064                    _expandoRow.setRowId(rowId);
065            }
066    
067            /**
068            * Gets the company id of this expando row.
069            *
070            * @return the company id of this expando row
071            */
072            public long getCompanyId() {
073                    return _expandoRow.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this expando row.
078            *
079            * @param companyId the company id of this expando row
080            */
081            public void setCompanyId(long companyId) {
082                    _expandoRow.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the table id of this expando row.
087            *
088            * @return the table id of this expando row
089            */
090            public long getTableId() {
091                    return _expandoRow.getTableId();
092            }
093    
094            /**
095            * Sets the table id of this expando row.
096            *
097            * @param tableId the table id of this expando row
098            */
099            public void setTableId(long tableId) {
100                    _expandoRow.setTableId(tableId);
101            }
102    
103            /**
104            * Gets the class p k of this expando row.
105            *
106            * @return the class p k of this expando row
107            */
108            public long getClassPK() {
109                    return _expandoRow.getClassPK();
110            }
111    
112            /**
113            * Sets the class p k of this expando row.
114            *
115            * @param classPK the class p k of this expando row
116            */
117            public void setClassPK(long classPK) {
118                    _expandoRow.setClassPK(classPK);
119            }
120    
121            public boolean isNew() {
122                    return _expandoRow.isNew();
123            }
124    
125            public void setNew(boolean n) {
126                    _expandoRow.setNew(n);
127            }
128    
129            public boolean isCachedModel() {
130                    return _expandoRow.isCachedModel();
131            }
132    
133            public void setCachedModel(boolean cachedModel) {
134                    _expandoRow.setCachedModel(cachedModel);
135            }
136    
137            public boolean isEscapedModel() {
138                    return _expandoRow.isEscapedModel();
139            }
140    
141            public void setEscapedModel(boolean escapedModel) {
142                    _expandoRow.setEscapedModel(escapedModel);
143            }
144    
145            public java.io.Serializable getPrimaryKeyObj() {
146                    return _expandoRow.getPrimaryKeyObj();
147            }
148    
149            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
150                    return _expandoRow.getExpandoBridge();
151            }
152    
153            public void setExpandoBridgeAttributes(
154                    com.liferay.portal.service.ServiceContext serviceContext) {
155                    _expandoRow.setExpandoBridgeAttributes(serviceContext);
156            }
157    
158            public java.lang.Object clone() {
159                    return _expandoRow.clone();
160            }
161    
162            public int compareTo(
163                    com.liferay.portlet.expando.model.ExpandoRow expandoRow) {
164                    return _expandoRow.compareTo(expandoRow);
165            }
166    
167            public int hashCode() {
168                    return _expandoRow.hashCode();
169            }
170    
171            public com.liferay.portlet.expando.model.ExpandoRow toEscapedModel() {
172                    return _expandoRow.toEscapedModel();
173            }
174    
175            public java.lang.String toString() {
176                    return _expandoRow.toString();
177            }
178    
179            public java.lang.String toXmlString() {
180                    return _expandoRow.toXmlString();
181            }
182    
183            public ExpandoRow getWrappedExpandoRow() {
184                    return _expandoRow;
185            }
186    
187            private ExpandoRow _expandoRow;
188    }