|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.bdi.planlib.watchdog.ContactData
public class ContactData
Contact information data bean.
| Field Summary | |
|---|---|
protected String |
email
The email address. |
protected String |
icq
The icq no. |
protected String |
name
The name. |
protected String |
phone
The mobile phone no. |
| Constructor Summary | |
|---|---|
ContactData()
Constructor for ContactData. |
|
ContactData(String name,
String email,
String phone,
String icq)
Create a new contact. |
|
| Method Summary | |
|---|---|
String |
getEmail()
Get the email. |
String |
getIcq()
Getter for icq |
String |
getName()
Get the name. |
String |
getPhone()
Get the phone no. |
void |
setEmail(String email)
Set the email. |
void |
setIcq(String icq)
Setter for icq. |
void |
setName(String name)
Set the name. |
void |
setPhone(String phone)
Set the phone no. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String email
protected String phone
protected String icq
| Constructor Detail |
|---|
public ContactData()
public ContactData(String name,
String email,
String phone,
String icq)
name - email - The email.phone - The phone.icq - | Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name.public String getEmail()
public void setEmail(String email)
email - The email.public String getPhone()
public void setPhone(String phone)
phone - The phone no.public String getIcq()
public void setIcq(String icq)
icq - The ContactData.java value to setpublic String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||