opBancaires
Class Client

java.lang.Object
  extended by opBancaires.Client

public class Client
extends java.lang.Object


Constructor Summary
Client(java.lang.String nom, Attache attache)
          Constructeur.
 
Method Summary
 void addCompte(CompteAbstract compte)
          Ajoute un compte dont le client est titulaire.
 Attache getAttache()
           
 java.util.ArrayList<CompteAbstract> getComptes()
           
static int getLastId()
           
 java.lang.String getNom()
           
 int getNumId()
           
 void setAttache(Attache attache)
           
 void setNom(java.lang.String nom)
           
 void setNumId(int numId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Client

public Client(java.lang.String nom,
              Attache attache)
Constructeur.

Parameters:
nom -
attache -
Method Detail

getNumId

public int getNumId()
Returns:
the numId

setNumId

public void setNumId(int numId)
Parameters:
numId - the numId to set

getNom

public java.lang.String getNom()
Returns:
the nom

setNom

public void setNom(java.lang.String nom)
Parameters:
nom - the nom to set

getComptes

public java.util.ArrayList<CompteAbstract> getComptes()
Returns:
the comptes

getAttache

public Attache getAttache()
Returns:
Attache - Returns the attache.

setAttache

public void setAttache(Attache attache)
Parameters:
attache - Attache - The attache to set.

getLastId

public static int getLastId()
Returns:
int - Returns the lastId.

addCompte

public void addCompte(CompteAbstract compte)
Ajoute un compte dont le client est titulaire.

Parameters:
compte -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object