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"

Line 1: Line 1:
 
+
__TOC__
_TOC_
+
 
+
 
== Container resource ==
 
== Container resource ==
  
Line 15: Line 13:
 
|}
 
|}
  
 
== Container representation ==
 
<source lang="xml">
 
<?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>
 
</source>
 
  
 
== Container representation ==
 
== Container representation ==

Revision as of 05:54, 17 April 2014

Container resource

The container resource represents a collection 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