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