I am trying to create attribute in flexcontainer in oneM2M, i have created container and contentinstance in oneM2M. Now I need to use flexcontainer.
How to create attribute in flexcontainer in oneM2M?
154 Views Asked by Shubham Borghare At
1
There are 1 best solutions below
Related Questions in ONEM2M
- Should the oneM2M AE-ID attribute of the AE resource always be represented as SP-relative or absolute, not CSE-relative?
- oneM2M base ontology: How to finish a sample and simple instantiation?
- Implementing oneM2M semanticDescriptor resource
- oneM2M - Difference between ASN-CSE and MN-CSE?
- In the context of oneM2M spec, is there a way to 'discover' the IP of the MN-CSE?
- The oneM2M Mcc interface?
- How should a onem2m CSE treat a retransmitted AE create request
- AE resource /in-cse not found when trying to create AE
- Error While testing oneM2M Device Simulator with Mobius API
- How to create resource/ send request to create resource in ACME oneM2M in REST UI?
- How to create attribute in flexcontainer in oneM2M?
- What happens to CSE-relative resourceIDs in attributes of announced resources?
- Is MainFlux implementation OneM2M compliant?
- how do you get the id or url of the resource that's being updated when handling an Update_Of_Resource notification?
- how do the two software status fields work?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I guess from your question that you try to directly create a <flexContainer> resource. That is not possible. The <flexContainer> can be viewed as an "abstract base class" that needs to be further specified. In oneM2M these derived resource types are called specialisations. A specialisation takes all the resource specific attributes from the <flexContainer> and adds the custom attributes that actually represent the functional part. This specialisation can now be created, retrieved etc like any other resource.
Take, for example, the clock specialisation that is defined in oneM2M's TS-0023 document. It adds three new custom attributes, namely currentTime, currentDate, and currentTimeZone in order to represent a clock functionality.
Please note that the CSE implementation you are using needs to support the <flexContainer> resource type in general, and the specific specialisations you want to use. If you want to create your own specialisations then the CSE must support user-defined specialisations and their validations as well.
The oneM2M specifications are available here: https://www.onem2m.org/technical/published-specifications