001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.model;
022:
023: import java.io.Serializable;
024:
025: import java.util.ArrayList;
026: import java.util.Date;
027: import java.util.List;
028:
029: /**
030: * <a href="UserTrackerPathSoap.java.html"><b><i>View Source</i></b></a>
031: *
032: * <p>
033: * ServiceBuilder generated this class. Modifications in this class will be
034: * overwritten the next time is generated.
035: * </p>
036: *
037: * <p>
038: * This class is used by
039: * <code>com.liferay.portal.service.http.UserTrackerPathServiceSoap</code>.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portal.service.http.UserTrackerPathServiceSoap
045: *
046: */
047: public class UserTrackerPathSoap implements Serializable {
048: public static UserTrackerPathSoap toSoapModel(UserTrackerPath model) {
049: UserTrackerPathSoap soapModel = new UserTrackerPathSoap();
050:
051: soapModel.setUserTrackerPathId(model.getUserTrackerPathId());
052: soapModel.setUserTrackerId(model.getUserTrackerId());
053: soapModel.setPath(model.getPath());
054: soapModel.setPathDate(model.getPathDate());
055:
056: return soapModel;
057: }
058:
059: public static UserTrackerPathSoap[] toSoapModels(List models) {
060: List soapModels = new ArrayList(models.size());
061:
062: for (int i = 0; i < models.size(); i++) {
063: UserTrackerPath model = (UserTrackerPath) models.get(i);
064:
065: soapModels.add(toSoapModel(model));
066: }
067:
068: return (UserTrackerPathSoap[]) soapModels
069: .toArray(new UserTrackerPathSoap[0]);
070: }
071:
072: public UserTrackerPathSoap() {
073: }
074:
075: public long getPrimaryKey() {
076: return _userTrackerPathId;
077: }
078:
079: public void setPrimaryKey(long pk) {
080: setUserTrackerPathId(pk);
081: }
082:
083: public long getUserTrackerPathId() {
084: return _userTrackerPathId;
085: }
086:
087: public void setUserTrackerPathId(long userTrackerPathId) {
088: _userTrackerPathId = userTrackerPathId;
089: }
090:
091: public long getUserTrackerId() {
092: return _userTrackerId;
093: }
094:
095: public void setUserTrackerId(long userTrackerId) {
096: _userTrackerId = userTrackerId;
097: }
098:
099: 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: }
|