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] Updated: (ODATA-12) create a data type for property names


     [ http://tools.oasis-open.org/issues/browse/ODATA-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-12:
----------------------------

    Proposal: 
Introduce "primitive types" Edm.Property and Edm.NavigationProperty that can only be used in the Type attribute of a Term or a property of a complex type that is used as the type of a term.

Add new attributes Xxx and NavigationProperty to Annotation and PropertyValue with the same syntax as the Path attribute:

<Annotation Term="Temporal.ApplicationPeriod">
   <PropertyValue Property="StartPeriod" Xxx="bus_start" />
   <PropertyValue Property="EndPeriod" Xxx="bus_end" />
</Annotation>

<Annotation Term="RelatedStuff" NavigationProperty="Suppliers" />

<Annotation Term="LookOverThere" Xxx="SupplierName" />

Unfortunately the canonical name for Xxx is Property, and that is already taken in PropertyValue.


  was:
Introduce "primitive types" Edm.Property and Edm.NavigationProperty that can only be used in the Type attribute of a Term or a property of a complex type that is used as the type of a term.

Add new attributes Xxx and NavigationProperty to Annotation and PropertyValue with the same syntax as the Path attribute:

<Annotation Term="Temporal.ApplicationPeriod">
   <PropertyValue Property="StartPeriod" Xxx="bus_start" />
   <PropertyValue Property="EndPeriod" Xxx="bus_end" />
</Annotation>

<Annotation Term="RelatedStuff" NavigationProperty="Suppliers" />

<Annotation Term="LookOverThere" Xxx="SupplierName" />

Unfortunately the canonical name for Xxx is Property, and that is already taken by PropertyValue.



> create a data type for property names
> -------------------------------------
>
>                 Key: ODATA-12
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-12
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL v1.0
>    Affects Versions: WD01
>            Reporter: Andrew Eisenberg
>            Assignee: Michael Pizzo
>            Priority: Minor
>             Fix For: WD01
>
>
> The Edm.String data type can be used to define a type annotation property when the property will hold the name of some other property. A more specific data type could be added to OData for this purpose.
> In the OData Extension for Temporal Data we suggested this annotation:
> <Annotation Term="Temporal.ApplicationPeriod">
>    <PropertyValue Property="StartPeriod" String="bus_start" />
>    <PropertyValue Property="EndPeriod" String="bus_end" />
> </Annotation>
> Instead of declaring StartPeriod and EndPeriod to be of type String, we could declare them to be of type PropertyName.

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