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