oneM2M: can an announced resource have a non announced resource as it's child

60 views Asked by At

In oneM2M, can an announced resource have a non announced resource as it's child? I went through the documentations for oneM2M but can't find anywhere that clearly mentions this.

For example, on my IN-CSE, I have created an announced AE (AE_ANNC), then I create an announced Container (CNT_ANNC), now can I have a normal Content Instance (non announced resource) inside this new announced container ie, inside CNT_ANNC.

Thanks in advance.

1

There are 1 answers

0
Bob On BEST ANSWER

In oneM2M you can put a regular resource as a child of an announced resource. Specifically, the example that you provide is allowed.

There is not a lot of detail on this, but for each resource the table of child resources has a column to the right that indicates valid child resources of the announced variant of the resource. For your example,TS-0001 table 9.6.6-1 shows that a <containerAnnc> can have both <contentInstance> and <contentInstanceAnnc> child resources.