001    /**
002     * Copyright (c) 2000-2011 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.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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the class name of the model instance this social equity group setting is polymorphically associated with.
114            *
115            * @return the class name of the model instance this social equity group setting is polymorphically associated with
116            */
117            public java.lang.String getClassName() {
118                    return _socialEquityGroupSetting.getClassName();
119            }
120    
121            /**
122            * Gets 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            * Gets 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            * Gets 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            * Determines 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 void setEscapedModel(boolean escapedModel) {
205                    _socialEquityGroupSetting.setEscapedModel(escapedModel);
206            }
207    
208            public java.io.Serializable getPrimaryKeyObj() {
209                    return _socialEquityGroupSetting.getPrimaryKeyObj();
210            }
211    
212            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
213                    _socialEquityGroupSetting.setPrimaryKeyObj(primaryKeyObj);
214            }
215    
216            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
217                    return _socialEquityGroupSetting.getExpandoBridge();
218            }
219    
220            public void setExpandoBridgeAttributes(
221                    com.liferay.portal.service.ServiceContext serviceContext) {
222                    _socialEquityGroupSetting.setExpandoBridgeAttributes(serviceContext);
223            }
224    
225            @Override
226            public java.lang.Object clone() {
227                    return new SocialEquityGroupSettingWrapper((SocialEquityGroupSetting)_socialEquityGroupSetting.clone());
228            }
229    
230            public int compareTo(
231                    com.liferay.portlet.social.model.SocialEquityGroupSetting socialEquityGroupSetting) {
232                    return _socialEquityGroupSetting.compareTo(socialEquityGroupSetting);
233            }
234    
235            @Override
236            public int hashCode() {
237                    return _socialEquityGroupSetting.hashCode();
238            }
239    
240            public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialEquityGroupSetting> toCacheModel() {
241                    return _socialEquityGroupSetting.toCacheModel();
242            }
243    
244            public com.liferay.portlet.social.model.SocialEquityGroupSetting toEscapedModel() {
245                    return new SocialEquityGroupSettingWrapper(_socialEquityGroupSetting.toEscapedModel());
246            }
247    
248            @Override
249            public java.lang.String toString() {
250                    return _socialEquityGroupSetting.toString();
251            }
252    
253            public java.lang.String toXmlString() {
254                    return _socialEquityGroupSetting.toXmlString();
255            }
256    
257            public void persist()
258                    throws com.liferay.portal.kernel.exception.SystemException {
259                    _socialEquityGroupSetting.persist();
260            }
261    
262            public SocialEquityGroupSetting getWrappedSocialEquityGroupSetting() {
263                    return _socialEquityGroupSetting;
264            }
265    
266            public void resetOriginalValues() {
267                    _socialEquityGroupSetting.resetOriginalValues();
268            }
269    
270            private SocialEquityGroupSetting _socialEquityGroupSetting;
271    }