State machine - valuing a shareholder
Description
The following state machine presents a shareholder creation process.
A shareholder is actually a couple of data : a person with a share (%)
The process starts with an INITIAL state. Throughout its creation process, the shareholder object created could have the following state :
VALUED: shareholder object has been correctly sent and recordered into the BE, but has no id. ShareHolder(s) is/are embedded in other object (e.g. a union person)
NOTE : this state machine can not be activated in a standalone mode. It must be called by other state machine, like e.g.
referencing a company person
- Incoming parameters : the shareholders can be person(s) of different types. E.g 2 shareholders, one being a natural person and the other a company person. The concrete type of the required person needed will determine which state machine to call for referencing the corresponding person.
The possible concreteType are :
- NATURAL
- COMPANY
- UNION
- DIVISION
- INDIVISION