Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "View source for OM2M/Container"

(Created page with "_TOC__ == Container resource == The container resource represents a collection for instances. This resource is used as mediator taking care of buffering the data. It makes th...")
 
Line 2: Line 2:
 
== Container resource ==
 
== Container resource ==
  
The container resource represents a collection for instances. This resource is used as
+
The container resource represents a container for instances. This resource is used as
 
mediator taking care of buffering the data. It makes the exchange abstracted from the
 
mediator taking care of buffering the data. It makes the exchange abstracted from the
 
need to set direct connections and allows for scenarios where both parties in the exchange
 
need to set direct connections and allows for scenarios where both parties in the exchange

Revision as of 05:52, 17 April 2014

_TOC__

Container resource

The container resource represents a container for instances. This resource is used as mediator taking care of buffering the data. It makes the exchange abstracted from the need to set direct connections and allows for scenarios where both parties in the exchange are not online at the same time. An application uses a container i.e. reads and/or writes on it.


Name Type Multiplicity Create Update Response
contId AnyURI 1 O NP M


Container representation

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/m2m" xmlns:tns="http://uri.etsi.org/m2m">
  <include schemaLocation="common.xsd" />
  <element name="container" type="tns:Container" />
  <complexType name="Container">
    <all>
      <element ref="tns:expirationTime" minOccurs="0" />
      <element ref="tns:accessRightID" minOccurs="0" />
      <element ref="tns:searchStrings" minOccurs="0" />
      <element ref="tns:creationTime" minOccurs="0" />
      <element ref="tns:lastModifiedTime" minOccurs="0" />
      <element ref="tns:announceTo" minOccurs="0" />
      <element ref="tns:maxNrOfInstances" minOccurs="0" />
      <element ref="tns:maxByteSize" minOccurs="0" />
      <element ref="tns:maxInstanceAge" minOccurs="0" />
      <!--  not defined yet element ref="tns:containerType" minOccurs="0"  -->
      <!-- subresources -->
      <element ref="tns:contentInstancesReference" minOccurs="0" />
      <element ref="tns:subscriptionsReference" minOccurs="0" />
    </all>
    <attribute ref="tns:id"/>
  </complexType>
 
  <element name="maxNrOfInstances" type="long"/>
  <element name="maxByteSize" type="long"/>
  <element name="maxInstanceAge" type="long"/>
</schema>

Back to the top