473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Class Diagram - Require clarification & Guidence

Wonthaggi Civic Theatre 'WCT' Case Study

The town of Wonthaggi has a theatre which is owned and
operated by the local council, it is called the
Wonthaggi Civic Theatre (WCT) and a wide variety of
shows are presented there, for example plays, music
and talks. The management has decided to build a
computer system for WCT to handle ticket sales, keep
track of the work done by staff and record all shows
presented in the WCT. Details

D1. The system is to record each performance of each
show and manage the sale of tickets.

D2. For each show the principal participants (actors,
singers, etc. ) are to be recorded (for publicity
purposes and for historical interest).

D3. The Theatre seats are individually identified
using a letter (for each row) and a number (for the
each seat within a row). The seats are divided into
groups for ticket pricing.

D4. Salespersons are employed to handle ticket sales
including bookings, payments and issuing of tickets.

D5. Customers can book seats before the performance,
either by phone or at the Ticket Office (which is
located inside the theatre).

D6. At the time of booking, Customers must indicate
which seating group (and hence price) they want. The
Salesperson will choose the actual seats (at the time
of booking) taking into account the customer's
preferences for specific seats, if practicable.

D7. Customers must pay for their seats at the time of
booking. Payments can be made in cash or by credit
card.

D8. Specific credit cards can be banned from future
use by the council's accounting department.

D9. Customers who buy their tickets at the theatre's
Ticket Office are given their tickets at once.
Customers who book by phone have to collect their
tickets from the Ticket Office (usually they do this
just before the show).

D10. Attendants are employed to guide customers to
their seats, check their tickets, etc.

D11. For each performance an appropriate number of
Salespersons, Attendants and Cleaners have shifts
organised by the theatre manager.

D12. Shifts for salespersons are organised so that
during normal business hours a salesperson will always
be on duty.

D13. The local council intends to publicise and
promote the town by publishing information and
statistics about the performers and performances
featured at the theatre.
Sample Data (Transactions) etc.

T1. The letter and the number of each seat is entered.
(Ie, A1 to A29, B1 to B29, C1 to C29, etc., etc., S1
to S29, T1 to T29).

T2.1 A group of seats is defined (for the top price
seats), it consists of seats A14, A15, A16 and B14,
B15, B16. This is given the price code 'TP'
and description 'Top Price'.

T2.2 Another group of seats is defined (A10 to A13,
A17 to A20, B10 to B13, B17 to B20, C10 to C20, D10,
to D20) for price code 'HP' and description 'High
Price'.

T2.3 A group of seats with code 'B' is defined (it
consists of all the seats near the back) and given
description 'Back 5 rows' (i.e. rows P,Q,R,S,T).

T2.4 The remaining seats constitute a group with code
'R' and description 'Regular'.
T3.1 Charley Cross (of 33 South Street, Wonthaggi)
works at the WCT as a Cleaner.

T3.2 Alice Adams (of 11 North Street, Wonthaggi) works
as an Attendant.

T3.3 Bev Brown (of 22 East Street, Wonthaggi) works a
Cleaner and as an Attendant.

T3.4 Stan Sykes (of 44 West Street, Wonthaggi) works
as a Salesperson.

T3.5 Synthia Smith (of 45 West Street, Wonthaggi)
works as a Salesperson.

T4.1 A show described as 'Music of Tchaikovsky played
by the Sydney Symphony Orchestra' is planned with
performances on Saturday, 22 May 2004, at 3pm and the
following day, Sunday at 8pm. The show is given
the code 'SSO-4M' and a brief title of 'Tchaikovsky
Concert'. This show comes from the 'Sydney Eggheads'
company (contact phone number 02 8811 9911).

T4.2 For show 'Tchaikovsky Concert', a celebrity
performer will be Roger Woodward on the piano.

T5.1 Staff shifts are organised for the show SSO-4M as
follows. On the Saturday, Charley will work from noon
to 2pm (and from 6pm to 8pm). On the Saturday, Bev
will do cleaning from noon to 2pm and from
5pm to 8pm and do Attendant work from 2pm to 5pm.
On the Saturday, Stan and Synthia will be on duty from
2pm to 5pm. On the Sunday, . etc., etc.

T5.2 Shifts during business hours include .
On the Friday, 14/5/2004, Stan and Synthia will be on
duty from 1pm
to 5pm.

T6.1 For show SSO-4M, at the Sunday performance, seats
in group TP will
sell at $99 for an adult.

T6.2 For show SSO-4M, at the Saturday performance,
seats in group TP will
sell at $88 for an adult.

T6.3 For show SSO-4M, at the Saturday performance,
seats in group HP
will sell at $77 for an adult.

T6.4 For show SSO-4M, at the Saturday performance,
seats in group B will
sell at $22 for an adult.

T6.5 For show SSO-4M, at the Saturday performance,
seats in group R will
sell at $33 for an adult.

T6.6 The ticket price for children and for concession
card holders is half of
the adult ticket price.

T7.1 At 2:30pm on Friday, 14 May 2004, a customer at
the ticket office
purchases two adult tickets for the Saturday
performance of the
Tchaikovsky Concert. She chooses 'Regular' seats J13,
J14. She is
served by Stan and pays in cash.

T7.2 At 2:40pm on Friday, 14 May 2004, a customer at
the ticket office
purchases three tickets for the Saturday performance
of the
Tchaikovsky Concert, one Adult ticket, one Child
ticket and one
Concession ticket. Being familiar with the layout of
the theatre, she asks
for 'Regular' seats K10, K11 and K12 (which are
available). She is
served by Synthia and pays with a 'Mistress' credit
card (details: Card
Owner Judith Jones, Number 333-111-777, Expiry Date
5/5/2005).

