Headline

Model companies

Description

There are the following major kinds of entities involved:

  • Companies
  • Employees
  • Departments
Departments are only involved if and only if sub-feature Feature:Hierarchical company as opposed to sub-feature Feature:Flat company is chosen.

Entities are composed of parts as follows:

  • A company has a name.
  • A company has employees maintained in some sort of collection.
  • A company has (possibly) departments.
  • An employee has a name, a salary and an address.
There are the following additional assumptions:

  • Company names are strings such as "Acme".
  • Employee names are strings such as "Joe".
  • Addresses are strings such as "Redmond".
  • Salaries are non-negative floating point numbers such as "42.42".
  • Employee names are unique across companies.
The following simplifications and omissions are deliberate:

  • In reality, employee names are not necessarily unique.
  • In reality, a company may have a CEO, CFO, etc. omitted here.
  • Salaries may call for a money type also including a currency.

Motivation

This feature triggers use of basic data modeling techniques in implementing the system:Company. Basic company structure suffices with a tree-like representation of companies.

Illustration

See Feature:Flat company and Feature:Hierarchical company for illustration.

Relationships

Guidelines

This is an abstract (an XOR) feature, which should not be chosen as such, but instead either Feature:Flat company or Feature:Hierarchical company is to be selected.


There are no revisions for this page.

User contributions

    This user never has never made submissions.

    User edits

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.