Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 2.46 KB

File metadata and controls

47 lines (35 loc) · 2.46 KB

Common classes

This package contains design of classes that are used by both server and client.

Includes class design: Designs of the (public) Java classes that will comprise your programs:

  • Descriptions of all public methods and fields.
  • Descriptions of the arguments each method takes and what the method returns.
  • Any assumptions (preconditions and postconditions).
  • Any checked exceptions that may be thrown by the method, and the circumstances under which the exceptions will be thrown.
  • How these classes interact with each other (UML Diagram).

Detailed Class Description

Follow the links for detailed description of each class, including its fields & methods.

Data Types

Represents a data-containing object that can be serialised and transferred between client and server.

Represents an asset that can be traded in the system.

Represents an item - an quantifiable version of an asset possessed by an organisationalUnit.

Represents an item in cart - a version of an asset that is considered to be placed into an order, at a certain quantity and price.

Represents a user in the system.

Represents an organisationalUnit.

Represents a collection of items owned by an organisationalUnit.

Represents an order placed by an organisationalUnit.

Networking Data

A package containing the request to be sent over the server.

A package containing a response sent from the server to the client, including the state of whether the request were successfully executed and an optional data-containing object (IData).

Classes Interaction

The interaction between the common classes is summarised in the Class Diagram below. alt text