T7.3 At 2:41pm on Friday, 14 May 2004, a customer
makes a phone booking
for three adult tickets, in Group HP, for the Saturday
performance of the
Tchaikovsky Concert. He is served by Stan and asks for
tickets in the
'High Price' group and pays with a 'Visor' credit card
(details: Owner George Grant, Number 4444-22-333,
Expiry Date 7/7/2007), seats D18,
D19 and D20 are assigned to him.

T8.1 At 2:45 pm on 22/5/2004 (15 minutes before the
show is due to start), a
customer at the Ticket Office asks for his reserved
tickets, quoting the
name of George Grant. He is served by Synthia, who
issues the
tickets.

T9.1 Another show is arranged, it is a play, described
as 'The Australian
Family - an enquiry into moral values' there will be
one performance
only, on Thursday, 27 May 2004, at 7:30pm. The show is
given the code
'P-AF' and a brief title of 'Australian Family'.

T9.2 For the show 'Australian Family' .
Norma Smith plays the parts of the Mother and the
Grandmother,
Tracey Jones plays the part of the Daughter .


My Solutions:

I have created the following classes

1) Celebrity (link to show by 1 to * relationship)

2) Company (link to show by 1 to *)

3) Show (link to performance by 1 to *)

4) Theatre (link to performance by 1 to *) (link to
show by 1 to *)

5) Performance (link to show by * to 1)

6) Sale (link to booking by * to 1) (link to theater
by 1 to *)

7) Payment (cash, credit card) as Gen-Spec
(link to customer by * to 1)(link to salesperson by *
1)

8) Customer (link to booking by 1 to *) (link to
payment by 1 to *) (link to attendance by * to 1)

9) Booking (link to ticket by 1 to *) (link to
customer by * to 1)

10) Ticket (link to booking by * to 1) (link to
performance by * to 1) (link to attendance by * to 1)
(link to sales by * to 1)

11) Seat (link to ticket by * to 1) (link to group by
* to 1)

12) Group (link to seats by 1 to *)

13) Employee (salesperson, attendance, cleaner,
manager) as Gen-Spec (link to performance by * to 1)
(link to shift by 1 to *)
Regards
Eugene


--
solomon_13000

Jul 23 '05 #1
3 2394
solomon_13000 wrote:
Lines: 259
Characters: 8213
Words: 1189
Questions about javascript: 0

Was there a question in all that garbage or are you just posting your
job adverts here?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #2
On Sun, 16 May 2004 01:51:40 -0500, solomon_13000 wrote:
Wonthaggi Civic Theatre 'WCT' Case Study...
Looks like a lovely borough..
<http://www.allsydney.com/vic/Wonthagg.htm>

[ If you can trust those mongrels in Sydney. ]
..Wonthaggi Civic Theatre (WCT) and a wide variety of
shows are presented there, for example plays, music
and talks. The management has decided to build a
computer system for WCT to handle ticket sales,..


Why? Why do you not just 'drag them along'
to the performances.. :)

And, ..what was the exact relevance to
Javascript? Oh wait, ..checking the subject
'Require clarification & Guidence'

OooooK.
1) Ask a specific question.
2) Google the words in your subject
line to check the spelling.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #3
On Sun, 16 May 2004 01:51:40 -0500,
*solomon_13000's newsreader* wrote:
....(header)
User-Agent: www.Forum4de signers.com gateway
X-Newsreader: www.Forum4de signers.com gateway


As an aside. You can also access the usenet
forums to which you are posting, thru Google..
<http://www.google.com/groups?group=comp.lang.javascript>

That particular forum has become rather
notorious on c.i.w.a.stylesheets..
<http://google.com/groups?group=comp.infosystems.www.authoring.styles heets&q=forum4designers>

It does not seem to explain clearly the usual
'netiquette' expected in public forums.

Here are some links to those resources..
<http://www.jibbering.com/faq/>
with particular attention to..
<http://www.jibbering.com/faq/faq_notes/pots1.html>

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Bob Alston | last post by:
I have a where used utility that shows where any table or query is used - in a query, form or table. I would like some kind of diagram that shows these relations. I have some reports that...
5
by: A.M | last post by:
Hi, I am looking for a Diagram that visually shows how System.Web.HttpApplication class contains System.Web.UI.Page classes and how they interact together. I am trying to underestand the class...
1
by: alex | last post by:
Moving existing asp.net 1.1 app to 2.0 and using VS2005 I have noticed: 1) Class View window display ONLY name spaces and classes located in the new folder App_Code. 2) Using "Add New Item" on...
4
by: thoducng | last post by:
Hi all: I want to create a class diagram, similar to MFC class diagram published long ago. I don't need a UML model, all I need is a class named and inheritance relationship. My classes are in...
3
by: Lee Crabtree | last post by:
Are there any tools that will take an existing assembly and generate a class hierarchy from it? It seems like the kind of thing that would be possible with reflection, but I don't know enough...
1
by: Jennifer Jazz | last post by:
My question is regarding the mapping of Class diagram to the C++ coding. There are 3 realtions in Class diagram 1) Assosication 2) Composition 3) Aggregation (Weak Composition). ...
12
by: =?Utf-8?B?RGFyYSBQ?= | last post by:
Would like to know from the crowd that why do we require a Partial Class. By having such feature aren't we going out of the scope of Entity Concept. Help me to understand in what context this...
13
by: Doug | last post by:
Hi all, A workmate was recently bitching to me about an RFC. (Apologies - the RFC number eludes me at present (it's related to the DIAMETER protocol, that's all I can remember) but I will try...
1
by: name08 | last post by:
hi everyone... i am making a class diagram and want to store the information of class diagram in an XML file....can anyone please tell me how do i store the association,aggreagation,inheritance...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.