The method addNodeResource changed to addResource making it more generalized when adding new resources with attributes.
Added addEndResource method to modifying purposes, like dynamically adding resources with specific resource types according to receiving attributes (e.g. rt, if)
also added a lifeTime getter and changed updateEndpointResources's access modifier from private to public.
The method
addNodeResource
changed toaddResource
making it more generalized when adding new resources with attributes. AddedaddEndResource
method to modifying purposes, like dynamically adding resources with specific resource types according to receiving attributes (e.g. rt, if) also added alifeTime
getter and changedupdateEndpointResources
's access modifier from private to public.Reference to the Improvement to RDNodeResource #26 Signed-off-by: navoda mpnavoda@gmail.com