modeles
Class ListeEvenement

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Evenement>
              extended by modeles.ListeEvenement
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Evenement>, java.util.Collection<Evenement>, java.util.List<Evenement>, java.util.RandomAccess

public class ListeEvenement
extends java.util.ArrayList<Evenement>

See Also:
Serialized Form

Constructor Summary
ListeEvenement(org.w3c.dom.Document doc)
          Constructeur a partir d'un document DOM qui le resultat de la requete sur les contacts
 
Method Summary
static java.lang.String generateNewID()
          Genere un nouvel id a partir de l'id MAX actuel
static int getID_MAX()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ListeEvenement

public ListeEvenement(org.w3c.dom.Document doc)
               throws org.w3c.dom.DOMException,
                      org.xml.sax.SAXException,
                      java.io.IOException,
                      java.lang.NumberFormatException
Constructeur a partir d'un document DOM qui le resultat de la requete sur les contacts

Parameters:
doc - le document DOM
Throws:
org.w3c.dom.DOMException
org.xml.sax.SAXException
java.io.IOException
java.lang.NumberFormatException
Method Detail

getID_MAX

public static int getID_MAX()

generateNewID

public static java.lang.String generateNewID()
Genere un nouvel id a partir de l'id MAX actuel

Returns:
un nouvel id a partir de l'id MAX actuel

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<Evenement>