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

Difference between revisions of "OM2M/Applications"

Line 2: Line 2:
 
== Applications resource ==
 
== Applications resource ==
  
The ''Applications'' resource shall represent a collection of ''application'' resources.  
+
The ''Applications'' resource shall contain a collection of ''application'' resources.  
  
 
The ''sclBase/applications'' resource shall contain only ''application'' resources, representing locally registered applications.  
 
The ''sclBase/applications'' resource shall contain only ''application'' resources, representing locally registered applications.  
Line 19: Line 19:
 
|}
 
|}
  
 +
== Applications representation =
  
== Applications 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="applications" type="tns:Applications" />
 +
  <complexType name="Applications">
 +
    <all>
 +
      <element ref="tns:accessRightID" minOccurs="0" />
 +
      <element ref="tns:creationTime" minOccurs="0" />
 +
      <element ref="tns:lastModifiedTime" minOccurs="0" />
 +
      <!-- subresources -->
 +
      <element ref="tns:applicationCollection" minOccurs="0" />
 +
      <element ref="tns:applicationAnncCollection" minOccurs="0" />
 +
      <element ref="tns:subscriptionsReference" minOccurs="0" />
 +
      <element ref="tns:mgmtObjsReference" minOccurs="0" />
 +
    </all>
 +
  </complexType>
 +
  <element name="applicationCollection" type="tns:NamedReferenceCollection" />
 +
  <element name="applicationAnncCollection" type="tns:NamedReferenceCollection" />
 +
</schema>

Revision as of 13:44, 15 April 2014

Applications resource

The Applications resource shall contain a collection of application resources.

The sclBase/applications resource shall contain only application resources, representing locally registered applications.

The sclBase/scls/sclId/applications resource shall contain only applicationAnnc resources, representing remote applications residing on the indicated sclId that are announced to the local sclBase.


Name Type Occurs Read/Write Description
accessRightID URI 0..1 RW Reference to an AccessRight resource defining who is allowed to access the resource containing this attribute for a specific purpose (retrieve, update, delete etc.)
creationTime 1 RO Time of creation of the resource
lastModifiedTime 1 RO Last modification time of a resource.

= Applications 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="applications" type="tns:Applications" />
  <complexType name="Applications">
    <all>
      <element ref="tns:accessRightID" minOccurs="0" />
      <element ref="tns:creationTime" minOccurs="0" />
      <element ref="tns:lastModifiedTime" minOccurs="0" />
      <!-- subresources -->
      <element ref="tns:applicationCollection" minOccurs="0" />
      <element ref="tns:applicationAnncCollection" minOccurs="0" />
      <element ref="tns:subscriptionsReference" minOccurs="0" />
      <element ref="tns:mgmtObjsReference" minOccurs="0" />
    </all>
  </complexType>
  <element name="applicationCollection" type="tns:NamedReferenceCollection" />
  <element name="applicationAnncCollection" type="tns:NamedReferenceCollection" />
</schema>

Back to the top