001
014
015 package com.liferay.portal.model;
016
017 import java.util.Date;
018 import java.util.HashMap;
019 import java.util.Map;
020
021
030 public class UserTrackerPathWrapper implements UserTrackerPath,
031 ModelWrapper<UserTrackerPath> {
032 public UserTrackerPathWrapper(UserTrackerPath userTrackerPath) {
033 _userTrackerPath = userTrackerPath;
034 }
035
036 public Class<?> getModelClass() {
037 return UserTrackerPath.class;
038 }
039
040 public String getModelClassName() {
041 return UserTrackerPath.class.getName();
042 }
043
044 public Map<String, Object> getModelAttributes() {
045 Map<String, Object> attributes = new HashMap<String, Object>();
046
047 attributes.put("userTrackerPathId", getUserTrackerPathId());
048 attributes.put("userTrackerId", getUserTrackerId());
049 attributes.put("path", getPath());
050 attributes.put("pathDate", getPathDate());
051
052 return attributes;
053 }
054
055 public void setModelAttributes(Map<String, Object> attributes) {
056 Long userTrackerPathId = (Long)attributes.get("userTrackerPathId");
057
058 if (userTrackerPathId != null) {
059 setUserTrackerPathId(userTrackerPathId);
060 }
061
062 Long userTrackerId = (Long)attributes.get("userTrackerId");
063
064 if (userTrackerId != null) {
065 setUserTrackerId(userTrackerId);
066 }
067
068 String path = (String)attributes.get("path");
069
070 if (path != null) {
071 setPath(path);
072 }
073
074 Date pathDate = (Date)attributes.get("pathDate");
075
076 if (pathDate != null) {
077 setPathDate(pathDate);
078 }
079 }
080
081
086 public long getPrimaryKey() {
087 return _userTrackerPath.getPrimaryKey();
088 }
089
090
095 public void setPrimaryKey(long primaryKey) {
096 _userTrackerPath.setPrimaryKey(primaryKey);
097 }
098
099
104 public long getUserTrackerPathId() {
105 return _userTrackerPath.getUserTrackerPathId();
106 }
107
108
113 public void setUserTrackerPathId(long userTrackerPathId) {
114 _userTrackerPath.setUserTrackerPathId(userTrackerPathId);
115 }
116
117
122 public long getUserTrackerId() {
123 return _userTrackerPath.getUserTrackerId();
124 }
125
126
131 public void setUserTrackerId(long userTrackerId) {
132 _userTrackerPath.setUserTrackerId(userTrackerId);
133 }
134
135
140 public java.lang.String getPath() {
141 return _userTrackerPath.getPath();
142 }
143
144
149 public void setPath(java.lang.String path) {
150 _userTrackerPath.setPath(path);
151 }
152
153
158 public java.util.Date getPathDate() {
159 return _userTrackerPath.getPathDate();
160 }
161
162
167 public void setPathDate(java.util.Date pathDate) {
168 _userTrackerPath.setPathDate(pathDate);
169 }
170
171 public boolean isNew() {
172 return _userTrackerPath.isNew();
173 }
174
175 public void setNew(boolean n) {
176 _userTrackerPath.setNew(n);
177 }
178
179 public boolean isCachedModel() {
180 return _userTrackerPath.isCachedModel();
181 }
182
183 public void setCachedModel(boolean cachedModel) {
184 _userTrackerPath.setCachedModel(cachedModel);
185 }
186
187 public boolean isEscapedModel() {
188 return _userTrackerPath.isEscapedModel();
189 }
190
191 public java.io.Serializable getPrimaryKeyObj() {
192 return _userTrackerPath.getPrimaryKeyObj();
193 }
194
195 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
196 _userTrackerPath.setPrimaryKeyObj(primaryKeyObj);
197 }
198
199 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
200 return _userTrackerPath.getExpandoBridge();
201 }
202
203 public void setExpandoBridgeAttributes(
204 com.liferay.portal.service.ServiceContext serviceContext) {
205 _userTrackerPath.setExpandoBridgeAttributes(serviceContext);
206 }
207
208 @Override
209 public java.lang.Object clone() {
210 return new UserTrackerPathWrapper((UserTrackerPath)_userTrackerPath.clone());
211 }
212
213 public int compareTo(
214 com.liferay.portal.model.UserTrackerPath userTrackerPath) {
215 return _userTrackerPath.compareTo(userTrackerPath);
216 }
217
218 @Override
219 public int hashCode() {
220 return _userTrackerPath.hashCode();
221 }
222
223 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.UserTrackerPath> toCacheModel() {
224 return _userTrackerPath.toCacheModel();
225 }
226
227 public com.liferay.portal.model.UserTrackerPath toEscapedModel() {
228 return new UserTrackerPathWrapper(_userTrackerPath.toEscapedModel());
229 }
230
231 public com.liferay.portal.model.UserTrackerPath toUnescapedModel() {
232 return new UserTrackerPathWrapper(_userTrackerPath.toUnescapedModel());
233 }
234
235 @Override
236 public java.lang.String toString() {
237 return _userTrackerPath.toString();
238 }
239
240 public java.lang.String toXmlString() {
241 return _userTrackerPath.toXmlString();
242 }
243
244 public void persist()
245 throws com.liferay.portal.kernel.exception.SystemException {
246 _userTrackerPath.persist();
247 }
248
249
252 public UserTrackerPath getWrappedUserTrackerPath() {
253 return _userTrackerPath;
254 }
255
256 public UserTrackerPath getWrappedModel() {
257 return _userTrackerPath;
258 }
259
260 public void resetOriginalValues() {
261 _userTrackerPath.resetOriginalValues();
262 }
263
264 private UserTrackerPath _userTrackerPath;
265 }