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