Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

list
Class ListBorrowers  view ListBorrowers download ListBorrowers.java

java.lang.Object
  extended bylist.ListBorrowers

public class ListBorrowers
extends java.lang.Object

Class ListBorrowers


Field Summary
private  java.lang.String FICHIER
           
private static ListBorrowers myListBorrowers
           
private  java.util.Vector theBorrowers
           
 
Constructor Summary
private ListBorrowers()
          Create the list
 
Method Summary
 boolean addNewBorrower(datas.Borrower theBorrower)
          Method addNewBorrower add a new borrower in the list.
 boolean deleteTheBorrower(datas.Borrower theBorrower)
          Method deleteTheBorrower delete the borrower from the list.
 datas.Borrower findTheBorrower(java.lang.String lastname)
          Method findTheBorrower find a borrower with his lastname.
static ListBorrowers getHandle()
          Method getHandle return the unique object listBorrowers.
 java.util.Vector getTheBorrowers()
          Method getTheBorrowers return the vector of borrowers.
 boolean readListFromDisk()
          Method readListFromDisk read the data of the listBorrower from the disk.
 boolean updateBorrower(java.lang.String oldLastname, java.lang.String newLastname, java.lang.String firstname, java.lang.String address, java.lang.String city, java.lang.String zipCode, java.lang.String state)
          Method updateBorrower update a borrower.
 boolean writeListToDisk()
          Method writeListToDisk write the data of the listBorrower to the disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FICHIER

private final java.lang.String FICHIER
See Also:
Constant Field Values

theBorrowers

private java.util.Vector theBorrowers

myListBorrowers

private static ListBorrowers myListBorrowers
Constructor Detail

ListBorrowers

private ListBorrowers()
Create the list

Method Detail

getHandle

public static ListBorrowers getHandle()
Method getHandle return the unique object listBorrowers.


getTheBorrowers

public java.util.Vector getTheBorrowers()
Method getTheBorrowers return the vector of borrowers.


findTheBorrower

public datas.Borrower findTheBorrower(java.lang.String lastname)
Method findTheBorrower find a borrower with his lastname.


addNewBorrower

public boolean addNewBorrower(datas.Borrower theBorrower)
Method addNewBorrower add a new borrower in the list.


deleteTheBorrower

public boolean deleteTheBorrower(datas.Borrower theBorrower)
Method deleteTheBorrower delete the borrower from the list.


updateBorrower

public boolean updateBorrower(java.lang.String oldLastname,
                              java.lang.String newLastname,
                              java.lang.String firstname,
                              java.lang.String address,
                              java.lang.String city,
                              java.lang.String zipCode,
                              java.lang.String state)
Method updateBorrower update a borrower.


readListFromDisk

public boolean readListFromDisk()
Method readListFromDisk read the data of the listBorrower from the disk.


writeListToDisk

public boolean writeListToDisk()
Method writeListToDisk write the data of the listBorrower to the disk.