public class BookableProduct extends java.lang.Object implements BookableProductIf
| Constructor and Description |
|---|
BookableProduct()
Constructor
|
BookableProduct(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Bookable Product object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBookingsMade() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.util.Calendar |
getEndDate() |
java.lang.String |
getFriday() |
int |
getMaxNumBookings() |
java.lang.String |
getMonday() |
int |
getProductId() |
java.lang.String |
getSaturday() |
java.util.Calendar |
getStartDate() |
java.lang.String |
getSunday() |
java.lang.String |
getThursday() |
java.lang.String |
getTuesday() |
java.lang.String |
getWednesday() |
void |
setBookingsMade(int bookingsMade) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setEndDate(java.util.Calendar endDate) |
void |
setFriday(java.lang.String friday) |
void |
setMaxNumBookings(int maxNumBookings) |
void |
setMonday(java.lang.String monday) |
void |
setProductId(int productId) |
void |
setSaturday(java.lang.String saturday) |
void |
setStartDate(java.util.Calendar startDate) |
void |
setSunday(java.lang.String sunday) |
void |
setThursday(java.lang.String thursday) |
void |
setTuesday(java.lang.String tuesday) |
void |
setWednesday(java.lang.String wednesday) |
java.lang.String |
toString() |
public BookableProduct()
public BookableProduct(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 int getProductId()
getProductId in interface BookableProductIfpublic void setProductId(int productId)
setProductId in interface BookableProductIfproductId - the productId to setpublic int getMaxNumBookings()
getMaxNumBookings in interface BookableProductIfpublic void setMaxNumBookings(int maxNumBookings)
setMaxNumBookings in interface BookableProductIfmaxNumBookings - the maxNumBookings to setpublic int getBookingsMade()
getBookingsMade in interface BookableProductIfpublic void setBookingsMade(int bookingsMade)
setBookingsMade in interface BookableProductIfbookingsMade - the bookingsMade to setpublic java.util.Calendar getStartDate()
getStartDate in interface BookableProductIfpublic void setStartDate(java.util.Calendar startDate)
setStartDate in interface BookableProductIfstartDate - the startDate to setpublic java.util.Calendar getEndDate()
getEndDate in interface BookableProductIfpublic void setEndDate(java.util.Calendar endDate)
setEndDate in interface BookableProductIfendDate - the endDate to setpublic java.lang.String getMonday()
getMonday in interface BookableProductIfpublic void setMonday(java.lang.String monday)
setMonday in interface BookableProductIfmonday - the monday to setpublic java.lang.String getTuesday()
getTuesday in interface BookableProductIfpublic void setTuesday(java.lang.String tuesday)
setTuesday in interface BookableProductIftuesday - the tuesday to setpublic java.lang.String getWednesday()
getWednesday in interface BookableProductIfpublic void setWednesday(java.lang.String wednesday)
setWednesday in interface BookableProductIfwednesday - the wednesday to setpublic java.lang.String getThursday()
getThursday in interface BookableProductIfpublic void setThursday(java.lang.String thursday)
setThursday in interface BookableProductIfthursday - the thursday to setpublic java.lang.String getFriday()
getFriday in interface BookableProductIfpublic void setFriday(java.lang.String friday)
setFriday in interface BookableProductIffriday - the friday to setpublic java.lang.String getSaturday()
getSaturday in interface BookableProductIfpublic void setSaturday(java.lang.String saturday)
setSaturday in interface BookableProductIfsaturday - the saturday to setpublic java.lang.String getSunday()
getSunday in interface BookableProductIfpublic void setSunday(java.lang.String sunday)
setSunday in interface BookableProductIfsunday - the sunday to setpublic java.lang.String getCustom1()
getCustom1 in interface BookableProductIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface BookableProductIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface BookableProductIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface BookableProductIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface BookableProductIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface BookableProductIfcustom3 - the custom3 to setpublic java.lang.String getCustom4()
getCustom4 in interface BookableProductIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface BookableProductIfcustom4 - the custom4 to setpublic java.lang.String getCustom5()
getCustom5 in interface BookableProductIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface BookableProductIfcustom5 - the custom5 to setCopyright © 2018 DS Data Systems UK Ltd.