/** * Copyright (c) 2000-present 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.kernel.model; import aQute.bnd.annotation.ProviderType; 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 */ @ProviderType public class UserTrackerPathSoap implements Serializable { public static UserTrackerPathSoap toSoapModel(UserTrackerPath model) { UserTrackerPathSoap soapModel = new UserTrackerPathSoap(); soapModel.setMvccVersion(model.getMvccVersion()); soapModel.setUserTrackerPathId(model.getUserTrackerPathId()); soapModel.setCompanyId(model.getCompanyId()); 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<UserTrackerPath> models) { List<UserTrackerPathSoap> soapModels = new ArrayList<UserTrackerPathSoap>(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 getMvccVersion() { return _mvccVersion; } public void setMvccVersion(long mvccVersion) { _mvccVersion = mvccVersion; } public long getUserTrackerPathId() { return _userTrackerPathId; } public void setUserTrackerPathId(long userTrackerPathId) { _userTrackerPathId = userTrackerPathId; } public long getCompanyId() { return _companyId; } public void setCompanyId(long companyId) { _companyId = companyId; } 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 _mvccVersion; private long _userTrackerPathId; private long _companyId; private long _userTrackerId; private String _path; private Date _pathDate; }