Links a calendar event to the product that is sold to attend it, such as a seat at a training course. This is what makes a scheduled event purchasable: the event supplies the date and place, the product supplies the price and ordering options. A calendar event has at most one of these, so looking one up by event returns a single row.
Group: Database Entities
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| createdDate | Date | Date and time the product was linked to the event. |
| event | CalEvent | The calendar event being sold, which holds the date, time and location. Never null. |
| id | long | Database identifier for this link, assigned when it is first saved. |
| product | Product | The product people buy to attend the event, which carries the price and any ordering options. Never null. |
Methods
getId()
Returns: long
Database identifier for this link, assigned when it is first saved.
getEvent()
Returns: CalEvent
The calendar event being sold, which holds the date, time and location. Never null.
getProduct()
Returns: Product
The product people buy to attend the event, which carries the price and any ordering options. Never null.
getCreatedDate()
Returns: Date
Date and time the product was linked to the event.