|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.modules.tickets.business.Contact
public class Contact
This object store informations about a partner's contact
| Field Summary | |
|---|---|
static Comparator<Contact> |
COMPARATOR_USING_ID
comparator of contact, using ID parameter |
| Constructor Summary | |
|---|---|
Contact()
default constructor |
|
Contact(int id,
String name,
String phoneNumber,
String mail)
Constructor of the contact |
|
| Method Summary | |
|---|---|
boolean |
equals(Object c)
To know if two contact are the same |
int |
getId()
get the id of the contact |
String |
getMail()
get the adress mail of the contact |
String |
getName()
get the name of the contact |
String |
getPhoneNumber()
get the phone number of the contact |
void |
setId(int id)
Set the phone number |
void |
setMail(String mail)
Set the phone number |
void |
setName(String name)
Set the phone number |
void |
setPhoneNumber(String phoneNumber)
Set the phone number |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Comparator<Contact> COMPARATOR_USING_ID
| Constructor Detail |
|---|
public Contact(int id,
String name,
String phoneNumber,
String mail)
id - the contact idname - the contact namephoneNumber - the contact phone numbermail - the contact mailpublic Contact()
| Method Detail |
|---|
public int getId()
public void setId(int id)
id - public String getName()
public void setName(String name)
name - the contact namepublic String getMail()
public void setMail(String mail)
mail - the contact adress mailpublic String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber - the contact phone numberpublic boolean equals(Object c)
equals in class Objectc - the other contact
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||