All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.transaction.NRWrapper

java.lang.Object
   |
   +----semper.txlayer.transaction.NRWrapper

public final class NRWrapper
extends Object
implements Serializable
Helper class to collect all evidence that is to be signed in one object so a signed Statement can be made of it.

See Also:
NRView, NRToken, NonRepudiation

Constructor Index

 o NRWrapper(String, String, String, Date, Date, NRView, String)
Constructor.

Method Index

 o exportToLineOfHTML()
Do some pretty printing...
 o exportToLinesOfHTML()
Do some pretty printing...
 o getBA()
 o getNrrornro()
 o getNRView()
 o getReceiver()
 o getReceiverTime()
 o getSender()
 o getSenderTime()
 o toString()
Do some pretty printing...

Constructors

 o NRWrapper
 public NRWrapper(String sender,
                  String receiver,
                  String BA,
                  Date senderTime,
                  Date receiverTime,
                  NRView nrview,
                  String nrrornro)
Constructor.

Parameters:
sender - The name of the person the proof should be made of.
receiver - The name of the person the proof should be made for.
BA - The name of the BA that called us thru the CL.
senderTime - The local time of the sender when the signature was made.
receiverTime - The local time of the receiver when the signature was made. I guess I should include a Signature of the receiver into this to prevent the sender from cheating.
nrview - The nrview that belongs to the signature.

Methods

 o getSender
 public String getSender()
Returns:
The sender inside us. May be null.
 o getReceiver
 public String getReceiver()
Returns:
The receiver inside us. May be null.
 o getBA
 public String getBA()
Returns:
The BA name inside us. May be null.
 o getNRView
 public NRView getNRView()
Returns:
The nrview inside us. May be null.
 o getSenderTime
 public Date getSenderTime()
Returns:
The local time of the sender when he signed the NRView.
 o getReceiverTime
 public Date getReceiverTime()
Returns:
The local time of the receiver when the NRView was signed.
 o getNrrornro
 public String getNrrornro()
Returns:
Either NRTransfer.NRR, NRTransfer.NRO or null.
 o toString
 public String toString()
Do some pretty printing... .

Returns:
One line of text.
Overrides:
toString in class Object
 o exportToLinesOfHTML
 public String exportToLinesOfHTML()
Do some pretty printing... .

Returns:
Several lines of HTML code.
 o exportToLineOfHTML
 public String exportToLineOfHTML()
Do some pretty printing... .

Returns:
One line of HTML code.

All Packages  Class Hierarchy  This Package  Previous  Next  Index