Skip to main content

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.

Jump to: navigation, search

OM2M/Groups

< OM2M
Revision as of 13:43, 16 April 2014 by Unnamed Poltroon (Talk) (Groups representation)

Groups resource

The Groups resource is a collection of group resources and/or groupAnnc resources. The following combinations are possible:


Attribute Name Type Multiplicity Create Update Response
groupCollection NamedReferenceCollection 0..unbounded N/A NP M
groupAnncCollection NamedReferenceCollection 0..unbounded N/A NP M
subscriptionReference AnyURI 1 N/A NP M
accessRightID AnyURI 0..1 N/A O O
creationTime DateTime 1 N/A NP M
lastModifiedTime DateTime 1 N/A NP M

Groups 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="groups" type="tns:Groups" />
  <complexType name="Groups">
    <all>
      <element ref="tns:accessRightID" minOccurs="0"/>
      <element ref="tns:creationTime" minOccurs="0"/>
      <element ref="tns:lastModifiedTime" minOccurs="0"/>
      <!-- subresources -->
      <element ref="tns:groupCollection" minOccurs="0" />
      <element ref="tns:groupAnncCollection" minOccurs="0" />
      <element ref="tns:subscriptionsReference" minOccurs="0"/>
    </all>
  </complexType>
  <element name="groupCollection" type="tns:NamedReferenceCollection" />
  <element name="groupAnncCollection" type="tns:NamedReferenceCollection" />
</schema>

Retrieve Groups

Back to the top