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])
-
TransferData()
- Constructor of the class CLContentData, without any parameters only a
empty object will be initialized.
-
TransferData(String)
- Constructor of the class CLContentData, with the data parameter.
-
TransferData(String, char)
- Constructor of the class CLContentData, with the data parameter.
-
copy()
- Clones a TransferData object
-
get_currency()
- returns the internal value of the currency variable.
-
get_data()
- returns the internal value of the data variable.
-
get_payment_method()
- returns the internal value of the payment_method variable.
-
get_value()
- returns the internal value of the value variable.
-
myStreamSize()
- Returns the size of the datastream
-
readObject(StreamInputInterface)
- Makes a transfer data object from the datastream
-
set_currency(String)
- Sets the internal variable currency.
-
set_data(String)
- Sets the internal variable data
-
set_payment_method(String)
- Sets the internal variable payment_method
-
set_value(float)
- Sets the internal variable value for the payment ammount
-
writeObject(StreamOutputInterface)
- Makes a datastream from the transfer data object
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
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
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.
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
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
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
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
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
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
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
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
copy
public TransferData copy()
- Clones a TransferData object
writeObject
public void writeObject(StreamOutputInterface s) throws StreamIOException
- Makes a datastream from the transfer data object
readObject
public void readObject(StreamInputInterface s) throws StreamIOException
- Makes a transfer data object from the datastream
myStreamSize
public int myStreamSize() throws StreamIOException
- Returns the size of the datastream
All Packages Class Hierarchy This Package Previous Next Index