Resource Class ResourceWithLifetime Class

18 Copyright © 2010 Open Geospatial Consortium, Inc. Table 3 – Resource Properties Property name Description Value documentation Descriptive information about the resource object. Type : Any Default: none Cardinality : [0..1] identifier Identifier of the resource object. Type : GenericName Default: none Cardinality : [1] name Names assigned to the resource object. Multiple names may be assigned to the same resource. Type : GenericName Default: none Cardinality : [0..] policy Defines behavior executed by the resource or available required when interacting with the resource. See Policies package for further details. Type : Policy Default: none Cardinality : [0..]

6.2.1.2.2 ResourceWithLifetime Class

Resources may have a defined lifetime. A resource with lifetime may automatically terminate at a defined point in time or it may explicitly be terminated by another entity. A ResourceWithLifetime implements the ResourceTermination interface. A ResourceWithLifetime is a Resource and therefore inherits all properties that a Resource has. Copyright © 2010 Open Geospatial Consortium, Inc. 19 Table 4 – ResourceWithLifetime Properties Property name Description Value terminationEvent Endpoint Endpoint of the entity that shall be notified by the producer when the subscription terminated. Type : Endpoint Default: none Cardinality : [0..1] terminationTime Absolute point in time when the resource terminates. Termination time is often requested and computed based upon the current server time and a duration - this can be mapped to one TM_Instant. Type : TM_Instant Default: none Cardinality : [0..1]

6.2.1.2.3 ResourceManager Interface

A system entity that provides access to resources is a ResourceManager . This interface defines the resource management operations. Table 5 – ResourceManager Operation Method Notes getResource Retrieves a resource via its identifier.

6.2.1.2.4 ResourceTermination Interface

The ResourceTermination interface defines operations to reset the termination time of a resource with defined lifetime and to explicitly terminate such a resource. 20 Copyright © 2010 Open Geospatial Consortium, Inc. Table 6 – ResourceTermination Operations Method Notes renew Resets the termination time of the resource to a given time instant. The resource may reject the request and send an exception, for example if the proposed termination time does not conform to the resources termination time policies. Setting the termination time to a value in the past will - if the request is accepted - lead to the resources termination according to its implementation when a resource has to check its termination is not defined; however, it is recommended that the implementation terminates a resource shortly after the termination time passed. terminate Immediately terminates the resource.

6.2.1.3 EventMetadata Package

This package defines types classes that capture eventing metadata. The data is useful for discovering information relevant for publish subscribe systems. Primarily the definition of event types as well as event channels together with their relationships can be modeled and discovered see chapter 7. Figure 4: EventMetadata types