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.Object
public int getProductId()
getProductId
in interface BookableProductIf
public void setProductId(int productId)
setProductId
in interface BookableProductIf
productId
- the productId to setpublic int getMaxNumBookings()
getMaxNumBookings
in interface BookableProductIf
public void setMaxNumBookings(int maxNumBookings)
setMaxNumBookings
in interface BookableProductIf
maxNumBookings
- the maxNumBookings to setpublic int getBookingsMade()
getBookingsMade
in interface BookableProductIf
public void setBookingsMade(int bookingsMade)
setBookingsMade
in interface BookableProductIf
bookingsMade
- the bookingsMade to setpublic java.util.Calendar getStartDate()
getStartDate
in interface BookableProductIf
public void setStartDate(java.util.Calendar startDate)
setStartDate
in interface BookableProductIf
startDate
- the startDate to setpublic java.util.Calendar getEndDate()
getEndDate
in interface BookableProductIf
public void setEndDate(java.util.Calendar endDate)
setEndDate
in interface BookableProductIf
endDate
- the endDate to setpublic java.lang.String getMonday()
getMonday
in interface BookableProductIf
public void setMonday(java.lang.String monday)
setMonday
in interface BookableProductIf
monday
- the monday to setpublic java.lang.String getTuesday()
getTuesday
in interface BookableProductIf
public void setTuesday(java.lang.String tuesday)
setTuesday
in interface BookableProductIf
tuesday
- the tuesday to setpublic java.lang.String getWednesday()
getWednesday
in interface BookableProductIf
public void setWednesday(java.lang.String wednesday)
setWednesday
in interface BookableProductIf
wednesday
- the wednesday to setpublic java.lang.String getThursday()
getThursday
in interface BookableProductIf
public void setThursday(java.lang.String thursday)
setThursday
in interface BookableProductIf
thursday
- the thursday to setpublic java.lang.String getFriday()
getFriday
in interface BookableProductIf
public void setFriday(java.lang.String friday)
setFriday
in interface BookableProductIf
friday
- the friday to setpublic java.lang.String getSaturday()
getSaturday
in interface BookableProductIf
public void setSaturday(java.lang.String saturday)
setSaturday
in interface BookableProductIf
saturday
- the saturday to setpublic java.lang.String getSunday()
getSunday
in interface BookableProductIf
public void setSunday(java.lang.String sunday)
setSunday
in interface BookableProductIf
sunday
- the sunday to setpublic java.lang.String getCustom1()
getCustom1
in interface BookableProductIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface BookableProductIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface BookableProductIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface BookableProductIf
custom2
- the custom2 to setpublic java.lang.String getCustom3()
getCustom3
in interface BookableProductIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface BookableProductIf
custom3
- the custom3 to setpublic java.lang.String getCustom4()
getCustom4
in interface BookableProductIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface BookableProductIf
custom4
- the custom4 to setpublic java.lang.String getCustom5()
getCustom5
in interface BookableProductIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface BookableProductIf
custom5
- the custom5 to setCopyright © 2018 DS Data Systems UK Ltd.