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 the Listing.
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 Details

  • Method Details

    • getId

      public P getId()
    • setId

      public void setId(P id)
    • getStartDate

      public OffsetDateTime getStartDate()
    • setStartDate

      public void setStartDate(OffsetDateTime startDate)
    • getListings

      public List<L> getListings()
    • setListings

      public void setListings(List<L> listings)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object