001    /**
002     * Copyright (c) 2000-2011 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.social.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link SocialEquityGroupSetting}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SocialEquityGroupSetting
024     * @generated
025     */
026    public class SocialEquityGroupSettingWrapper implements SocialEquityGroupSetting {
027            public SocialEquityGroupSettingWrapper(
028                    SocialEquityGroupSetting socialEquityGroupSetting) {
029                    _socialEquityGroupSetting = socialEquityGroupSetting;
030            }
031    
032            public Class<?> getModelClass() {
033                    return SocialEquityGroupSetting.class;
034            }
035    
036            public String getModelClassName() {
037                    return SocialEquityGroupSetting.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this social equity group setting.
042            *
043            * @return the primary key of this social equity group setting
044            */
045            public long getPrimaryKey() {
046                    return _socialEquityGroupSetting.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this social equity group setting.
051            *
052            * @param primaryKey the primary key of this social equity group setting
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _socialEquityGroupSetting.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the equity group setting ID of this social equity group setting.
060            *
061            * @return the equity group setting ID of this social equity group setting
062            */
063            public long getEquityGroupSettingId() {
064                    return _socialEquityGroupSetting.getEquityGroupSettingId();
065            }
066    
067            /**
068            * Sets the equity group setting ID of this social equity group setting.
069            *
070            * @param equityGroupSettingId the equity group setting ID of this social equity group setting
071            */
072            public void setEquityGroupSettingId(long equityGroupSettingId) {
073                    _socialEquityGroupSetting.setEquityGroupSettingId(equityGroupSettingId);
074            }
075    
076            /**
077            * Returns the group ID of this social equity group setting.
078            *
079            * @return the group ID of this social equity group setting
080            */
081            public long getGroupId() {
082                    return _socialEquityGroupSetting.getGroupId();
083            }
084    
085            /**
086            * Sets the group ID of this social equity group setting.
087            *
088            * @param groupId the group ID of this social equity group setting
089            */
090            public void setGroupId(long groupId) {
091                    _socialEquityGroupSetting.setGroupId(groupId);
092            }
093    
094            /**
095            * Returns the company ID of this social equity group setting.
096            *
097            * @return the company ID of this social equity group setting
098            */
099            public long getCompanyId() {
100                    return _socialEquityGroupSetting.getCompanyId();
101            }
102    
103            /**
104            * Sets the company ID of this social equity group setting.
105            *
106            * @param companyId the company ID of this social equity group setting
107            */
108            public void setCompanyId(long companyId) {
109                    _socialEquityGroupSetting.setCompanyId(companyId);
110            }
111    
112            /**
113            * Returns the fully qualified class name of this social equity group setting.
114            *
115            * @return the fully qualified class name of this social equity group setting
116            */
117            public java.lang.String getClassName() {
118                    return _socialEquityGroupSetting.getClassName();
119            }
120    
121            /**
122            * Returns the class name ID of this social equity group setting.
123            *
124            * @return the class name ID of this social equity group setting
125            */
126            public long getClassNameId() {
127                    return _socialEquityGroupSetting.getClassNameId();
128            }
129    
130            /**
131            * Sets the class name ID of this social equity group setting.
132            *
133            * @param classNameId the class name ID of this social equity group setting
134            */
135            public void setClassNameId(long classNameId) {
136                    _socialEquityGroupSetting.setClassNameId(classNameId);
137            }
138    
139            /**
140            * Returns the type of this social equity group setting.
141            *
142            * @return the type of this social equity group setting
143            */
144            public int getType() {
145                    return _socialEquityGroupSetting.getType();
146            }
147    
148            /**
149            * Sets the type of this social equity group setting.
150            *
151            * @param type the type of this social equity group setting
152            */
153            public void setType(int type) {
154                    _socialEquityGroupSetting.setType(type);
155            }
156    
157            /**
158            * Returns the enabled of this social equity group setting.
159            *
160            * @return the enabled of this social equity group setting
161            */
162            public boolean getEnabled() {
163                    return _socialEquityGroupSetting.getEnabled();
164            }
165    
166            /**
167            * Returns <code>true</code> if this social equity group setting is enabled.
168            *
169            * @return <code>true</code> if this social equity group setting is enabled; <code>false</code> otherwise
170            */
171            public boolean isEnabled() {
172                    return _socialEquityGroupSetting.isEnabled();
173            }
174    
175            /**
176            * Sets whether this social equity group setting is enabled.
177            *
178            * @param enabled the enabled of this social equity group setting
179            */
180            public void setEnabled(boolean enabled) {
181                    _socialEquityGroupSetting.setEnabled(enabled);
182            }
183    
184            public boolean isNew() {
185                    return _socialEquityGroupSetting.isNew();
186            }
187    
188            public void setNew(boolean n) {
189                    _socialEquityGroupSetting.setNew(n);
190            }
191    
192            public boolean isCachedModel() {
193                    return _socialEquityGroupSetting.isCachedModel();
194            }
195    
196            public void setCachedModel(boolean cachedModel) {
197                    _socialEquityGroupSetting.setCachedModel(cachedModel);
198            }
199    
200            public boolean isEscapedModel() {
201                    return _socialEquityGroupSetting.isEscapedModel();
202            }
203    
204            public java.io.Serializable getPrimaryKeyObj() {
205                    return _socialEquityGroupSetting.getPrimaryKeyObj();
206            }
207    
208            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
209                    _socialEquityGroupSetting.setPrimaryKeyObj(primaryKeyObj);
210            }
211    
212            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
213                    return _socialEquityGroupSetting.getExpandoBridge();
214            }
215    
216            public void setExpandoBridgeAttributes(
217                    com.liferay.portal.service.ServiceContext serviceContext) {
218                    _socialEquityGroupSetting.setExpandoBridgeAttributes(serviceContext);
219            }
220    
221            @Override
222            public java.lang.Object clone() {
223                    return new SocialEquityGroupSettingWrapper((SocialEquityGroupSetting)_socialEquityGroupSetting.clone());
224            }
225    
226            public int compareTo(
227                    com.liferay.portlet.social.model.SocialEquityGroupSetting socialEquityGroupSetting) {
228                    return _socialEquityGroupSetting.compareTo(socialEquityGroupSetting);
229            }
230    
231            @Override
232            public int hashCode() {
233                    return _socialEquityGroupSetting.hashCode();
234            }
235    
236            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialEquityGroupSetting> toCacheModel() {
237                    return _socialEquityGroupSetting.toCacheModel();
238            }
239    
240            public com.liferay.portlet.social.model.SocialEquityGroupSetting toEscapedModel() {
241                    return new SocialEquityGroupSettingWrapper(_socialEquityGroupSetting.toEscapedModel());
242            }
243    
244            @Override
245            public java.lang.String toString() {
246                    return _socialEquityGroupSetting.toString();
247            }
248    
249            public java.lang.String toXmlString() {
250                    return _socialEquityGroupSetting.toXmlString();
251            }
252    
253            public void persist()
254                    throws com.liferay.portal.kernel.exception.SystemException {
255                    _socialEquityGroupSetting.persist();
256            }
257    
258            public SocialEquityGroupSetting getWrappedSocialEquityGroupSetting() {
259                    return _socialEquityGroupSetting;
260            }
261    
262            public void resetOriginalValues() {
263                    _socialEquityGroupSetting.resetOriginalValues();
264            }
265    
266            private SocialEquityGroupSetting _socialEquityGroupSetting;
267    }