|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--psman.data.Recipient
The recipient of data fields.
Constructor Summary | |
Recipient(int id,
java.lang.String name)
Constructor, only for existing recipients. |
|
Recipient(java.lang.String name)
Constructor, only for new recipients. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(psman.data.Recipient data)
|
int |
getID()
Return the database ID of this recipient. |
java.lang.String |
getName()
Return the name of this recipient. |
int |
hashCode()
|
void |
setID(int id)
Set the database ID of this recipient. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Recipient(int id, java.lang.String name)
id
- the database ID of this recipientname
- the name value of this recipientpublic Recipient(java.lang.String name)
name
- the name of this recipientMethod Detail |
public int getID()
public java.lang.String getName()
public void setID(int id)
id
- the database ID of this recipientpublic boolean equals(psman.data.Recipient data)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 |