|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectopBancaires.Client
public class Client
Field Summary | |
---|---|
private Attache |
attache
Field attache Référence de l'attaché client. |
private java.util.ArrayList<CompteAbstract> |
comptes
Field comptes Listes des comptes dont le client est titulaire. |
private static int |
lastId
Variable de classe. |
private java.lang.String |
nom
Nom du client. |
private int |
numId
Numéro identifiant du client. |
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 |
Field Detail |
---|
private static int lastId
private int numId
private java.lang.String nom
private java.util.ArrayList<CompteAbstract> comptes
comptes
private Attache attache
attache
Constructor Detail |
---|
public Client(java.lang.String nom, Attache attache)
nom
- attache
- Method Detail |
---|
public int getNumId()
public void setNumId(int numId)
numId
- the numId to setpublic java.lang.String getNom()
public void setNom(java.lang.String nom)
nom
- the nom to setpublic java.util.ArrayList<CompteAbstract> getComptes()
public Attache getAttache()
public void setAttache(Attache attache)
attache
- Attache - The attache to set.public static int getLastId()
public void addCompte(CompteAbstract compte)
compte
- public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |