/**
* Classe metier "Client" by shark - copyleft 2006 (tm) - all right reserved
**/
/**
* Cette classe contient toutes les données d'un client
*/
public class Client {
// l'identifiant du client (default: 0)
private int idClient=0;
// le nom du client (default: null)
private String nomClient=null;
// le constructeur transforme cette classe en superclasse
public Client() {
super();
}
/**
* cette methode affecte le numero du client
**/
public void setClient(int id) { this.idClient=id; }
public void setClient(String nom) { this.nomClient=nom; }
/**
* cette methode retourne le numero du client (default: 0 = aucun client)
*/
public int getIdClient() { return this.idClient; }
public String getNomClient() { return this.nomClient; }
}