Package jadex.bdi.planlib.watchdog
Class ContactData
- java.lang.Object
-
- jadex.bdi.planlib.watchdog.ContactData
-
public class ContactData extends java.lang.ObjectContact information data bean.
-
-
Constructor Summary
Constructors Constructor Description ContactData()Constructor for ContactData.ContactData(java.lang.String name, java.lang.String email, java.lang.String phone, java.lang.String icq)Create a new contact.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEmail()Get the email.java.lang.StringgetIcq()Getter for icqjava.lang.StringgetName()Get the name.java.lang.StringgetPhone()Get the phone no.voidsetEmail(java.lang.String email)Set the email.voidsetIcq(java.lang.String icq)Setter for icq.voidsetName(java.lang.String name)Set the name.voidsetPhone(java.lang.String phone)Set the phone no.java.lang.StringtoString()Returns a string representation of the object.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
name- The name.
-
getEmail
public java.lang.String getEmail()
Get the email.- Returns:
- The email.
-
setEmail
public void setEmail(java.lang.String email)
Set the email.- Parameters:
email- The email.
-
getPhone
public java.lang.String getPhone()
Get the phone no.- Returns:
- The phone no.
-
setPhone
public void setPhone(java.lang.String phone)
Set the phone no.- Parameters:
phone- The phone no.
-
getIcq
public java.lang.String getIcq()
Getter for icq- Returns:
- Returns icq.
-
setIcq
public void setIcq(java.lang.String icq)
Setter for icq.- Parameters:
icq- The ContactData.java value to set
-
toString
public java.lang.String toString()
Returns a string representation of the object. In general, thetoStringmethod 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.toString method for class
Objectreturns 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:- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of the object.
-
-