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 ExpandoColumn}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ExpandoColumn
024     * @generated
025     */
026    public class ExpandoColumnWrapper implements ExpandoColumn {
027            public ExpandoColumnWrapper(ExpandoColumn expandoColumn) {
028                    _expandoColumn = expandoColumn;
029            }
030    
031            /**
032            * Gets the primary key of this expando column.
033            *
034            * @return the primary key of this expando column
035            */
036            public long getPrimaryKey() {
037                    return _expandoColumn.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this expando column
042            *
043            * @param pk the primary key of this expando column
044            */
045            public void setPrimaryKey(long pk) {
046                    _expandoColumn.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the column id of this expando column.
051            *
052            * @return the column id of this expando column
053            */
054            public long getColumnId() {
055                    return _expandoColumn.getColumnId();
056            }
057    
058            /**
059            * Sets the column id of this expando column.
060            *
061            * @param columnId the column id of this expando column
062            */
063            public void setColumnId(long columnId) {
064                    _expandoColumn.setColumnId(columnId);
065            }
066    
067            /**
068            * Gets the company id of this expando column.
069            *
070            * @return the company id of this expando column
071            */
072            public long getCompanyId() {
073                    return _expandoColumn.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this expando column.
078            *
079            * @param companyId the company id of this expando column
080            */
081            public void setCompanyId(long companyId) {
082                    _expandoColumn.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the table id of this expando column.
087            *
088            * @return the table id of this expando column
089            */
090            public long getTableId() {
091                    return _expandoColumn.getTableId();
092            }
093    
094            /**
095            * Sets the table id of this expando column.
096            *
097            * @param tableId the table id of this expando column
098            */
099            public void setTableId(long tableId) {
100                    _expandoColumn.setTableId(tableId);
101            }
102    
103            /**
104            * Gets the name of this expando column.
105            *
106            * @return the name of this expando column
107            */
108            public java.lang.String getName() {
109                    return _expandoColumn.getName();
110            }
111    
112            /**
113            * Sets the name of this expando column.
114            *
115            * @param name the name of this expando column
116            */
117            public void setName(java.lang.String name) {
118                    _expandoColumn.setName(name);
119            }
120    
121            /**
122            * Gets the type of this expando column.
123            *
124            * @return the type of this expando column
125            */
126            public int getType() {
127                    return _expandoColumn.getType();
128            }
129    
130            /**
131            * Sets the type of this expando column.
132            *
133            * @param type the type of this expando column
134            */
135            public void setType(int type) {
136                    _expandoColumn.setType(type);
137            }
138    
139            /**
140            * Gets the default data of this expando column.
141            *
142            * @return the default data of this expando column
143            */
144            public java.lang.String getDefaultData() {
145                    return _expandoColumn.getDefaultData();
146            }
147    
148            /**
149            * Sets the default data of this expando column.
150            *
151            * @param defaultData the default data of this expando column
152            */
153            public void setDefaultData(java.lang.String defaultData) {
154                    _expandoColumn.setDefaultData(defaultData);
155            }
156    
157            /**
158            * Gets the type settings of this expando column.
159            *
160            * @return the type settings of this expando column
161            */
162            public java.lang.String getTypeSettings() {
163                    return _expandoColumn.getTypeSettings();
164            }
165    
166            /**
167            * Sets the type settings of this expando column.
168            *
169            * @param typeSettings the type settings of this expando column
170            */
171            public void setTypeSettings(java.lang.String typeSettings) {
172                    _expandoColumn.setTypeSettings(typeSettings);
173            }
174    
175            public boolean isNew() {
176                    return _expandoColumn.isNew();
177            }
178    
179            public void setNew(boolean n) {
180                    _expandoColumn.setNew(n);
181            }
182    
183            public boolean isCachedModel() {
184                    return _expandoColumn.isCachedModel();
185            }
186    
187            public void setCachedModel(boolean cachedModel) {
188                    _expandoColumn.setCachedModel(cachedModel);
189            }
190    
191            public boolean isEscapedModel() {
192                    return _expandoColumn.isEscapedModel();
193            }
194    
195            public void setEscapedModel(boolean escapedModel) {
196                    _expandoColumn.setEscapedModel(escapedModel);
197            }
198    
199            public java.io.Serializable getPrimaryKeyObj() {
200                    return _expandoColumn.getPrimaryKeyObj();
201            }
202    
203            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
204                    return _expandoColumn.getExpandoBridge();
205            }
206    
207            public void setExpandoBridgeAttributes(
208                    com.liferay.portal.service.ServiceContext serviceContext) {
209                    _expandoColumn.setExpandoBridgeAttributes(serviceContext);
210            }
211    
212            public java.lang.Object clone() {
213                    return _expandoColumn.clone();
214            }
215    
216            public int compareTo(
217                    com.liferay.portlet.expando.model.ExpandoColumn expandoColumn) {
218                    return _expandoColumn.compareTo(expandoColumn);
219            }
220    
221            public int hashCode() {
222                    return _expandoColumn.hashCode();
223            }
224    
225            public com.liferay.portlet.expando.model.ExpandoColumn toEscapedModel() {
226                    return _expandoColumn.toEscapedModel();
227            }
228    
229            public java.lang.String toString() {
230                    return _expandoColumn.toString();
231            }
232    
233            public java.lang.String toXmlString() {
234                    return _expandoColumn.toXmlString();
235            }
236    
237            public java.io.Serializable getDefaultValue() {
238                    return _expandoColumn.getDefaultValue();
239            }
240    
241            public java.lang.String getDisplayName(java.util.Locale locale) {
242                    return _expandoColumn.getDisplayName(locale);
243            }
244    
245            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
246                    return _expandoColumn.getTypeSettingsProperties();
247            }
248    
249            public void setTypeSettingsProperties(
250                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
251                    _expandoColumn.setTypeSettingsProperties(typeSettingsProperties);
252            }
253    
254            public ExpandoColumn getWrappedExpandoColumn() {
255                    return _expandoColumn;
256            }
257    
258            private ExpandoColumn _expandoColumn;
259    }