Difference between revisions of "Accounting Model"
From Gcube Wiki
Luca.frosini (Talk | contribs) (→Accounting Usage Records Hierarchy) |
Luca.frosini (Talk | contribs) (→Usage Record) |
||
Line 15: | Line 15: | ||
== Interfaces == | == Interfaces == | ||
=== Usage Record === | === Usage Record === | ||
+ | |||
+ | This is the very basic interface to respect for every Usage Record. It mainly define the generic access methods. In particular: | ||
+ | * Basic field (getter and setter) | ||
+ | * Generic Key-Value method both to set and retrieve a single value (key:String, value:Comparable<? extends Serializable>) | ||
+ | * Generic Map<String, Comparable<? extends Serializable>> to set all | ||
+ | |||
=== Single Usage Record === | === Single Usage Record === | ||
=== Aggregated Usage Record === | === Aggregated Usage Record === |
Revision as of 18:15, 30 November 2015
The Accounting Model is based on the concept of Usage Record (UR).
Contents
Accounting Usage Records Hierarchy
Interfaces
Abstract Implementation
Interfaces
Usage Record
This is the very basic interface to respect for every Usage Record. It mainly define the generic access methods. In particular:
- Basic field (getter and setter)
- Generic Key-Value method both to set and retrieve a single value (key:String, value:Comparable<? extends Serializable>)
- Generic Map<String, Comparable<? extends Serializable>> to set all