--- /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.cdt.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 Cedric Lecarpentier
+ * @generated
+ */
+public class CDTSessionSoap implements Serializable {
+ public static CDTSessionSoap toSoapModel(CDTSession model) {
+ CDTSessionSoap soapModel = new CDTSessionSoap();
+
+ soapModel.setSessionId(model.getSessionId());
+ soapModel.setSessionStart(model.getSessionStart());
+ soapModel.setSessionEnd(model.getSessionEnd());
+ soapModel.setWeekId(model.getWeekId());
+ soapModel.setPublish(model.getPublish());
+ soapModel.setTitle(model.getTitle());
+ soapModel.setDescription(model.getDescription());
+ soapModel.setRoom(model.getRoom());
+ soapModel.setType(model.getType());
+ soapModel.setSubjectId(model.getSubjectId());
+ soapModel.setSchoolId(model.getSchoolId());
+ soapModel.setGroupId(model.getGroupId());
+ soapModel.setCancelled(model.getCancelled());
+ soapModel.setPreviousSession(model.getPreviousSession());
+ soapModel.setNextSession(model.getNextSession());
+ soapModel.setSessionGroupId(model.getSessionGroupId());
+ soapModel.setIsManual(model.getIsManual());
+ soapModel.setHasAttachFile(model.getHasAttachFile());
+ soapModel.setVisa(model.getVisa());
+ soapModel.setDeleted(model.getDeleted());
+ soapModel.setDeletedBy(model.getDeletedBy());
+ soapModel.setDeleteDate(model.getDeleteDate());
+ soapModel.setParentClassName(model.getParentClassName());
+
+ return soapModel;
+ }
+
+ public static CDTSessionSoap[] toSoapModels(CDTSession[] models) {
+ CDTSessionSoap[] soapModels = new CDTSessionSoap[models.length];
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModel(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static CDTSessionSoap[][] toSoapModels(CDTSession[][] models) {
+ CDTSessionSoap[][] soapModels = null;
+
+ if (models.length > 0) {
+ soapModels = new CDTSessionSoap[models.length][models[0].length];
+ }
+ else {
+ soapModels = new CDTSessionSoap[0][0];
+ }
+
+ for (int i = 0; i < models.length; i++) {
+ soapModels[i] = toSoapModels(models[i]);
+ }
+
+ return soapModels;
+ }
+
+ public static CDTSessionSoap[] toSoapModels(List<CDTSession> models) {
+ List<CDTSessionSoap> soapModels = new ArrayList<CDTSessionSoap>(models.size());
+
+ for (CDTSession model : models) {
+ soapModels.add(toSoapModel(model));
+ }
+
+ return soapModels.toArray(new CDTSessionSoap[soapModels.size()]);
+ }
+
+ public CDTSessionSoap() {
+ }
+
+ public long getPrimaryKey() {
+ return _sessionId;
+ }
+
+ public void setPrimaryKey(long pk) {
+ setSessionId(pk);
+ }
+
+ public long getSessionId() {
+ return _sessionId;
+ }
+
+ public void setSessionId(long sessionId) {
+ _sessionId = sessionId;
+ }
+
+ public Date getSessionStart() {
+ return _sessionStart;
+ }
+
+ public void setSessionStart(Date sessionStart) {
+ _sessionStart = sessionStart;
+ }
+
+ public Date getSessionEnd() {
+ return _sessionEnd;
+ }
+
+ public void setSessionEnd(Date sessionEnd) {
+ _sessionEnd = sessionEnd;
+ }
+
+ public long getWeekId() {
+ return _weekId;
+ }
+
+ public void setWeekId(long weekId) {
+ _weekId = weekId;
+ }
+
+ public boolean getPublish() {
+ return _publish;
+ }
+
+ public boolean isPublish() {
+ return _publish;
+ }
+
+ public void setPublish(boolean publish) {
+ _publish = publish;
+ }
+
+ public String getTitle() {
+ return _title;
+ }
+
+ public void setTitle(String title) {
+ _title = title;
+ }
+
+ public String getDescription() {
+ return _description;
+ }
+
+ public void setDescription(String description) {
+ _description = description;
+ }
+
+ public String getRoom() {
+ return _room;
+ }
+
+ public void setRoom(String room) {
+ _room = room;
+ }
+
+ public int getType() {
+ return _type;
+ }
+
+ public void setType(int type) {
+ _type = type;
+ }
+
+ public long getSubjectId() {
+ return _subjectId;
+ }
+
+ public void setSubjectId(long subjectId) {
+ _subjectId = subjectId;
+ }
+
+ public long getSchoolId() {
+ return _schoolId;
+ }
+
+ public void setSchoolId(long schoolId) {
+ _schoolId = schoolId;
+ }
+
+ public long getGroupId() {
+ return _groupId;
+ }
+
+ public void setGroupId(long groupId) {
+ _groupId = groupId;
+ }
+
+ public boolean getCancelled() {
+ return _cancelled;
+ }
+
+ public boolean isCancelled() {
+ return _cancelled;
+ }
+
+ public void setCancelled(boolean cancelled) {
+ _cancelled = cancelled;
+ }
+
+ public long getPreviousSession() {
+ return _previousSession;
+ }
+
+ public void setPreviousSession(long previousSession) {
+ _previousSession = previousSession;
+ }
+
+ public long getNextSession() {
+ return _nextSession;
+ }
+
+ public void setNextSession(long nextSession) {
+ _nextSession = nextSession;
+ }
+
+ public long getSessionGroupId() {
+ return _sessionGroupId;
+ }
+
+ public void setSessionGroupId(long sessionGroupId) {
+ _sessionGroupId = sessionGroupId;
+ }
+
+ public boolean getIsManual() {
+ return _isManual;
+ }
+
+ public boolean isIsManual() {
+ return _isManual;
+ }
+
+ public void setIsManual(boolean isManual) {
+ _isManual = isManual;
+ }
+
+ public boolean getHasAttachFile() {
+ return _hasAttachFile;
+ }
+
+ public boolean isHasAttachFile() {
+ return _hasAttachFile;
+ }
+
+ public void setHasAttachFile(boolean hasAttachFile) {
+ _hasAttachFile = hasAttachFile;
+ }
+
+ public long getVisa() {
+ return _visa;
+ }
+
+ public void setVisa(long visa) {
+ _visa = visa;
+ }
+
+ public boolean getDeleted() {
+ return _deleted;
+ }
+
+ public boolean isDeleted() {
+ return _deleted;
+ }
+
+ public void setDeleted(boolean deleted) {
+ _deleted = deleted;
+ }
+
+ public long getDeletedBy() {
+ return _deletedBy;
+ }
+
+ public void setDeletedBy(long deletedBy) {
+ _deletedBy = deletedBy;
+ }
+
+ public Date getDeleteDate() {
+ return _deleteDate;
+ }
+
+ public void setDeleteDate(Date deleteDate) {
+ _deleteDate = deleteDate;
+ }
+
+ public String getParentClassName() {
+ return _parentClassName;
+ }
+
+ public void setParentClassName(String parentClassName) {
+ _parentClassName = parentClassName;
+ }
+
+ private long _sessionId;
+ private Date _sessionStart;
+ private Date _sessionEnd;
+ private long _weekId;
+ private boolean _publish;
+ private String _title;
+ private String _description;
+ private String _room;
+ private int _type;
+ private long _subjectId;
+ private long _schoolId;
+ private long _groupId;
+ private boolean _cancelled;
+ private long _previousSession;
+ private long _nextSession;
+ private long _sessionGroupId;
+ private boolean _isManual;
+ private boolean _hasAttachFile;
+ private long _visa;
+ private boolean _deleted;
+ private long _deletedBy;
+ private Date _deleteDate;
+ private String _parentClassName;
+}
\ No newline at end of file