SalesPoint Framework v3.0

Hook: Define New Type Of Value


Requirement

A new type of value is needed that is not supported by the Framework.

Method of Adaptation
Add Feature
Level of Support
Open Ended  
HotSpot
Data management
Participants
Value, NewValue

Changes

  1. implementation NewValue of Value.
  2. NewValue implements the four basic arithmetic operations addition, multiplication, subtraction and division.
  3. NewValue.compareTo implements Value.compareTo .
  4. NewValue.clone implements Value.clone .
  5. NewValue adds any attributes that are needed or appropriate for the new type of value.
  6. NewValue implements any additional methods that are needed or appropriate for the new type of value.

Constraints

Comments


SalesPoint Framework v3.0