001    /**
002     * Copyright (c) 2000-2013 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    import java.io.Serializable;
018    
019    import java.util.ArrayList;
020    import java.util.Date;
021    import java.util.List;
022    
023    /**
024     * This class is used by SOAP remote services.
025     *
026     * @author    Brian Wing Shun Chan
027     * @generated
028     */
029    public class UserTrackerPathSoap implements Serializable {
030            public static UserTrackerPathSoap toSoapModel(UserTrackerPath model) {
031                    UserTrackerPathSoap soapModel = new UserTrackerPathSoap();
032    
033                    soapModel.setUserTrackerPathId(model.getUserTrackerPathId());
034                    soapModel.setUserTrackerId(model.getUserTrackerId());
035                    soapModel.setPath(model.getPath());
036                    soapModel.setPathDate(model.getPathDate());
037    
038                    return soapModel;
039            }
040    
041            public static UserTrackerPathSoap[] toSoapModels(UserTrackerPath[] models) {
042                    UserTrackerPathSoap[] soapModels = new UserTrackerPathSoap[models.length];
043    
044                    for (int i = 0; i < models.length; i++) {
045                            soapModels[i] = toSoapModel(models[i]);
046                    }
047    
048                    return soapModels;
049            }
050    
051            public static UserTrackerPathSoap[][] toSoapModels(
052                    UserTrackerPath[][] models) {
053                    UserTrackerPathSoap[][] soapModels = null;
054    
055                    if (models.length > 0) {
056                            soapModels = new UserTrackerPathSoap[models.length][models[0].length];
057                    }
058                    else {
059                            soapModels = new UserTrackerPathSoap[0][0];
060                    }
061    
062                    for (int i = 0; i < models.length; i++) {
063                            soapModels[i] = toSoapModels(models[i]);
064                    }
065    
066                    return soapModels;
067            }
068    
069            public static UserTrackerPathSoap[] toSoapModels(
070                    List<UserTrackerPath> models) {
071                    List<UserTrackerPathSoap> soapModels = new ArrayList<UserTrackerPathSoap>(models.size());
072    
073                    for (UserTrackerPath model : models) {
074                            soapModels.add(toSoapModel(model));
075                    }
076    
077                    return soapModels.toArray(new UserTrackerPathSoap[soapModels.size()]);
078            }
079    
080            public UserTrackerPathSoap() {
081            }
082    
083            public long getPrimaryKey() {
084                    return _userTrackerPathId;
085            }
086    
087            public void setPrimaryKey(long pk) {
088                    setUserTrackerPathId(pk);
089            }
090    
091            public long getUserTrackerPathId() {
092                    return _userTrackerPathId;
093            }
094    
095            public void setUserTrackerPathId(long userTrackerPathId) {
096                    _userTrackerPathId = userTrackerPathId;
097            }
098    
099            public long getUserTrackerId() {
100                    return _userTrackerId;
101            }
102    
103            public void setUserTrackerId(long userTrackerId) {
104                    _userTrackerId = userTrackerId;
105            }
106    
107            public String getPath() {
108                    return _path;
109            }
110    
111            public void setPath(String path) {
112                    _path = path;
113            }
114    
115            public Date getPathDate() {
116                    return _pathDate;
117            }
118    
119            public void setPathDate(Date pathDate) {
120                    _pathDate = pathDate;
121            }
122    
123            private long _userTrackerPathId;
124            private long _userTrackerId;
125            private String _path;
126            private Date _pathDate;
127    }