Project:
|
![]() Figure U.04 - Resource and Service Usage : Class diagram
A resource usage represents any usage of resources in its broadest meaning, for example a purchase or lease of a product realized by a resource. A service usage represents any usage of service in its broadest meaning, for example a purchase of a product realized/implemented by a service or a usage of a service that realizes a product. Classes that are used to model resource and service usages are subclasses of abstract usage classes as shown in the following Figure, the ResourceUsageSpec is a subclass of the UsageSpecification and represents a type of resource usage, while the ServiceUsageSpec represents a type of service usage. A typical source of resource or service usage is a mediation application. Other sources may be application servers and other applications (for example, an online shopping application) that are aware of the usage format and can generate usage directly without mediation.<br/>An example of the ServiceUsage class is a voice call that is characterized by:<br/><ul>
<li>An origination and a destination address (Who), typically complete information is available only for ProductUsage</li><li>A time of a day the call was connected and a duration of the call (When),</li><li>A call type and its details (What),</li><li>Connection locations of the call (Where) and</li><li>A cause of event recording (Why).</li></ul><p/> |