Product Domain Class

General Description

Products are the main trade objective: they can be bought and sold. Every product represents the energy for a specified timeslot. You need to hold a certain amount of energy to fulfill your supply/demand needs

Domain Properties

A Product domain class possesses the following properties:

Long serverId
  Competition competition
  String name
  Boolean enabled
  Date startDateTime
  Date endDateTime
  Long serialNumber
  Boolean current
  ActionType action = ( Started | Stopped )

Property Descriptions

Started: Product is set enabled Stopped: Product is set disabled