--- /dev/null
+/**
+ * Copyright (c) 2000-2012 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.pentila.entSavoie.userProperties.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 Amblard Mathieu - Barma Igor
+ * @generated
+ */
+public class UserMailSynchronisationSoap implements Serializable {
+ public static UserMailSynchronisationSoap toSoapModel(
+ UserMailSynchronisation model) {
+ UserMailSynchronisationSoap soapModel = new UserMailSynchronisationSoap();
+
+ soapModel.setUserId(model.getUserId());
+ soapModel.setLastSynchronisation(model.getLastSynchronisation());
+
+ return soapModel;
+ }
+
+ public static UserMailSynchronisationSoap[] toSoapModels(
+ UserMailSynchronisation[] models) {
+ UserMailSynchronisationSoap[] soapModels = new UserMailSynchronisationSoap[models.length];
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModel(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static UserMailSynchronisationSoap[][] toSoapModels(
+ UserMailSynchronisation[][] models) {
+ UserMailSynchronisationSoap[][] soapModels = null;
+
+ if (models.length > 0) {
+ soapModels = new UserMailSynchronisationSoap[models.length][models[0].length];
+ }
+ else {
+ soapModels = new UserMailSynchronisationSoap[0][0];
+ }
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModels(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static UserMailSynchronisationSoap[] toSoapModels(
+ List<UserMailSynchronisation> models) {
+ List<UserMailSynchronisationSoap> soapModels = new ArrayList<UserMailSynchronisationSoap>(models.size());
+
+ for (UserMailSynchronisation model : models) {
+ soapModels.add(toSoapModel(model));
+ }
+
+ return soapModels.toArray(new UserMailSynchronisationSoap[soapModels.size()]);
+ }
+
+ public UserMailSynchronisationSoap() {
+ }
+
+ public long getPrimaryKey() {
+ return _userId;
+ }
+
+ public void setPrimaryKey(long pk) {
+ setUserId(pk);
+ }
+
+ public long getUserId() {
+ return _userId;
+ }
+
+ public void setUserId(long userId) {
+ _userId = userId;
+ }
+
+ public Date getLastSynchronisation() {
+ return _lastSynchronisation;
+ }
+
+ public void setLastSynchronisation(Date lastSynchronisation) {
+ _lastSynchronisation = lastSynchronisation;
+ }
+
+ private long _userId;
+ private Date _lastSynchronisation;
+}
\ No newline at end of file