[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-372) Addressing Derived Types
[ http://tools.oasis-open.org/issues/browse/ODATA-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33314#action_33314 ] Ralf Handl commented on ODATA-372: ---------------------------------- http://host/service/VirtualSystems will return all instances of VirtualSystem, HyperVSystem and VMWareSystem in a single query. http://host/service/VirtualSystems/Model.HyperVSystem will restrict to instances of type "HyperVSystem" in schema "Model", and instances of any type that further specializes Model.HyperVSystem. http://host/service/VirtualSystems/Model.VMWareSystem will similarly restrict to instances of Model.VMWareSystem and its specializations. This is described in URL Conventions, section 4.9 Addressing Derived Types. We don't have a way to only request instances of Model.VirtualSystem that are not also instances of a derived type. If you are satisfied with this, please close the issue. > Addressing Derived Types > ------------------------- > > Key: ODATA-372 > URL: http://tools.oasis-open.org/issues/browse/ODATA-372 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Task > Components: OData URL Conventions > Affects Versions: V4.0_WD01 > Reporter: Ramanjaneyulu Malisetti > Assignee: Ralf Handl > Priority: Minor > > I would like to seek clarification on below scenario.... > Suppose, I have 3 entity types 1) VirtualSystem 2) HyperVSystem and 3) VMWareSystem. Here, VirtualSystem is the base EntityType for both HyperVSystem and VMWareSystem. Now, if I define EntityContainer having only EnitySet for VirtualSystem. Are the following URLs correct? > > 1) http://host/service/VirtualSystems > Returns only instances of EntityType VirtualSystem > > 2) http://host/service/VirtualSystems/HyperVSystem > Returns only instances of EntityType HyperVSystem > > 3) http://host/service/VirtualSystems/VMWareSystem > Returns only instances of EntityType VMWareSystem > > How to get all instances of VirtualSystem, HyperVSystem and VMWareSystem in a single query? > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]