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 "OM2M/AccessRights"
< OM2M
(→AccessRights resource) |
(→Groups representation) |
||
Line 25: | Line 25: | ||
|} | |} | ||
− | == | + | == AccessRights 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="accessRights" type="tns:AccessRights" /> | ||
+ | <complexType name="AccessRights"> | ||
+ | <all> | ||
+ | <element ref="tns:accessRightID" minOccurs="0" /> | ||
+ | <element ref="tns:creationTime" minOccurs="0" /> | ||
+ | <element ref="tns:lastModifiedTime" minOccurs="0" /> | ||
+ | <!-- subresources --> | ||
+ | <element ref="tns:accessRightCollection" minOccurs="0" /> | ||
+ | <element ref="tns:accessRightAnncCollection" minOccurs="0" /> | ||
+ | <element ref="tns:subscriptionsReference" minOccurs="0" /> | ||
+ | </all> | ||
+ | </complexType> | ||
+ | <element name="accessRightCollection" type="tns:NamedReferenceCollection" /> | ||
+ | <element name="accessRightAnncCollection" type="tns:NamedReferenceCollection" /> | ||
+ | </schema> | ||
+ | </source> |
Revision as of 04:36, 17 April 2014
AccessRights resource
The AccessRights resource is a collection of accessRight resources and/or AccessRightAnnc resources. The following combinations are possible:
- <sclBase>/accessRights: contains only local accessRight resources.
- <sclBase>/scls/<scl>/accessRights: contains accessRightAnnc resource announced by an accessRight resource in the remote <scl>.
- <sclBase>/applications/<app>/accessRights: contains only accessRight resource created by the < application> corresponding to < app>.
- <sclBase>/scls/<scl>/applications/<applicationAnnc>/accessRights: contains only accessRightAnnc resource representing the announcement of an accessRight resource residing in the remote <scl>.
Attribute Name | Type | Multiplicity | Create | Update | Response |
accessRightCollection | NamedReferenceCollection | 0..unbounded | N/A | NP | M |
accessRightAnncCollection | 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 |
AccessRights 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="accessRights" type="tns:AccessRights" /> <complexType name="AccessRights"> <all> <element ref="tns:accessRightID" minOccurs="0" /> <element ref="tns:creationTime" minOccurs="0" /> <element ref="tns:lastModifiedTime" minOccurs="0" /> <!-- subresources --> <element ref="tns:accessRightCollection" minOccurs="0" /> <element ref="tns:accessRightAnncCollection" minOccurs="0" /> <element ref="tns:subscriptionsReference" minOccurs="0" /> </all> </complexType> <element name="accessRightCollection" type="tns:NamedReferenceCollection" /> <element name="accessRightAnncCollection" type="tns:NamedReferenceCollection" /> </schema>