public class AdminBookableProduct
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
bookingsMade
The number of bookings made bookingsMade
|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom2
custom field
|
private java.lang.String |
custom3
custom field
|
private java.lang.String |
custom4
custom field
|
private java.lang.String |
custom5
custom field
|
private java.util.Date |
endDate
End Date
|
private java.lang.String |
friday
day of week
|
private int |
maxNumBookings
The maximum number of bookings that can be made maxNumBookings
|
private java.lang.String |
monday
day of week
|
private int |
productId
product id
|
private java.lang.String |
saturday
day of week
|
private java.util.Date |
startDate
Start Date
|
private java.lang.String |
sunday
day of week
|
private java.lang.String |
thursday
day of week
|
private java.lang.String |
tuesday
day of week
|
private java.lang.String |
wednesday
day of week
|
Constructor and Description |
---|
AdminBookableProduct()
Constructor
|
AdminBookableProduct(com.workingdogs.village.Record vr,
com.konakart.db.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.Date |
getEndDate() |
java.lang.String |
getFriday() |
int |
getMaxNumBookings() |
java.lang.String |
getMonday() |
int |
getProductId() |
java.lang.String |
getSaturday() |
java.util.Date |
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.Date 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.Date 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() |
private int productId
private int maxNumBookings
private int bookingsMade
private java.util.Date startDate
private java.util.Date endDate
private java.lang.String monday
private java.lang.String tuesday
private java.lang.String wednesday
private java.lang.String thursday
private java.lang.String friday
private java.lang.String saturday
private java.lang.String sunday
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
public AdminBookableProduct()
public AdminBookableProduct(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 getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic int getMaxNumBookings()
public void setMaxNumBookings(int maxNumBookings)
maxNumBookings
- the maxNumBookings to setpublic int getBookingsMade()
public void setBookingsMade(int bookingsMade)
bookingsMade
- the bookingsMade to setpublic java.lang.String getMonday()
public void setMonday(java.lang.String monday)
monday
- the monday to setpublic java.lang.String getTuesday()
public void setTuesday(java.lang.String tuesday)
tuesday
- the tuesday to setpublic java.lang.String getWednesday()
public void setWednesday(java.lang.String wednesday)
wednesday
- the wednesday to setpublic java.lang.String getThursday()
public void setThursday(java.lang.String thursday)
thursday
- the thursday to setpublic java.lang.String getFriday()
public void setFriday(java.lang.String friday)
friday
- the friday to setpublic java.lang.String getSaturday()
public void setSaturday(java.lang.String saturday)
saturday
- the saturday to setpublic java.lang.String getSunday()
public void setSunday(java.lang.String sunday)
sunday
- the sunday 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 java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setpublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- the startDate to setpublic java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- the endDate to setCopyright © 2018 DS Data Systems UK Ltd.