Class semper.transfer.TransferData
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.transfer.TransferData

java.lang.Object
   |
   +----semper.transfer.TransferData

public class TransferData
extends Object
implements Streamable
This class implements the data structure used in all CL services; the real format and structure of the data, (in an offer or order) are not known by the Commerce Layer; it is highly depended on the Business-Application.
Version:
$Revision: 1.4 $ $Date: 1996/08/28 07:41:10 $
Author:
Ulrich Einig ([email protected])

Constructor Index

 o TransferData()
Constructor of the class CLContentData, without any parameters only a empty object will be initialized.
 o TransferData(String)
Constructor of the class CLContentData, with the data parameter.
 o TransferData(String, char)
Constructor of the class CLContentData, with the data parameter.

Method Index

 o copy()
Clones a TransferData object
 o get_currency()
returns the internal value of the currency variable.
 o get_data()
returns the internal value of the data variable.
 o get_payment_method()
returns the internal value of the payment_method variable.
 o get_value()
returns the internal value of the value variable.
 o myStreamSize()
Returns the size of the datastream
 o readObject(StreamInputInterface)
Makes a transfer data object from the datastream
 o set_currency(String)
Sets the internal variable currency.
 o set_data(String)
Sets the internal variable data
 o set_payment_method(String)
Sets the internal variable payment_method
 o set_value(float)
Sets the internal variable value for the payment ammount
 o writeObject(StreamOutputInterface)
Makes a datastream from the transfer data object

Constructors

 o TransferData
  public TransferData()
Constructor of the class CLContentData, without any parameters only a empty object will be initialized. long description with pre/post-conditions etc follows here
 o TransferData
  public TransferData(String data)
Constructor of the class CLContentData, with the data parameter. long description with pre/post-conditions etc follows here
Parameters:
data - sets the internal variable data
 o TransferData
  public TransferData(String data,
                      char line_separator)
Constructor of the class CLContentData, with the data parameter. long description with pre/post-conditions etc follows here
Parameters:
data - contains the information in a string variable; the value is stored in an internal variable
line_separator - defines a char which will interpreted as newline character within the data string.

Methods

 o get_data
  public String get_data()
returns the internal value of the data variable. long description with pre/post-conditions etc follows here
Returns:
returns the internal value of the data variable
 o get_currency
  public String get_currency()
returns the internal value of the currency variable. long description with pre/post-conditions etc follows here
Returns:
returns the internal value of the currency variable
 o get_payment_method
  public String get_payment_method()
returns the internal value of the payment_method variable. long description with pre/post-conditions etc follows here
Returns:
returns the internal value of the payment_method variable
 o get_value
  public float get_value()
returns the internal value of the value variable. long description with pre/post-conditions etc follows here
Returns:
returns the internal value of the value variable
 o set_data
  public void set_data(String data)
Sets the internal variable data
Parameters:
data - string which contains the data to be sent by SEMPER. The data will also be shown on TINGUIN. long description with pre/post-conditions etc follows here
 o set_currency
  public void set_currency(String currency)
Sets the internal variable currency.
Parameters:
currency - string which contains the current currency for paying something long description with pre/post-conditions etc follows here
 o set_payment_method
  public void set_payment_method(String payment)
Sets the internal variable payment_method
Parameters:
payment - defines the payment method, like E-Cash, iKP, etc. long description with pre/post-conditions etc follows here
 o set_value
  public void set_value(float value)
Sets the internal variable value for the payment ammount
Parameters:
value - defines the amount value of the payment long description with pre/post-conditions etc follows here
 o copy
  public TransferData copy()
Clones a TransferData object
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Makes a datastream from the transfer data object
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Makes a transfer data object from the datastream
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Returns the size of the datastream

All Packages  Class Hierarchy  This Package  Previous  Next  Index