package ca.etsmtl.applets.etsmobile.model; //---------------------------------------------------- // // Generated by www.easywsdl.com // Version: 2.0.0.4 // // Created by Quasar Development at 15-01-2014 // //--------------------------------------------------- import java.util.Hashtable; import org.ksoap2.serialization.AttributeContainer; import org.ksoap2.serialization.KvmSerializable; import org.ksoap2.serialization.PropertyInfo; import org.ksoap2.serialization.SoapObject; import ca.etsmtl.applets.etsmobile.http.soap.ExtendedSoapSerializationEnvelope; public class listeCoursHoraire extends DonneesRetournees implements KvmSerializable { public ArrayOfCoursHoraire listeCours = new ArrayOfCoursHoraire(); public listeCoursHoraire() { } public listeCoursHoraire(AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { super(inObj, envelope); if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("listeCours")) { SoapObject j = (SoapObject) soapObject.getProperty("listeCours"); listeCours = new ArrayOfCoursHoraire(j, envelope); } } @Override public Object getProperty(int propertyIndex) { int count = super.getPropertyCount(); if (propertyIndex == count + 0) { return listeCours; } return super.getProperty(propertyIndex); } @Override public int getPropertyCount() { return super.getPropertyCount() + 1; } @Override public void getPropertyInfo(int propertyIndex, @SuppressWarnings("rawtypes") Hashtable arg1, PropertyInfo info) { int count = super.getPropertyCount(); if (propertyIndex == count + 0) { info.type = PropertyInfo.VECTOR_CLASS; info.name = "listeCours"; info.namespace = "http://etsmtl.ca/"; } super.getPropertyInfo(propertyIndex, arg1, info); } @Override public void setProperty(int arg0, Object arg1) { } }