public class AdminBooking
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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.util.Date |
dateLastModified
Last modified date
|
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
|
private int |
state
State of the booking.
|
Constructor and Description |
---|
AdminBooking()
Constructor
|
AdminBooking(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Booking object from a Record object
|
Modifier and Type | Method and Description |
---|---|
AdminBookableProduct |
getBookableProduct() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
int |
getCustomerId() |
java.util.Date |
getDateAdded() |
java.util.Date |
getDateLastModified() |
java.lang.String |
getFirstName() |
int |
getId() |
java.lang.String |
getLastName() |
int |
getOrderId() |
AdminOrderProduct |
getOrderProduct() |
int |
getOrderProductId() |
int |
getProductId() |
int |
getQuantity() |
int |
getState()
State of the booking.
|
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 |
setDateLastModified(java.util.Date dateLastModified) |
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) |
void |
setState(int state)
State of the booking.
|
java.lang.String |
toString() |
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 java.util.Date dateLastModified
private int state
private AdminBookableProduct bookableProduct
private AdminOrderProduct orderProduct
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
public AdminBooking()
public AdminBooking(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public void setId(int id)
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 setpublic java.util.Date getDateLastModified()
public void setDateLastModified(java.util.Date dateLastModified)
dateLastModified
- the dateLastModified to setpublic int getState()
public void setState(int state)
state
- the state to setCopyright © 2018 DS Data Systems UK Ltd.