Question: Implement the following UML class diagram in JDO. This is an abridged model of ticket-reservation database -Venue is an abstract class. -A non-complex venue is

Implement the following UML class diagram in JDO. This is an abridged model of ticket-reservation databaseImplement the following UML class diagram in JDO. This is an abridged

-Venue is an abstract class.

-A non-complex venue is modeled as a single venue that is not a subVenues part of any complex venue.

-Each p Price covers all events in eventsOfPriceEvent(p); however, p is the price of each seat in seatsSeat(p) singly.

-Each t Ticket is a valid ticket for all events in eventsOfTicketEvent(t).

-It holds that seat (price seats), i.e., tTicket sSeat [seat(t, s) (price seats)(t, s)].

-It holds that eventsOfTicket = (price eventsOfPrice), i.e., tTicket eEvent [eventsOfTicket(t, e) (price eventsOfPrice)(t, e)].

-The Java classes should use the same class/attribute/relation names used in the above class diagram.

-All inverse relations must be implemented by class fields of suitable names/types.

erformer name string performs eventsOfTicket icket IDcode (key): string vent payment name string date string ayment amount float method : string price payments eentsOfPrice Price amount: float holds ustomerAccount name string email: string seat enue name string location string seats 0..1 subVenues 01 ComplexVenue eat label string Powered ByVisual Paradigm Community Edition seats

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!