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 ([email protected]), Karsten Riede ([email protected])
-
CLContentData()
- Constructor of the class CLContentData, without any parameters only a
empty object will be initialized.
-
CLContentData(String)
- Constructor of the class CLContentData, with the data parameter.
-
CLContentData(String, char)
- Constructor of the class CLContentData, with the data parameter.
-
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.
-
getSAttr()
- Returns the internal value of the security attributes variable.
-
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
-
setSAttr(Security)
- Sets the internal value of the security attributes variable.
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
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
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.
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 (if 'null' it means the payment method will be
negotiation be done by payment manager)
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
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.
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. (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
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
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