|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectContacts
public class Contacts
Creates a contact.
| Constructor Summary | |
|---|---|
Contacts(java.lang.String name,
java.lang.String phone,
java.lang.String email,
java.lang.String cPhone)
Normal Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getcPhone()
Gets the cell phone number of the contact. |
java.lang.String |
getEmail()
Gets the Email of the contact. |
java.lang.String |
getName()
Gets the name of the contact. |
java.lang.String |
getPhone()
Gets the phone of the contact. |
void |
setcPhone(java.lang.String cPhone)
Sets the cell phone number of the contact. |
void |
setEmail(java.lang.String email)
Sets the email of the contact |
void |
setName(java.lang.String name)
Sets the name of the contact |
void |
setPhone(java.lang.String phone)
Sets the phone of the contact. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Contacts(java.lang.String name,
java.lang.String phone,
java.lang.String email,
java.lang.String cPhone)
name - phone - email - cPhone - | Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.String getPhone()
public void setPhone(java.lang.String phone)
phone - public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - public java.lang.String getcPhone()
public void setcPhone(java.lang.String cPhone)
cPhone - 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 | ||||||||