Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "View source for OM2M/Container"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | __TOC__ | |
== Container resource == | == Container resource == | ||
− | The container resource represents a | + | The container resource represents a collection for instances. |
− | 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 | + | 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. |
− | are not online at the same time. An application uses a container i.e. reads and/or writes on it. | + | |
{{CTable}} | {{CTable}} | ||
| Name || Type || Multiplicity || Create || Update ||Response | | Name || Type || Multiplicity || Create || Update ||Response | ||
|- | |- | ||
− | | [[OM2M/Attributes# | + | | [[OM2M/Attributes#ID|id]] || || 1 || O || NP || M* |
+ | |- | ||
+ | | [[OM2M/Attributes#ExpirationTime|expirationTime]] || DateTime || 1 || O || O || M* | ||
+ | |- | ||
+ | | [[OM2M/Attributes#AccessRightID|accessRightID]] || AnyURI || 1 || O || O || O | ||
+ | |- | ||
+ | | [[OM2M/Attributes#SearchStrings|searchStrings]] || searchStrings || 1 || O || O || M | ||
+ | |- | ||
+ | | [[OM2M/Attributes#CreationTime|creationTime]] || DateTime || 1 || NP || NP || M | ||
+ | |- | ||
+ | | [[OM2M/Attributes#LastModifiedTime|lastModifiedTime]] || DateTime || 1 || NP || NP || M | ||
+ | |- | ||
+ | | [[OM2M/Attributes#AnnounceTo|announceTo]] || AnnounceTo || 1 || O || O || M* | ||
+ | |- | ||
+ | | [[OM2M/Attributes#MaxNrOfInstances|maxNrOfInstances]] || || 1 || O || O || M* | ||
+ | |- | ||
+ | | [[OM2M/Attributes#MaxByteSize|maxByteSize]] || || 1 || O || O || M* | ||
+ | |- | ||
+ | | [[OM2M/Attributes#MaxInstanceAge|maxInstanceAge]] || || 1 || O || O || M* | ||
+ | |- | ||
+ | | [[OM2M/ContentInstances|contentIntancesReference]] || NamedReferencecollection || 1 || NP || NP || M | ||
+ | |- | ||
+ | | [[OM2M/Subscriptions|subscriptionsReference]] || NamedReferenceCollection || 1 || NP || NP || M | ||
|} | |} | ||
Latest revision as of 06:41, 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 |
id | 1 | O | NP | M* | |
expirationTime | DateTime | 1 | O | O | M* |
accessRightID | AnyURI | 1 | O | O | O |
searchStrings | searchStrings | 1 | O | O | M |
creationTime | DateTime | 1 | NP | NP | M |
lastModifiedTime | DateTime | 1 | NP | NP | M |
announceTo | AnnounceTo | 1 | O | O | M* |
maxNrOfInstances | 1 | O | O | M* | |
maxByteSize | 1 | O | O | M* | |
maxInstanceAge | 1 | O | O | M* | |
contentIntancesReference | NamedReferencecollection | 1 | NP | NP | M |
subscriptionsReference | NamedReferenceCollection | 1 | NP | 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>