473,607 Members | 2,674 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2410
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.javas cript 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.c om/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=co mp.lang.javascr ipt>

That particular forum has become rather
notorious on c.i.w.a.stylesh eets..
<http://google.com/groups?group=co mp.infosystems. www.authoring.s tylesheets&q=fo rum4designers>

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

Here are some links to those resources..
<http://www.jibbering.c om/faq/>
with particular attention to..
<http://www.jibbering.c om/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
3890
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 require a lot of queries with query_totals and union queries to produce current day, current week, current month, current year to date and prior day, week month and year data.. these are Unioned together with appropriate keys to serve as input to a...
5
2106
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 architecture of ASP.NET. Can anybody refer me to a link or resource related to that ? Any help would be apprecited,
1
1269
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 App_Code folder presents limited number of items -> no Web Page, no User Control, giving a hint that these items shouldn't go in this folder. Instead should go under the web root and other sub-folders. I haven't run a conversion wizard on my 1.1...
4
10150
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 different projects. Do you know any tool that help to do that automatically. Thanks Tho
3
1638
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 about that namespace to tackle this. Lee Crabtree
1
4678
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
1671
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 feature is better and when it is not. Thanks for reading -- Never say, Give up
13
1904
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 to find out and update the thread.) He was moaning how the RFC laid out the description of an 8-bit field. According to him, the diagram was (fixed-width font required,
1
2101
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 between different classes in the following XML / any other XML <?xml version="1.0" encoding="UTF-8"?> <classdiag> <class id="1"> <name>customer</name> <operation>reservation of tour</operation> <operation>view tour...
0
8469
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8128
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8322
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6803
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5997
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4013
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1574
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.