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.Object
public void setId(int id)
public int getQuantity()
getQuantity
in interface BookingIf
public void setQuantity(int quantity)
setQuantity
in interface BookingIf
quantity
- the quantity to setpublic int getCustomerId()
getCustomerId
in interface BookingIf
public void setCustomerId(int customerId)
setCustomerId
in interface BookingIf
customerId
- the customerId to setpublic int getOrderId()
getOrderId
in interface BookingIf
public void setOrderId(int orderId)
setOrderId
in interface BookingIf
orderId
- the orderId to setpublic int getOrderProductId()
getOrderProductId
in interface BookingIf
public void setOrderProductId(int orderProductId)
setOrderProductId
in interface BookingIf
orderProductId
- the orderProductId to setpublic java.lang.String getFirstName()
getFirstName
in interface BookingIf
public void setFirstName(java.lang.String firstName)
setFirstName
in interface BookingIf
firstName
- the firstName to setpublic java.lang.String getLastName()
getLastName
in interface BookingIf
public void setLastName(java.lang.String lastName)
setLastName
in interface BookingIf
lastName
- the lastName to setpublic java.lang.String getCustom1()
getCustom1
in interface BookingIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface BookingIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface BookingIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface BookingIf
custom2
- the custom2 to setpublic java.lang.String getCustom3()
getCustom3
in interface BookingIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface BookingIf
custom3
- the custom3 to setpublic int getProductId()
getProductId
in interface BookingIf
public void setProductId(int productId)
setProductId
in interface BookingIf
productId
- the productId to setpublic java.util.Calendar getDateAdded()
getDateAdded
in interface BookingIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface BookingIf
dateAdded
- the dateAdded to setpublic int getState()
public void setState(int state)
public java.util.Calendar getDateLastModified()
getDateLastModified
in interface BookingIf
public void setDateLastModified(java.util.Calendar dateLastModified)
setDateLastModified
in interface BookingIf
dateLastModified
- the dateLastModified to setCopyright © 2018 DS Data Systems UK Ltd.