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