| Constructor and Description |
|---|
Booking()
Constructor
|
Booking(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Booking object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
int |
getCustomerId() |
java.util.Calendar |
getDateAdded() |
java.util.Calendar |
getDateLastModified() |
java.lang.String |
getFirstName() |
int |
getId() |
java.lang.String |
getLastName() |
int |
getOrderId() |
int |
getOrderProductId() |
int |
getProductId() |
int |
getQuantity() |
int |
getState()
State of the booking.
|
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.Calendar dateAdded) |
void |
setDateLastModified(java.util.Calendar dateLastModified) |
void |
setFirstName(java.lang.String firstName) |
void |
setId(int id) |
void |
setLastName(java.lang.String lastName) |
void |
setOrderId(int orderId) |
void |
setOrderProductId(int orderProductId) |
void |
setProductId(int productId) |
void |
setQuantity(int quantity) |
void |
setState(int state)
State of the booking.
|
java.lang.String |
toString() |
public Booking()
public Booking(com.workingdogs.village.Record vr,
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.Objectpublic void setId(int id)
public int getQuantity()
getQuantity in interface BookingIfpublic void setQuantity(int quantity)
setQuantity in interface BookingIfquantity - the quantity to setpublic int getCustomerId()
getCustomerId in interface BookingIfpublic void setCustomerId(int customerId)
setCustomerId in interface BookingIfcustomerId - the customerId to setpublic int getOrderId()
getOrderId in interface BookingIfpublic void setOrderId(int orderId)
setOrderId in interface BookingIforderId - the orderId to setpublic int getOrderProductId()
getOrderProductId in interface BookingIfpublic void setOrderProductId(int orderProductId)
setOrderProductId in interface BookingIforderProductId - the orderProductId to setpublic java.lang.String getFirstName()
getFirstName in interface BookingIfpublic void setFirstName(java.lang.String firstName)
setFirstName in interface BookingIffirstName - the firstName to setpublic java.lang.String getLastName()
getLastName in interface BookingIfpublic void setLastName(java.lang.String lastName)
setLastName in interface BookingIflastName - the lastName to setpublic java.lang.String getCustom1()
getCustom1 in interface BookingIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface BookingIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface BookingIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface BookingIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface BookingIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface BookingIfcustom3 - the custom3 to setpublic int getProductId()
getProductId in interface BookingIfpublic void setProductId(int productId)
setProductId in interface BookingIfproductId - the productId to setpublic java.util.Calendar getDateAdded()
getDateAdded in interface BookingIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface BookingIfdateAdded - the dateAdded to setpublic int getState()
public void setState(int state)
public java.util.Calendar getDateLastModified()
getDateLastModified in interface BookingIfpublic void setDateLastModified(java.util.Calendar dateLastModified)
setDateLastModified in interface BookingIfdateLastModified - the dateLastModified to setCopyright © 2018 DS Data Systems UK Ltd.