Class semper.commlayer.CLContentData
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commlayer.CLContentData

java.lang.Object
   |
   +----semper.commlayer.CLContentData

public class CLContentData
extends Object
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 highly depends on the Business-Application.
Version:
$Revision: 1.5 $ $Date: 1997/04/29 12:54:43 $
Author:
Ulrich Einig (einig@heidelbg.ibm.com), Karsten Riede (riede@heidelbg.ibm.com)

Constructor Index

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

Method Index

 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 getSAttr()
Returns the internal value of the security attributes variable.
 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 setSAttr(Security)
Sets the internal value of the security attributes variable.

Constructors

 o CLContentData
  public CLContentData()
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 CLContentData
  public CLContentData(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 CLContentData
  public CLContentData(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 (if 'null' it means the payment method will be negotiation be done by payment manager)
 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 getSAttr
  public Security getSAttr()
Returns the internal value of the security attributes variable. long description with pre/post-conditions etc follows here
Returns:
returns nothing.
 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. (if set to 'null' (default case), it means the payment method will be negotiation be done by payment manager) 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 setSAttr
  public void setSAttr(Security sattr)
Sets the internal value of the security attributes variable. long description with pre/post-conditions etc follows here
Returns:
returns the internal value of the currency variable

All Packages  Class Hierarchy  This Package  Previous  Next  Index