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