modeles
Class ListeContact

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

public class ListeContact
extends java.util.ArrayList<Contact>

Classe representant une liste de contact utilisee en parallele de l'affichage dans la liste de contact

Author:
erik helsens
See Also:
Serialized Form

Constructor Summary
ListeContact(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()
           
 
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, toString
 
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

ListeContact

public ListeContact(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