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 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            public long getPrimaryKey() {
032                    return _expandoColumn.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _expandoColumn.setPrimaryKey(pk);
037            }
038    
039            public long getColumnId() {
040                    return _expandoColumn.getColumnId();
041            }
042    
043            public void setColumnId(long columnId) {
044                    _expandoColumn.setColumnId(columnId);
045            }
046    
047            public long getCompanyId() {
048                    return _expandoColumn.getCompanyId();
049            }
050    
051            public void setCompanyId(long companyId) {
052                    _expandoColumn.setCompanyId(companyId);
053            }
054    
055            public long getTableId() {
056                    return _expandoColumn.getTableId();
057            }
058    
059            public void setTableId(long tableId) {
060                    _expandoColumn.setTableId(tableId);
061            }
062    
063            public java.lang.String getName() {
064                    return _expandoColumn.getName();
065            }
066    
067            public void setName(java.lang.String name) {
068                    _expandoColumn.setName(name);
069            }
070    
071            public int getType() {
072                    return _expandoColumn.getType();
073            }
074    
075            public void setType(int type) {
076                    _expandoColumn.setType(type);
077            }
078    
079            public java.lang.String getDefaultData() {
080                    return _expandoColumn.getDefaultData();
081            }
082    
083            public void setDefaultData(java.lang.String defaultData) {
084                    _expandoColumn.setDefaultData(defaultData);
085            }
086    
087            public java.lang.String getTypeSettings() {
088                    return _expandoColumn.getTypeSettings();
089            }
090    
091            public void setTypeSettings(java.lang.String typeSettings) {
092                    _expandoColumn.setTypeSettings(typeSettings);
093            }
094    
095            public com.liferay.portlet.expando.model.ExpandoColumn toEscapedModel() {
096                    return _expandoColumn.toEscapedModel();
097            }
098    
099            public boolean isNew() {
100                    return _expandoColumn.isNew();
101            }
102    
103            public void setNew(boolean n) {
104                    _expandoColumn.setNew(n);
105            }
106    
107            public boolean isCachedModel() {
108                    return _expandoColumn.isCachedModel();
109            }
110    
111            public void setCachedModel(boolean cachedModel) {
112                    _expandoColumn.setCachedModel(cachedModel);
113            }
114    
115            public boolean isEscapedModel() {
116                    return _expandoColumn.isEscapedModel();
117            }
118    
119            public void setEscapedModel(boolean escapedModel) {
120                    _expandoColumn.setEscapedModel(escapedModel);
121            }
122    
123            public java.io.Serializable getPrimaryKeyObj() {
124                    return _expandoColumn.getPrimaryKeyObj();
125            }
126    
127            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
128                    return _expandoColumn.getExpandoBridge();
129            }
130    
131            public void setExpandoBridgeAttributes(
132                    com.liferay.portal.service.ServiceContext serviceContext) {
133                    _expandoColumn.setExpandoBridgeAttributes(serviceContext);
134            }
135    
136            public java.lang.Object clone() {
137                    return _expandoColumn.clone();
138            }
139    
140            public int compareTo(
141                    com.liferay.portlet.expando.model.ExpandoColumn expandoColumn) {
142                    return _expandoColumn.compareTo(expandoColumn);
143            }
144    
145            public int hashCode() {
146                    return _expandoColumn.hashCode();
147            }
148    
149            public java.lang.String toString() {
150                    return _expandoColumn.toString();
151            }
152    
153            public java.lang.String toXmlString() {
154                    return _expandoColumn.toXmlString();
155            }
156    
157            public java.io.Serializable getDefaultValue() {
158                    return _expandoColumn.getDefaultValue();
159            }
160    
161            public java.lang.String getDisplayName(java.util.Locale locale) {
162                    return _expandoColumn.getDisplayName(locale);
163            }
164    
165            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
166                    return _expandoColumn.getTypeSettingsProperties();
167            }
168    
169            public void setTypeSettingsProperties(
170                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
171                    _expandoColumn.setTypeSettingsProperties(typeSettingsProperties);
172            }
173    
174            public ExpandoColumn getWrappedExpandoColumn() {
175                    return _expandoColumn;
176            }
177    
178            private ExpandoColumn _expandoColumn;
179    }