Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1176

Capabilities: add new term SelectSupport

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: Vocabularies
    • Labels:
    • Environment:

      Proposed

    • Proposal:
      Hide

      Term definition:

      <Term Name="SelectSupport" Type="Capabilities.SelectSupportType" Nullable="false" AppliesTo="EntityContainer EntitySet Singleton">
        <Annotation Term="Core.Description" String="Support for $select and nested query options within $select" />
      </Term>
      <ComplexType Name="SelectSupportType">
        <Property Name="Supported" Type="Edm.Boolean" Nullable="false" DefaultValue="true">
          <Annotation Term="Core.Description" String="Supports $select" />
        </Property>
        <Property Name="Expandable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$expand within $select is supported" />
        </Property>
        <Property Name="Filterable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$filter within $select is supported" />
        </Property>
        <Property Name="Searchable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$search within $select is supported" />
        </Property>
        <Property Name="TopSupported" Type="Core.Tag" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$top within $select is supported" />
        </Property>
        <Property Name="SkipSupported" Type="Core.Tag" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$skip within $select is supported" />
        </Property>
        <Property Name="ComputeSupported" Type="Core.Tag" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$compute within $select is supported" />
        </Property>
        <Property Name="Countable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$count within $select is supported" />
        </Property>
        <Property Name="Sortable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$orderby within $select is supported" />
        </Property>
      </ComplexType>
      

       

      Also add corresponding property SelectSupport to CollectionPropertyRestrictionsType and NavigationPropertyRestrictionsType.

      Show
      Term definition: <Term Name= "SelectSupport" Type= "Capabilities.SelectSupportType" Nullable= "false" AppliesTo= "EntityContainer EntitySet Singleton" > <Annotation Term= "Core.Description" String= "Support for $select and nested query options within $select" /> </Term> <ComplexType Name= "SelectSupportType" > <Property Name= "Supported" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "true" > <Annotation Term= "Core.Description" String= "Supports $select" /> </Property> <Property Name= "Expandable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$expand within $select is supported" /> </Property> <Property Name= "Filterable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$filter within $select is supported" /> </Property> <Property Name= "Searchable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$search within $select is supported" /> </Property> <Property Name= "TopSupported" Type= "Core.Tag" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$top within $select is supported" /> </Property> <Property Name= "SkipSupported" Type= "Core.Tag" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$skip within $select is supported" /> </Property> <Property Name= "ComputeSupported" Type= "Core.Tag" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$compute within $select is supported" /> </Property> <Property Name= "Countable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$count within $select is supported" /> </Property> <Property Name= "Sortable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$orderby within $select is supported" /> </Property> </ComplexType>   Also add corresponding property SelectSupport to  CollectionPropertyRestrictionsType and  NavigationPropertyRestrictionsType .
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-vocabularies/pull/14

      Description

      Similar to other xxxRestrictions add a SelectRestrictions structured term with (for now) a single property Selectable of type Boolean:

      Example:

      <Annotation Term="Capabilities.SelectRestrictions">
        <Record>
          <PropertyValue Property="Selectable" Bool="false" />
        </Record>
       </Annotation>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: