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 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            /**
032            * Gets the primary key of this expando table.
033            *
034            * @return the primary key of this expando table
035            */
036            public long getPrimaryKey() {
037                    return _expandoTable.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this expando table
042            *
043            * @param pk the primary key of this expando table
044            */
045            public void setPrimaryKey(long pk) {
046                    _expandoTable.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the table id of this expando table.
051            *
052            * @return the table id of this expando table
053            */
054            public long getTableId() {
055                    return _expandoTable.getTableId();
056            }
057    
058            /**
059            * Sets the table id of this expando table.
060            *
061            * @param tableId the table id of this expando table
062            */
063            public void setTableId(long tableId) {
064                    _expandoTable.setTableId(tableId);
065            }
066    
067            /**
068            * Gets the company id of this expando table.
069            *
070            * @return the company id of this expando table
071            */
072            public long getCompanyId() {
073                    return _expandoTable.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this expando table.
078            *
079            * @param companyId the company id of this expando table
080            */
081            public void setCompanyId(long companyId) {
082                    _expandoTable.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the class name of the model instance this expando table is polymorphically associated with.
087            *
088            * @return the class name of the model instance this expando table is polymorphically associated with
089            */
090            public java.lang.String getClassName() {
091                    return _expandoTable.getClassName();
092            }
093    
094            /**
095            * Gets the class name id of this expando table.
096            *
097            * @return the class name id of this expando table
098            */
099            public long getClassNameId() {
100                    return _expandoTable.getClassNameId();
101            }
102    
103            /**
104            * Sets the class name id of this expando table.
105            *
106            * @param classNameId the class name id of this expando table
107            */
108            public void setClassNameId(long classNameId) {
109                    _expandoTable.setClassNameId(classNameId);
110            }
111    
112            /**
113            * Gets the name of this expando table.
114            *
115            * @return the name of this expando table
116            */
117            public java.lang.String getName() {
118                    return _expandoTable.getName();
119            }
120    
121            /**
122            * Sets the name of this expando table.
123            *
124            * @param name the name of this expando table
125            */
126            public void setName(java.lang.String name) {
127                    _expandoTable.setName(name);
128            }
129    
130            public boolean isNew() {
131                    return _expandoTable.isNew();
132            }
133    
134            public void setNew(boolean n) {
135                    _expandoTable.setNew(n);
136            }
137    
138            public boolean isCachedModel() {
139                    return _expandoTable.isCachedModel();
140            }
141    
142            public void setCachedModel(boolean cachedModel) {
143                    _expandoTable.setCachedModel(cachedModel);
144            }
145    
146            public boolean isEscapedModel() {
147                    return _expandoTable.isEscapedModel();
148            }
149    
150            public void setEscapedModel(boolean escapedModel) {
151                    _expandoTable.setEscapedModel(escapedModel);
152            }
153    
154            public java.io.Serializable getPrimaryKeyObj() {
155                    return _expandoTable.getPrimaryKeyObj();
156            }
157    
158            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
159                    return _expandoTable.getExpandoBridge();
160            }
161    
162            public void setExpandoBridgeAttributes(
163                    com.liferay.portal.service.ServiceContext serviceContext) {
164                    _expandoTable.setExpandoBridgeAttributes(serviceContext);
165            }
166    
167            public java.lang.Object clone() {
168                    return _expandoTable.clone();
169            }
170    
171            public int compareTo(
172                    com.liferay.portlet.expando.model.ExpandoTable expandoTable) {
173                    return _expandoTable.compareTo(expandoTable);
174            }
175    
176            public int hashCode() {
177                    return _expandoTable.hashCode();
178            }
179    
180            public com.liferay.portlet.expando.model.ExpandoTable toEscapedModel() {
181                    return _expandoTable.toEscapedModel();
182            }
183    
184            public java.lang.String toString() {
185                    return _expandoTable.toString();
186            }
187    
188            public java.lang.String toXmlString() {
189                    return _expandoTable.toXmlString();
190            }
191    
192            public boolean isDefaultTable() {
193                    return _expandoTable.isDefaultTable();
194            }
195    
196            public ExpandoTable getWrappedExpandoTable() {
197                    return _expandoTable;
198            }
199    
200            private ExpandoTable _expandoTable;
201    }