--- /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.gestionServiceURL.model;
+
+import java.io.Serializable;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * This class is used by SOAP remote services.
+ *
+ * @author Barma Igor - AMBLARD Mathieu
+ * @generated
+ */
+public class ServiceURLSoap implements Serializable {
+ public static ServiceURLSoap toSoapModel(ServiceURL model) {
+ ServiceURLSoap soapModel = new ServiceURLSoap();
+
+ soapModel.setServiceURLId(model.getServiceURLId());
+ soapModel.setEtabId(model.getEtabId());
+ soapModel.setServiceURL(model.getServiceURL());
+ soapModel.setServiceType(model.getServiceType());
+
+ return soapModel;
+ }
+
+ public static ServiceURLSoap[] toSoapModels(ServiceURL[] models) {
+ ServiceURLSoap[] soapModels = new ServiceURLSoap[models.length];
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModel(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static ServiceURLSoap[][] toSoapModels(ServiceURL[][] models) {
+ ServiceURLSoap[][] soapModels = null;
+
+ if (models.length > 0) {
+ soapModels = new ServiceURLSoap[models.length][models[0].length];
+ }
+ else {
+ soapModels = new ServiceURLSoap[0][0];
+ }
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModels(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static ServiceURLSoap[] toSoapModels(List<ServiceURL> models) {
+ List<ServiceURLSoap> soapModels = new ArrayList<ServiceURLSoap>(models.size());
+
+ for (ServiceURL model : models) {
+ soapModels.add(toSoapModel(model));
+ }
+
+ return soapModels.toArray(new ServiceURLSoap[soapModels.size()]);
+ }
+
+ public ServiceURLSoap() {
+ }
+
+ public long getPrimaryKey() {
+ return _serviceURLId;
+ }
+
+ public void setPrimaryKey(long pk) {
+ setServiceURLId(pk);
+ }
+
+ public long getServiceURLId() {
+ return _serviceURLId;
+ }
+
+ public void setServiceURLId(long serviceURLId) {
+ _serviceURLId = serviceURLId;
+ }
+
+ public long getEtabId() {
+ return _etabId;
+ }
+
+ public void setEtabId(long etabId) {
+ _etabId = etabId;
+ }
+
+ public String getServiceURL() {
+ return _serviceURL;
+ }
+
+ public void setServiceURL(String serviceURL) {
+ _serviceURL = serviceURL;
+ }
+
+ public String getServiceType() {
+ return _serviceType;
+ }
+
+ public void setServiceType(String serviceType) {
+ _serviceType = serviceType;
+ }
+
+ private long _serviceURLId;
+ private long _etabId;
+ private String _serviceURL;
+ private String _serviceType;
+}
\ No newline at end of file