[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=33316#action_33316 ] Ramanjaneyulu Malisetti commented on ODATA-372: ------------------------------------------------ Thank you for the clarification. It is good if Spec is updated with such details. What is the best way to limit "http://host/service/VirtualSystems" return only instance of VirtualSystem type but not derived types' instances. Can spec include query option? > 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]