|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--psman.data.TPartner
The transaction partner.
Constructor Summary | |
TPartner(int id,
java.lang.String name,
psman.data.PublicKey key,
psman.data.Person irl)
Constructor, only for existing transaction partners. |
|
TPartner(java.lang.String name,
psman.data.PublicKey key,
psman.data.Person irl)
Constructor, only for new transaction partners. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(psman.data.TPartner data)
Check whether this transaction partner is equal to another one. |
int |
getID()
Return the database ID of this transaction partner. |
java.lang.String |
getName()
Return the name of this transaction partner. |
psman.data.Person |
getPerson()
Return, who is this transaction partner in real life. |
psman.data.PublicKey |
getPublicKey()
Return the public key of this transaction partner. |
int |
hashCode()
|
void |
setID(int id)
Set the database ID of this transaction partner. |
void |
setPublicKey(psman.data.PublicKey pubKey)
Set the public key of this transaction partner. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TPartner(int id, java.lang.String name, psman.data.PublicKey key, psman.data.Person irl)
id
- the database ID of this transaction partnername
- the name of this transaction partnerkey
- the public key of this transaction partnerirl
- the person of this transaction partner in real life or nullpublic TPartner(java.lang.String name, psman.data.PublicKey key, psman.data.Person irl)
name
- the name of this transaction partnerkey
- the public key of this transaction partnerirl
- the person of this transaction partner in real life or nullMethod Detail |
public int getID()
public java.lang.String getName()
public psman.data.PublicKey getPublicKey()
public psman.data.Person getPerson()
public void setID(int id)
id
- the database ID of this transaction partnerpublic void setPublicKey(psman.data.PublicKey pubKey)
pubKey
- the PublicKey of this transaction partnerpublic boolean equals(psman.data.TPartner data)
true
if they are equal, false
otherwisepublic 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 |