OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[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=33317#action_33317 ] 

Stefan Drees commented on ODATA-372:
------------------------------------

I think the samples given by Ralf are derived from those in section 4.9 as he indicates, thus "the Spec" contains "such details" already ;-)

Is there a possibly less irritating sample you might offer for the follow-up question, where you only want the base type instances not including any derived type instances? I find myself caught in regarding these derived types as concrete types for the virtual type "VirtualSystem" ... and wonder if the intended latter query is a quest for NULLs so to say, those where another concrete type was not yet defined to put candidates in ... as I said, I am not sure where you are heading at ... otherwise $filter is a nice system query option ...

Otherwise I would second to close the issue with no action.



>  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]