001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import java.io.Serializable;
020
021 import java.util.ArrayList;
022 import java.util.Date;
023 import java.util.List;
024
025
031 @ProviderType
032 public class UserTrackerPathSoap implements Serializable {
033 public static UserTrackerPathSoap toSoapModel(UserTrackerPath model) {
034 UserTrackerPathSoap soapModel = new UserTrackerPathSoap();
035
036 soapModel.setMvccVersion(model.getMvccVersion());
037 soapModel.setUserTrackerPathId(model.getUserTrackerPathId());
038 soapModel.setUserTrackerId(model.getUserTrackerId());
039 soapModel.setPath(model.getPath());
040 soapModel.setPathDate(model.getPathDate());
041
042 return soapModel;
043 }
044
045 public static UserTrackerPathSoap[] toSoapModels(UserTrackerPath[] models) {
046 UserTrackerPathSoap[] soapModels = new UserTrackerPathSoap[models.length];
047
048 for (int i = 0; i < models.length; i++) {
049 soapModels[i] = toSoapModel(models[i]);
050 }
051
052 return soapModels;
053 }
054
055 public static UserTrackerPathSoap[][] toSoapModels(
056 UserTrackerPath[][] models) {
057 UserTrackerPathSoap[][] soapModels = null;
058
059 if (models.length > 0) {
060 soapModels = new UserTrackerPathSoap[models.length][models[0].length];
061 }
062 else {
063 soapModels = new UserTrackerPathSoap[0][0];
064 }
065
066 for (int i = 0; i < models.length; i++) {
067 soapModels[i] = toSoapModels(models[i]);
068 }
069
070 return soapModels;
071 }
072
073 public static UserTrackerPathSoap[] toSoapModels(
074 List<UserTrackerPath> models) {
075 List<UserTrackerPathSoap> soapModels = new ArrayList<UserTrackerPathSoap>(models.size());
076
077 for (UserTrackerPath model : models) {
078 soapModels.add(toSoapModel(model));
079 }
080
081 return soapModels.toArray(new UserTrackerPathSoap[soapModels.size()]);
082 }
083
084 public UserTrackerPathSoap() {
085 }
086
087 public long getPrimaryKey() {
088 return _userTrackerPathId;
089 }
090
091 public void setPrimaryKey(long pk) {
092 setUserTrackerPathId(pk);
093 }
094
095 public long getMvccVersion() {
096 return _mvccVersion;
097 }
098
099 public void setMvccVersion(long mvccVersion) {
100 _mvccVersion = mvccVersion;
101 }
102
103 public long getUserTrackerPathId() {
104 return _userTrackerPathId;
105 }
106
107 public void setUserTrackerPathId(long userTrackerPathId) {
108 _userTrackerPathId = userTrackerPathId;
109 }
110
111 public long getUserTrackerId() {
112 return _userTrackerId;
113 }
114
115 public void setUserTrackerId(long userTrackerId) {
116 _userTrackerId = userTrackerId;
117 }
118
119 public String getPath() {
120 return _path;
121 }
122
123 public void setPath(String path) {
124 _path = path;
125 }
126
127 public Date getPathDate() {
128 return _pathDate;
129 }
130
131 public void setPathDate(Date pathDate) {
132 _pathDate = pathDate;
133 }
134
135 private long _mvccVersion;
136 private long _userTrackerPathId;
137 private long _userTrackerId;
138 private String _path;
139 private Date _pathDate;
140 }