|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--psman.data.Transaction
The transaction, a single communication.
Constructor Summary | |
Transaction(java.util.Date begin,
java.util.Date end,
psman.data.Pseudonym pseudonym,
psman.data.TPartner partner,
psman.data.Role role)
Constructor, only for new transactions. |
|
Transaction(int id,
java.util.Date begin,
java.util.Date end,
psman.data.Pseudonym pseudonym,
psman.data.TPartner partner,
psman.data.Role role)
Constructor, only for existing transactions. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(psman.data.Transaction data)
|
int |
getID()
Return the database ID of this transaction. |
psman.data.TPartner |
getPartner()
Return the transaction partner of this transaction. |
psman.data.Pseudonym |
getPseudonym()
Return the pseudonym used in this transaction. |
psman.data.Role |
getRole()
Return the role of this transaction. |
java.util.Date |
getStartTime()
Return the start time of this transaction. |
java.util.Date |
getStopTime()
Return the stop time of this transaction. |
int |
hashCode()
|
void |
setID(int id)
Set the database ID of this transaction |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Transaction(int id, java.util.Date begin, java.util.Date end, psman.data.Pseudonym pseudonym, psman.data.TPartner partner, psman.data.Role role)
id
- the database ID of this transactionbegin
- the start time of this transactionend
- the end time of this transactionpseudonym
- the pseudonym used in this transactionpartner
- the transaction partnerrole
- the role to which this transaction belongspublic Transaction(java.util.Date begin, java.util.Date end, psman.data.Pseudonym pseudonym, psman.data.TPartner partner, psman.data.Role role)
begin
- the start time of this transactionend
- the end time of this transactionpseudonym
- the pseudonym used in this transactionpartner
- the transaction partnerrole
- the role to which this transaction belongsMethod Detail |
public int getID()
public java.util.Date getStartTime()
public java.util.Date getStopTime()
public psman.data.Pseudonym getPseudonym()
public psman.data.TPartner getPartner()
public psman.data.Role getRole()
public void setID(int id)
id
- the database ID of this transactionpublic boolean equals(psman.data.Transaction 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 |