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

Class semper.payment.PurseReference

java.lang.Object
   |
   +----semper.payment.PurseReference

public class PurseReference
extends Object
implements Streamable
A unified reference to purse object
Version:
$Revision: 1.9 $ $Date: 1996/08/19 18:21:27 $
Author:
N. Asokan (aso@zurich.ibm.com)
See Also:
Purse

Constructor Index

 o PurseReference()
Constructor without args
 o PurseReference(String)
 o PurseReference(String, Purse, AccessName)

Method Index

 o getHandle()
Get the archive handle of this purse.
 o getName()
Get the purse name.
 o getPurse()
Get a handle to this purse.
 o myStreamSize()
Implementing the Streamable interface
 o readObject(StreamInputInterface)
Implementing the Streamable interface
 o setPurseHandle(AccessName)
reset archive handle for this purse.
 o toString()
rewrite toString() to suit our needs
 o writeObject(StreamOutputInterface)
Implementing the Streamable interface

Constructors

 o PurseReference
  public PurseReference(String purse_name,
                        Purse purse_reference,
                        AccessName purse_handle)
Parameters:
purse_name - distinguished name of a purse
purse_reference - object reference to this purse
purse_handle - archive handle of this purse
 o PurseReference
  public PurseReference(String purse_name)
Parameters:
purse_name - distinguished name of a purse
 o PurseReference
  public PurseReference()
Constructor without args

Methods

 o toString
  public String toString()
rewrite toString() to suit our needs
Overrides:
toString in class Object
 o setPurseHandle
  public synchronized void setPurseHandle(AccessName handle) throws PaymentServiceException
reset archive handle for this purse.
Parameters:
s - handle new archive handle
Throws: PaymentServiceException
if the new status cannot be written to the archive.
 o getPurse
  public Purse getPurse() throws PaymentServiceException
Get a handle to this purse.
Returns:
purse object
Throws: PaymentServiceException
if purse retrieval from archive failed.
See Also:
Purse
 o getName
  public String getName()
Get the purse name.
Returns:
distinguished name of purse
 o getHandle
  public AccessName getHandle()
Get the archive handle of this purse.
Returns:
archive handle of purse
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Implementing the Streamable interface
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Implementing the Streamable interface

All Packages  Class Hierarchy  This Package  Previous  Next  Index