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