Class Event<P extends Serializable,I extends Serializable,R extends Serializable,L extends Listing<I,R>>
java.lang.Object
org.oxerr.ticket.inventory.support.Event<P,I,R,L>
- Type Parameters:
P
- the type of the event ID.I
- the type of the listing ID.R
- the type of the request to create listing.L
- the type of theListing
.
- All Implemented Interfaces:
Serializable
public class Event<P extends Serializable,I extends Serializable,R extends Serializable,L extends Listing<I,R>>
extends Object
implements Serializable
The event.
- See Also:
-
Constructor Summary
ConstructorDescriptionEvent()
Event
(P id, OffsetDateTime startDate) Event
(P id, OffsetDateTime startDate, List<L> listings) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
hashCode()
void
void
setListings
(List<L> listings) void
setStartDate
(OffsetDateTime startDate)