1
22
23 package com.liferay.portal.model;
24
25 import java.io.Serializable;
26
27 import java.util.ArrayList;
28 import java.util.Date;
29 import java.util.List;
30
31
49 public class UserTrackerPathSoap implements Serializable {
50 public static UserTrackerPathSoap toSoapModel(UserTrackerPath model) {
51 UserTrackerPathSoap soapModel = new UserTrackerPathSoap();
52
53 soapModel.setUserTrackerPathId(model.getUserTrackerPathId());
54 soapModel.setUserTrackerId(model.getUserTrackerId());
55 soapModel.setPath(model.getPath());
56 soapModel.setPathDate(model.getPathDate());
57
58 return soapModel;
59 }
60
61 public static UserTrackerPathSoap[] toSoapModels(
62 List<UserTrackerPath> models) {
63 List<UserTrackerPathSoap> soapModels = new ArrayList<UserTrackerPathSoap>(models.size());
64
65 for (UserTrackerPath model : models) {
66 soapModels.add(toSoapModel(model));
67 }
68
69 return soapModels.toArray(new UserTrackerPathSoap[soapModels.size()]);
70 }
71
72 public UserTrackerPathSoap() {
73 }
74
75 public long getPrimaryKey() {
76 return _userTrackerPathId;
77 }
78
79 public void setPrimaryKey(long pk) {
80 setUserTrackerPathId(pk);
81 }
82
83 public long getUserTrackerPathId() {
84 return _userTrackerPathId;
85 }
86
87 public void setUserTrackerPathId(long userTrackerPathId) {
88 _userTrackerPathId = userTrackerPathId;
89 }
90
91 public long getUserTrackerId() {
92 return _userTrackerId;
93 }
94
95 public void setUserTrackerId(long userTrackerId) {
96 _userTrackerId = userTrackerId;
97 }
98
99 public String getPath() {
100 return _path;
101 }
102
103 public void setPath(String path) {
104 _path = path;
105 }
106
107 public Date getPathDate() {
108 return _pathDate;
109 }
110
111 public void setPathDate(Date pathDate) {
112 _pathDate = pathDate;
113 }
114
115 private long _userTrackerPathId;
116 private long _userTrackerId;
117 private String _path;
118 private Date _pathDate;
119 }