|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminBooking
public class AdminBooking
Booking object for the Admin App. A bookable product may be associated with one or more booking objects defining for example the people enrolled on a course.
Field Summary | |
---|---|
private AdminBookableProduct |
bookableProduct
Bookable Product - never persisted |
private java.lang.String |
custom1
custom field |
private java.lang.String |
custom2
custom field |
private java.lang.String |
custom3
custom field |
private int |
customerId
customerId |
private java.util.Date |
dateAdded
Date Added |
private java.lang.String |
firstName
first name |
private int |
id
id |
private java.lang.String |
lastName
last name |
private int |
orderId
orderId |
private AdminOrderProduct |
orderProduct
Order Product - never persisted |
private int |
orderProductId
orderProductId |
private int |
productId
product id |
private int |
quantity
quantity |
Constructor Summary | |
---|---|
AdminBooking()
Constructor |
|
AdminBooking(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Booking object from a Record object |
Method Summary | |
---|---|
AdminBookableProduct |
getBookableProduct()
|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
int |
getCustomerId()
|
java.util.Date |
getDateAdded()
|
java.lang.String |
getFirstName()
|
int |
getId()
|
java.lang.String |
getLastName()
|
int |
getOrderId()
|
AdminOrderProduct |
getOrderProduct()
|
int |
getOrderProductId()
|
int |
getProductId()
|
int |
getQuantity()
|
void |
setBookableProduct(AdminBookableProduct bookableProduct)
|
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustomerId(int customerId)
|
void |
setDateAdded(java.util.Date dateAdded)
|
void |
setFirstName(java.lang.String firstName)
|
void |
setId(int id)
|
void |
setLastName(java.lang.String lastName)
|
void |
setOrderId(int orderId)
|
void |
setOrderProduct(AdminOrderProduct orderProduct)
|
void |
setOrderProductId(int orderProductId)
|
void |
setProductId(int productId)
|
void |
setQuantity(int quantity)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int id
private int productId
private int quantity
private int customerId
private int orderId
private int orderProductId
private java.lang.String firstName
private java.lang.String lastName
private java.util.Date dateAdded
private AdminBookableProduct bookableProduct
private AdminOrderProduct orderProduct
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
Constructor Detail |
---|
public AdminBooking()
public AdminBooking(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column names
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in interface AdminObjectIf
toString
in class java.lang.Object
public int getId()
getId
in interface AdminObjectIf
public void setId(int id)
setId
in interface AdminObjectIf
id
- the id to setpublic int getQuantity()
public void setQuantity(int quantity)
quantity
- the quantity to setpublic int getCustomerId()
public void setCustomerId(int customerId)
customerId
- the customerId to setpublic int getOrderId()
public void setOrderId(int orderId)
orderId
- the orderId to setpublic int getOrderProductId()
public void setOrderProductId(int orderProductId)
orderProductId
- the orderProductId to setpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- the firstName to setpublic java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- the lastName to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic int getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic AdminBookableProduct getBookableProduct()
public void setBookableProduct(AdminBookableProduct bookableProduct)
bookableProduct
- the bookableProduct to setpublic AdminOrderProduct getOrderProduct()
public void setOrderProduct(AdminOrderProduct orderProduct)
orderProduct
- the orderProduct to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |