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 UserTrackerPath}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserTrackerPath
024     * @generated
025     */
026    public class UserTrackerPathWrapper implements UserTrackerPath,
027            ModelWrapper<UserTrackerPath> {
028            public UserTrackerPathWrapper(UserTrackerPath userTrackerPath) {
029                    _userTrackerPath = userTrackerPath;
030            }
031    
032            public Class<?> getModelClass() {
033                    return UserTrackerPath.class;
034            }
035    
036            public String getModelClassName() {
037                    return UserTrackerPath.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this user tracker path.
042            *
043            * @return the primary key of this user tracker path
044            */
045            public long getPrimaryKey() {
046                    return _userTrackerPath.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this user tracker path.
051            *
052            * @param primaryKey the primary key of this user tracker path
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _userTrackerPath.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the user tracker path ID of this user tracker path.
060            *
061            * @return the user tracker path ID of this user tracker path
062            */
063            public long getUserTrackerPathId() {
064                    return _userTrackerPath.getUserTrackerPathId();
065            }
066    
067            /**
068            * Sets the user tracker path ID of this user tracker path.
069            *
070            * @param userTrackerPathId the user tracker path ID of this user tracker path
071            */
072            public void setUserTrackerPathId(long userTrackerPathId) {
073                    _userTrackerPath.setUserTrackerPathId(userTrackerPathId);
074            }
075    
076            /**
077            * Returns the user tracker ID of this user tracker path.
078            *
079            * @return the user tracker ID of this user tracker path
080            */
081            public long getUserTrackerId() {
082                    return _userTrackerPath.getUserTrackerId();
083            }
084    
085            /**
086            * Sets the user tracker ID of this user tracker path.
087            *
088            * @param userTrackerId the user tracker ID of this user tracker path
089            */
090            public void setUserTrackerId(long userTrackerId) {
091                    _userTrackerPath.setUserTrackerId(userTrackerId);
092            }
093    
094            /**
095            * Returns the path of this user tracker path.
096            *
097            * @return the path of this user tracker path
098            */
099            public java.lang.String getPath() {
100                    return _userTrackerPath.getPath();
101            }
102    
103            /**
104            * Sets the path of this user tracker path.
105            *
106            * @param path the path of this user tracker path
107            */
108            public void setPath(java.lang.String path) {
109                    _userTrackerPath.setPath(path);
110            }
111    
112            /**
113            * Returns the path date of this user tracker path.
114            *
115            * @return the path date of this user tracker path
116            */
117            public java.util.Date getPathDate() {
118                    return _userTrackerPath.getPathDate();
119            }
120    
121            /**
122            * Sets the path date of this user tracker path.
123            *
124            * @param pathDate the path date of this user tracker path
125            */
126            public void setPathDate(java.util.Date pathDate) {
127                    _userTrackerPath.setPathDate(pathDate);
128            }
129    
130            public boolean isNew() {
131                    return _userTrackerPath.isNew();
132            }
133    
134            public void setNew(boolean n) {
135                    _userTrackerPath.setNew(n);
136            }
137    
138            public boolean isCachedModel() {
139                    return _userTrackerPath.isCachedModel();
140            }
141    
142            public void setCachedModel(boolean cachedModel) {
143                    _userTrackerPath.setCachedModel(cachedModel);
144            }
145    
146            public boolean isEscapedModel() {
147                    return _userTrackerPath.isEscapedModel();
148            }
149    
150            public java.io.Serializable getPrimaryKeyObj() {
151                    return _userTrackerPath.getPrimaryKeyObj();
152            }
153    
154            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
155                    _userTrackerPath.setPrimaryKeyObj(primaryKeyObj);
156            }
157    
158            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
159                    return _userTrackerPath.getExpandoBridge();
160            }
161    
162            public void setExpandoBridgeAttributes(
163                    com.liferay.portal.service.ServiceContext serviceContext) {
164                    _userTrackerPath.setExpandoBridgeAttributes(serviceContext);
165            }
166    
167            @Override
168            public java.lang.Object clone() {
169                    return new UserTrackerPathWrapper((UserTrackerPath)_userTrackerPath.clone());
170            }
171    
172            public int compareTo(
173                    com.liferay.portal.model.UserTrackerPath userTrackerPath) {
174                    return _userTrackerPath.compareTo(userTrackerPath);
175            }
176    
177            @Override
178            public int hashCode() {
179                    return _userTrackerPath.hashCode();
180            }
181    
182            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.UserTrackerPath> toCacheModel() {
183                    return _userTrackerPath.toCacheModel();
184            }
185    
186            public com.liferay.portal.model.UserTrackerPath toEscapedModel() {
187                    return new UserTrackerPathWrapper(_userTrackerPath.toEscapedModel());
188            }
189    
190            @Override
191            public java.lang.String toString() {
192                    return _userTrackerPath.toString();
193            }
194    
195            public java.lang.String toXmlString() {
196                    return _userTrackerPath.toXmlString();
197            }
198    
199            public void persist()
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    _userTrackerPath.persist();
202            }
203    
204            /**
205             * @deprecated Renamed to {@link #getWrappedModel}
206             */
207            public UserTrackerPath getWrappedUserTrackerPath() {
208                    return _userTrackerPath;
209            }
210    
211            public UserTrackerPath getWrappedModel() {
212                    return _userTrackerPath;
213            }
214    
215            public void resetOriginalValues() {
216                    _userTrackerPath.resetOriginalValues();
217            }
218    
219            private UserTrackerPath _userTrackerPath;
220    }