Class semper.payment.generic.genericTransactionRecord
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.payment.generic.genericTransactionRecord

java.lang.Object
   |
   +----semper.payment.PaymentTransactionRecord
           |
           +----semper.payment.generic.genericTransactionRecord

public class genericTransactionRecord
extends PaymentTransactionRecord
implements Streamable
Repository of information related to a genericTransaction A genericTransactionRecord is the record of purse transactions in the geneirc payment system.
Version:
$Revision: 1.3 $ $Date: 1997/01/06 08:59:07 $
Author:
N. Asokan (aso@zurich.ibm.com)
See Also:
PaymentTransaction, PaymentTransactionRecord

Constructor Index

 o genericTransactionRecord()
 o genericTransactionRecord(AccessName)

Method Index

 o getEvidence()
Get the evidence object
 o myStreamSize()
Implementing the Streamable interface
 o readObject(StreamInputInterface)
Implementing the Streamable interface
 o setAmount(Amount)
set the amount
 o setPeer(PaymentEntity)
set the peer
 o setState(PaymentTransactionState)
set the state of the transaction
 o setType(ServiceType)
Set the service type
 o toString()
Re-write the toString() method for pretty printing
 o writeObject(StreamOutputInterface)
Implementing the Streamable interface

Constructors

 o genericTransactionRecord
  public genericTransactionRecord()
 o genericTransactionRecord
  public genericTransactionRecord(AccessName handle)

Methods

 o setType
  protected synchronized void setType(ServiceType type)
Set the service type
Overrides:
setType in class PaymentTransactionRecord
See Also:
setType
 o setPeer
  protected synchronized void setPeer(PaymentEntity peer)
set the peer
Overrides:
setPeer in class PaymentTransactionRecord
See Also:
setPeer
 o setAmount
  protected synchronized void setAmount(Amount amount)
set the amount
Overrides:
setAmount in class PaymentTransactionRecord
See Also:
setAmount
 o setState
  protected synchronized void setState(PaymentTransactionState state)
set the state of the transaction
Overrides:
setState in class PaymentTransactionRecord
See Also:
setState
 o getEvidence
  public genericEvidence getEvidence()
Get the evidence object
Returns:
evidence object
 o toString
  public String toString()
Re-write the toString() method for pretty printing
Overrides:
toString in class PaymentTransactionRecord
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
Overrides:
writeObject in class PaymentTransactionRecord
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
Overrides:
readObject in class PaymentTransactionRecord
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Implementing the Streamable interface
Overrides:
myStreamSize in class PaymentTransactionRecord

All Packages  Class Hierarchy  This Package  Previous  Next  Index