Class semper.BApp.BusinessClnt.OTTOrderList
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.BApp.BusinessClnt.OTTOrderList

java.lang.Object
   |
   +----semper.BApp.BusinessClnt.OTTOrderList

public class OTTOrderList
extends Object
This is the class to store a list of items (numbers), optionally size and how much of them are ordered. Additionally it keeps information about the costumer and after checking by Otto the price of the product and how it is labelled.

Variable Index

 o birthdate
 o CGI
 o chrname
 o customer_no
 o installment
 o item
number of an item.
 o label
Label of an item.
 o nationality
 o phone
 o pos
Position of a single order in an formular (i.e.
 o price
 o quantity
 o size
 o street
 o sum
The cost of items (same no.) in one row.
 o surname
 o TABLE
 o total_cost
The cost of the complete order.
 o total_quantity
 o town
 o wrong

Constructor Index

 o OTTOrderList(BAReq)
 o OTTOrderList(String, int)
Contstructs an OTTOrderList object for Otto.

Method Index

 o decodeURL(String)
 o fillList(BAReq)
 o fillList1(BAReq)
 o fillList2(BAReq)
 o getBirthdate()
 o getChrname()
 o getCustomer_no()
 o getInstallment()
 o getNationality()
 o getPhone()
 o getStreet()
 o getSurname()
 o getTown()
 o numberOfEntries()
 o paramsCgi()
 o paramsTable()
 o totalCost()

Variables

 o TABLE
  public final static int TABLE
 o CGI
  public final static int CGI
 o surname
  protected String surname
 o chrname
  protected String chrname
 o customer_no
  protected String customer_no
 o birthdate
  protected Date birthdate
 o street
  protected String street
 o town
  protected String town
 o phone
  protected String phone
 o nationality
  protected String nationality
 o installment
  protected int installment
 o item
  protected String item[]
number of an item.
 o size
  protected String size[]
 o quantity
  protected int quantity[]
 o pos
  protected int pos[]
Position of a single order in an formular (i.e. HTML).
 o label
  protected String label[]
Label of an item.
 o price
  protected String price[]
 o sum
  protected String sum[]
The cost of items (same no.) in one row.
 o total_quantity
  protected String total_quantity
 o total_cost
  protected String total_cost
The cost of the complete order.
 o wrong
  protected String wrong[]

Constructors

 o OTTOrderList
  public OTTOrderList(String table,
                      int format) throws BAExcept
Contstructs an OTTOrderList object for Otto.
See Also:
BAppOtto, BApp
 o OTTOrderList
  public OTTOrderList(BAReq request) throws BAExcept

Methods

 o decodeURL
  public String decodeURL(String as)
 o fillList
  protected void fillList(BAReq request) throws BAExcept
 o fillList1
  protected void fillList1(BAReq request) throws BAExcept
 o fillList2
  protected void fillList2(BAReq request) throws BAExcept
 o getSurname
  public String getSurname()
 o getChrname
  public String getChrname()
 o getCustomer_no
  public String getCustomer_no()
 o getBirthdate
  public Date getBirthdate()
 o getStreet
  public String getStreet()
 o getTown
  public String getTown()
 o getPhone
  public String getPhone()
 o getNationality
  public String getNationality()
 o getInstallment
  public int getInstallment()
Returns:
the installment the customer has chosen (1,3,6,9,12).
 o numberOfEntries
  public int numberOfEntries()
Returns:
the number of the entries (valid rows in a form).
 o totalCost
  public String totalCost()
Returns:
cost of the complete order.
 o paramsCgi
  public String paramsCgi()
Returns:
all params of the order CGI-like. (param1=val1¶m2=val2%...)
 o paramsTable
  public String paramsTable()

All Packages  Class Hierarchy  This Package  Previous  Next  Index