Resource

From City Data Model Project Collaboratory
Revision as of 02:31, 16 December 2022 by Megankatsumi (talk | contribs) (Text replacement - "=iso5087-1:Activity" to "=ISO5087-1:Activity")
Jump to navigation Jump to search


Pattern

This class has been associated with the following pattern:

Pattern:Resource Pattern

Subclass Of

Asset

Description

An English description of the definition (what distinguishes this sense of the term?).

A Resource is a type of Asset that plays a role in some Activity. Various types (subclasses) of Resource may be defined as required. A Resource class may be used by or consumed by some Activity class; the specification of the Resource class defines the quantity of a particular resource that will be used or consumed by a particular activity. If some resource is used by an activity, then when the activity occurs, there must be some resource of that type that is (partially) not available. If a resource is consumed by an activity, then the resource and the entity it is a manifestation of (partially) ceases to exist by the end of the occurrence.

Resources have the following core properties: o hasCapacity: identifies the Quantity that specifies how much of the resource exists, e.g., its volume, if it is liquid; how much it can hold, if it is an oven. This property may be invariant, depending on the nature of the resource. o hasAvailableCapacity: identifies the Quantity that specifies how much of the resource is available for use at some point in time (i.e., when the particular manifestation exists). o capacityInUse: identifies the portion of capacity in use, by some activities, at the time of the manifestation. o hasAllocation: specifies an Allocation for the resource. This indicates a State and time interval that the Resource has been allocated to. o participatesIn: identifies the Activity that the Resource is being used/consumed by, etc.

Class Diagram Description

Required by Use Case(s)

(why is this specialized definition needed?)


CDM References

What other classes or properties reference this term?

Interface Specification References

This class has been associated with the following interface specification items:


Sources

Sources considered when developing the class:


Status

Pending Approval

Has Subclass(es)



Annotations

Annotation Value


Manchester Syntax Specification

Property Restriction Value
HasCapacity exactly 1 i72:Quantity
CapacityInUse exactly 1 i72:Quantity
HasAvailableCapacity exactly 1 i72:Quantity
ParticipatesIn min 1 ISO5087-1:Activity
HasAllocation only iso5087-1:Allocation


Supplementary Figures

Figure Caption