--- /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.communityInfos.model;
+
+import java.io.Serializable;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * This class is used by SOAP remote services.
+ *
+ * @author Barma Igor
+ * @generated
+ */
+public class GroupInfosSoap implements Serializable {
+ public static GroupInfosSoap toSoapModel(GroupInfos model) {
+ GroupInfosSoap soapModel = new GroupInfosSoap();
+
+ soapModel.setGroupId(model.getGroupId());
+ soapModel.setDefaultGroupView(model.getDefaultGroupView());
+
+ return soapModel;
+ }
+
+ public static GroupInfosSoap[] toSoapModels(GroupInfos[] models) {
+ GroupInfosSoap[] soapModels = new GroupInfosSoap[models.length];
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModel(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static GroupInfosSoap[][] toSoapModels(GroupInfos[][] models) {
+ GroupInfosSoap[][] soapModels = null;
+
+ if (models.length > 0) {
+ soapModels = new GroupInfosSoap[models.length][models[0].length];
+ }
+ else {
+ soapModels = new GroupInfosSoap[0][0];
+ }
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModels(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static GroupInfosSoap[] toSoapModels(List<GroupInfos> models) {
+ List<GroupInfosSoap> soapModels = new ArrayList<GroupInfosSoap>(models.size());
+
+ for (GroupInfos model : models) {
+ soapModels.add(toSoapModel(model));
+ }
+
+ return soapModels.toArray(new GroupInfosSoap[soapModels.size()]);
+ }
+
+ public GroupInfosSoap() {
+ }
+
+ public long getPrimaryKey() {
+ return _groupId;
+ }
+
+ public void setPrimaryKey(long pk) {
+ setGroupId(pk);
+ }
+
+ public long getGroupId() {
+ return _groupId;
+ }
+
+ public void setGroupId(long groupId) {
+ _groupId = groupId;
+ }
+
+ public String getDefaultGroupView() {
+ return _defaultGroupView;
+ }
+
+ public void setDefaultGroupView(String defaultGroupView) {
+ _defaultGroupView = defaultGroupView;
+ }
+
+ private long _groupId;
+ private String _defaultGroupView;
+}
\ No newline at end of file