Talent agency system, JAVA Programming

Assignment Help:

Talent agencies like ICM, CAA and Paradigm represent writers, directors and actors (among other talent).  These agencies take in hundreds of millions of dollars a year collecting 10% from each of their clients.  We would like to get them to spend some of their money on our software tracking system that helps them organize and bill their clients.  Before we do anything, we'll have to create some base classes and derived classes.

On the other hand, if you are not so interested in stellar actors, but rather in stellar models in astrophysics, have a peek at one of the options further down.

OPTION A (Basic):  A Talent Agency System

Create a base class called Client that has the following private members:

  • String name - The name of the Client.
  • long income_this_year - how much the Client made so far this year.
  • double percent_cut - usually .10, but you can always make a deal for less if you are in demand and easy to market.
  • MIN_INCOME_VAL, MAX_INCOME_VAL, MIN_NAME_LEN, MAX_NAME_LEN - some static finals to control the values passed into mutators.

Provide the usual complete set of constructors, mutators and accessors for this class.  Also provide a Display() method that displays member data.

The industry needs different information from actors than it does from writers.  For example, the writer's age or sex usually doesn't matter, but for actors, this information is crucial.  On the other hand, special training, degrees or skills are often important when marketing a writer (law degree, technical/science degree, CIA experience) that don't really matter for actors.

Derive a class Writer from Client that has the following additional members:

  • boolean technical - true if the writer has background in technology
  • boolean government - true if the writer has background in government/politics
  • boolean international - true if the writer has a great deal of travel experience
  • String rank - one of the following:  "staff writer", "story editor", "co-producer", "producer", "co-executive producer", "executive producer". There are the common ranks that determine the level that the writer is placed on a show or film. You can make this member a char or int, as long as you have a toString() or Stringize() method to get the String value from it.

Derive a class Actor from Client that has the following additional members:

  • char gender (M or F)
  • int age

Provide the usual complete set of constructors, mutators and accessors for these classes, being sure as always, to filter out illegal arguments.  Use function and constructor chaining whenever possible to eliminate code duplication.  Be sure to have at least one method, Display() in each sub-class that displays a complete report for the object, overriding the corresponding method from the base.

Create a class Agent that contains:

  • String name - the Agent's name
  • Client[] my_Clients - an array of Client references.  Allocate an array of some fixed size, MAX_CLIENTS, but don't instantiate individual Clients ... we allow this array to point to the caller's Client objects.
  • int num_Clients - the current number of Clients this Agent has.
  • MAX_CLIENTS, MIN_NAME_LEN, MAX_NAME_LEN - some static finals to control the values passed into mutators.

Give the Agent class the minimal constructors plus these methods:

  • AddClient(Client client) - puts client into the Agent's list.
  • RemoveClient(Client client) - removes client by squeezing him out of the list.
  • ShowClientsShort() - Displays a list of all this Agent's Clients' names (only names).
  • ShowClientsLong() - Displays a list of all the Clients, using the Client display method.
  • double GetIncome() - Returns the dollar amount collectable from all Clients so far this year (based on the tally of the Client member data, percent_cut, and income_this_year.

Create a main program that instantiates a number of Actors and Writers, displays a few of their data to the screen, individually (not all).  Next, instantiate one Agent, and place some of the Actors and Writers into the Agent's list.  Print out the Agent's Clients' names demonstrating both ShowClients---() methods, and show how much money the Agent is going to get this year.


Related Discussions:- Talent agency system

What is initializing fields, What is Initializing Fields ? Fields can (...

What is Initializing Fields ? Fields can (and often should) be initialized while they're declared, just like local variables. class Car { String licensePlate = ""; // e.g

How to retrieve warnings, SQLWarning objects are a subclass of SQLException...

SQLWarning objects are a subclass of SQLException that deal with database access warnings. Warnings do not stop the implementation of an application, as exceptions do; they easily

Develop wechat program to integrate with sugarcrm, Wechat and SugarCRM P...

Wechat and SugarCRM Project Description: Seeking the partner able to develop wechat program to integrate with SugarCRM. Wechat Official Account able to perform some functi

Program to find prime number from linked list, For this assignment you are ...

For this assignment you are provided with a class called LNode which can be used as a list node for a linked list of ints. You are also provided with an abstract class called LList

Why hub is used in networks, Why hub is used in networks? HUB: Hub is n...

Why hub is used in networks? HUB: Hub is networking component that can be used to connect the networks and it could also be used to extend the size of networks. In a simple way

Java program to play minesweeper , Project Requirements Write and tes...

Project Requirements Write and test a Java program to play Minesweeper using Model-View-Presenter design (The model is an interface defining the data to be displayed or other

Advantages java layout managers over traditional windowing, What are the ad...

What are the advantages that Java's layout managers provide over traditional windowing systems ?

What is jar archives, What is JAR archives? JAR archives are ZIP archiv...

What is JAR archives? JAR archives are ZIP archives along with a different extension. They contain a hierarchy of files and directories. In spirit a JAR file can take the place

Package inheritance hierarchy program, (Package Inheritance Hierarchy) Pack...

(Package Inheritance Hierarchy) Package-delivery services, such as FedEx®, DHL® and UPS®, offer a number of different shipping options, each with specific costs associated. Create

The fancy new French restaurant La Food is very popu, The fancy new French ...

The fancy new French restaurant La Food is very popular for its authentic cuisine and high prices. This restaurant does not take reservations. To help improve the efficiency of the

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd