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.
-
birthdate
-
-
CGI
-
-
chrname
-
-
customer_no
-
-
installment
-
-
item
-
number of an item.
-
label
-
Label of an item.
-
nationality
-
-
phone
-
-
pos
-
Position of a single order in an formular (i.e.
-
prices
-
-
quantity
-
-
size
-
-
street
-
-
sum
-
The cost of items (same no.) in one row.
-
surname
-
-
TABLE
-
-
total_cost
-
The cost of the complete order.
-
total_quantity
-
-
town
-
-
wrong
-
-
OTTOrderList(BAReq)
-
-
OTTOrderList(String, int)
- Contstructs an OTTOrderList object for Otto.
-
decodeURL(String)
-
-
fillList(BAReq)
-
-
fillList1(BAReq)
-
-
fillList2(BAReq)
-
-
getBirthdate()
-
-
getChrname()
-
-
getCustomer_no()
-
-
getInstallment()
-
-
getNationality()
-
-
getPhone()
-
-
getStreet()
-
-
getSurname()
-
-
getTown()
-
-
numberOfEntries()
-
-
paramsCgi()
-
-
paramsTable()
-
-
totalCost()
-
TABLE
public final static int TABLE
CGI
public final static int CGI
surname
protected String surname
chrname
protected String chrname
customer_no
protected String customer_no
birthdate
protected Date birthdate
street
protected String street
town
protected String town
phone
protected String phone
nationality
protected String nationality
installment
protected int installment
item
protected String item[]
- number of an item.
size
protected String size[]
quantity
protected int quantity[]
pos
protected int pos[]
- Position of a single order in an formular (i.e. HTML).
label
protected String label[]
- Label of an item.
prices
protected float prices[]
sum
protected String sum[]
- The cost of items (same no.) in one row.
total_quantity
protected String total_quantity
total_cost
protected float total_cost
- The cost of the complete order.
wrong
protected String wrong[]
OTTOrderList
public OTTOrderList(String table,
int format) throws BAExcept
- Contstructs an OTTOrderList object for Otto.
- See Also:
- BAppOtto, BApp
OTTOrderList
public OTTOrderList(BAReq request) throws BAExcept
decodeURL
public String decodeURL(String as)
fillList
protected void fillList(BAReq request) throws BAExcept
fillList1
protected void fillList1(BAReq request) throws BAExcept
fillList2
protected void fillList2(BAReq request) throws BAExcept
getSurname
public String getSurname()
getChrname
public String getChrname()
getCustomer_no
public String getCustomer_no()
getBirthdate
public Date getBirthdate()
getStreet
public String getStreet()
getTown
public String getTown()
getPhone
public String getPhone()
getNationality
public String getNationality()
getInstallment
public int getInstallment()
- Returns:
- the installment the customer has chosen (1,3,6,9,12).
numberOfEntries
public int numberOfEntries()
- Returns:
- the number of the entries (valid rows in a form).
totalCost
public float totalCost()
- Returns:
- cost of the complete order.
paramsCgi
public String paramsCgi()
- Returns:
- all params of the order CGI-like.
(param1=val1¶m2=val2%...)
paramsTable
public String paramsTable()
All Packages Class Hierarchy This Package Previous Next Index