001    /**
002     * Copyright (c) 2000-2012 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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Team}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Team
024     * @generated
025     */
026    public class TeamWrapper implements Team, ModelWrapper<Team> {
027            public TeamWrapper(Team team) {
028                    _team = team;
029            }
030    
031            public Class<?> getModelClass() {
032                    return Team.class;
033            }
034    
035            public String getModelClassName() {
036                    return Team.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this team.
041            *
042            * @return the primary key of this team
043            */
044            public long getPrimaryKey() {
045                    return _team.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this team.
050            *
051            * @param primaryKey the primary key of this team
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _team.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the team ID of this team.
059            *
060            * @return the team ID of this team
061            */
062            public long getTeamId() {
063                    return _team.getTeamId();
064            }
065    
066            /**
067            * Sets the team ID of this team.
068            *
069            * @param teamId the team ID of this team
070            */
071            public void setTeamId(long teamId) {
072                    _team.setTeamId(teamId);
073            }
074    
075            /**
076            * Returns the company ID of this team.
077            *
078            * @return the company ID of this team
079            */
080            public long getCompanyId() {
081                    return _team.getCompanyId();
082            }
083    
084            /**
085            * Sets the company ID of this team.
086            *
087            * @param companyId the company ID of this team
088            */
089            public void setCompanyId(long companyId) {
090                    _team.setCompanyId(companyId);
091            }
092    
093            /**
094            * Returns the user ID of this team.
095            *
096            * @return the user ID of this team
097            */
098            public long getUserId() {
099                    return _team.getUserId();
100            }
101    
102            /**
103            * Sets the user ID of this team.
104            *
105            * @param userId the user ID of this team
106            */
107            public void setUserId(long userId) {
108                    _team.setUserId(userId);
109            }
110    
111            /**
112            * Returns the user uuid of this team.
113            *
114            * @return the user uuid of this team
115            * @throws SystemException if a system exception occurred
116            */
117            public java.lang.String getUserUuid()
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _team.getUserUuid();
120            }
121    
122            /**
123            * Sets the user uuid of this team.
124            *
125            * @param userUuid the user uuid of this team
126            */
127            public void setUserUuid(java.lang.String userUuid) {
128                    _team.setUserUuid(userUuid);
129            }
130    
131            /**
132            * Returns the user name of this team.
133            *
134            * @return the user name of this team
135            */
136            public java.lang.String getUserName() {
137                    return _team.getUserName();
138            }
139    
140            /**
141            * Sets the user name of this team.
142            *
143            * @param userName the user name of this team
144            */
145            public void setUserName(java.lang.String userName) {
146                    _team.setUserName(userName);
147            }
148    
149            /**
150            * Returns the create date of this team.
151            *
152            * @return the create date of this team
153            */
154            public java.util.Date getCreateDate() {
155                    return _team.getCreateDate();
156            }
157    
158            /**
159            * Sets the create date of this team.
160            *
161            * @param createDate the create date of this team
162            */
163            public void setCreateDate(java.util.Date createDate) {
164                    _team.setCreateDate(createDate);
165            }
166    
167            /**
168            * Returns the modified date of this team.
169            *
170            * @return the modified date of this team
171            */
172            public java.util.Date getModifiedDate() {
173                    return _team.getModifiedDate();
174            }
175    
176            /**
177            * Sets the modified date of this team.
178            *
179            * @param modifiedDate the modified date of this team
180            */
181            public void setModifiedDate(java.util.Date modifiedDate) {
182                    _team.setModifiedDate(modifiedDate);
183            }
184    
185            /**
186            * Returns the group ID of this team.
187            *
188            * @return the group ID of this team
189            */
190            public long getGroupId() {
191                    return _team.getGroupId();
192            }
193    
194            /**
195            * Sets the group ID of this team.
196            *
197            * @param groupId the group ID of this team
198            */
199            public void setGroupId(long groupId) {
200                    _team.setGroupId(groupId);
201            }
202    
203            /**
204            * Returns the name of this team.
205            *
206            * @return the name of this team
207            */
208            public java.lang.String getName() {
209                    return _team.getName();
210            }
211    
212            /**
213            * Sets the name of this team.
214            *
215            * @param name the name of this team
216            */
217            public void setName(java.lang.String name) {
218                    _team.setName(name);
219            }
220    
221            /**
222            * Returns the description of this team.
223            *
224            * @return the description of this team
225            */
226            public java.lang.String getDescription() {
227                    return _team.getDescription();
228            }
229    
230            /**
231            * Sets the description of this team.
232            *
233            * @param description the description of this team
234            */
235            public void setDescription(java.lang.String description) {
236                    _team.setDescription(description);
237            }
238    
239            public boolean isNew() {
240                    return _team.isNew();
241            }
242    
243            public void setNew(boolean n) {
244                    _team.setNew(n);
245            }
246    
247            public boolean isCachedModel() {
248                    return _team.isCachedModel();
249            }
250    
251            public void setCachedModel(boolean cachedModel) {
252                    _team.setCachedModel(cachedModel);
253            }
254    
255            public boolean isEscapedModel() {
256                    return _team.isEscapedModel();
257            }
258    
259            public java.io.Serializable getPrimaryKeyObj() {
260                    return _team.getPrimaryKeyObj();
261            }
262    
263            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
264                    _team.setPrimaryKeyObj(primaryKeyObj);
265            }
266    
267            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
268                    return _team.getExpandoBridge();
269            }
270    
271            public void setExpandoBridgeAttributes(
272                    com.liferay.portal.service.ServiceContext serviceContext) {
273                    _team.setExpandoBridgeAttributes(serviceContext);
274            }
275    
276            @Override
277            public java.lang.Object clone() {
278                    return new TeamWrapper((Team)_team.clone());
279            }
280    
281            public int compareTo(com.liferay.portal.model.Team team) {
282                    return _team.compareTo(team);
283            }
284    
285            @Override
286            public int hashCode() {
287                    return _team.hashCode();
288            }
289    
290            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Team> toCacheModel() {
291                    return _team.toCacheModel();
292            }
293    
294            public com.liferay.portal.model.Team toEscapedModel() {
295                    return new TeamWrapper(_team.toEscapedModel());
296            }
297    
298            @Override
299            public java.lang.String toString() {
300                    return _team.toString();
301            }
302    
303            public java.lang.String toXmlString() {
304                    return _team.toXmlString();
305            }
306    
307            public void persist()
308                    throws com.liferay.portal.kernel.exception.SystemException {
309                    _team.persist();
310            }
311    
312            public com.liferay.portal.model.Role getRole()
313                    throws com.liferay.portal.kernel.exception.PortalException,
314                            com.liferay.portal.kernel.exception.SystemException {
315                    return _team.getRole();
316            }
317    
318            /**
319             * @deprecated Renamed to {@link #getWrappedModel}
320             */
321            public Team getWrappedTeam() {
322                    return _team;
323            }
324    
325            public Team getWrappedModel() {
326                    return _team;
327            }
328    
329            public void resetOriginalValues() {
330                    _team.resetOriginalValues();
331            }
332    
333            private Team _team;
334    }