com.liferay.portal.model.UserTrackerPathSoap Maven / Gradle / Ivy
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* This class is used by SOAP remote services.
*
* @author Brian Wing Shun Chan
* @generated
*/
public class UserTrackerPathSoap implements Serializable {
public static UserTrackerPathSoap toSoapModel(UserTrackerPath model) {
UserTrackerPathSoap soapModel = new UserTrackerPathSoap();
soapModel.setUserTrackerPathId(model.getUserTrackerPathId());
soapModel.setUserTrackerId(model.getUserTrackerId());
soapModel.setPath(model.getPath());
soapModel.setPathDate(model.getPathDate());
return soapModel;
}
public static UserTrackerPathSoap[] toSoapModels(UserTrackerPath[] models) {
UserTrackerPathSoap[] soapModels = new UserTrackerPathSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static UserTrackerPathSoap[][] toSoapModels(
UserTrackerPath[][] models) {
UserTrackerPathSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new UserTrackerPathSoap[models.length][models[0].length];
}
else {
soapModels = new UserTrackerPathSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static UserTrackerPathSoap[] toSoapModels(
List models) {
List soapModels = new ArrayList(models.size());
for (UserTrackerPath model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new UserTrackerPathSoap[soapModels.size()]);
}
public UserTrackerPathSoap() {
}
public long getPrimaryKey() {
return _userTrackerPathId;
}
public void setPrimaryKey(long pk) {
setUserTrackerPathId(pk);
}
public long getUserTrackerPathId() {
return _userTrackerPathId;
}
public void setUserTrackerPathId(long userTrackerPathId) {
_userTrackerPathId = userTrackerPathId;
}
public long getUserTrackerId() {
return _userTrackerId;
}
public void setUserTrackerId(long userTrackerId) {
_userTrackerId = userTrackerId;
}
public String getPath() {
return _path;
}
public void setPath(String path) {
_path = path;
}
public Date getPathDate() {
return _pathDate;
}
public void setPathDate(Date pathDate) {
_pathDate = pathDate;
}
private long _userTrackerPathId;
private long _userTrackerId;
private String _path;
private Date _pathDate;
}