[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 PropertyPath and NavigationPropertyPath to Annotation and PropertyValue with the same syntax as the Path attribute:
<Annotation Term="Temporal.ApplicationPeriod">
<PropertyValue Property="StartPeriod" PropertyPath="bus_start" />
<PropertyValue Property="EndPeriod" PropertyPath="bus_end" />
</Annotation>
<Annotation Term="RelatedStuff" NavigationPropertyPath="Suppliers" />
<Annotation Term="LookOverThere">
<PropertyPath>SupplierName</PropertyPath>
</Annotation>
Also introduce elements for element notation of annotation values.
Accepted: https://www.oasis-open.org/committees/download.php/48097/odata-meeting-23_on-20130130_31-F2F-minutes.html#odata-12
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 PropertyPath and NavigationPropertyPath to Annotation and PropertyValue with the same syntax as the Path attribute:
<Annotation Term="Temporal.ApplicationPeriod">
<PropertyValue Property="StartPeriod" PropertyPath="bus_start" />
<PropertyValue Property="EndPeriod" PropertyPath="bus_end" />
</Annotation>
<Annotation Term="RelatedStuff" NavigationPropertyPath="Suppliers" />
<Annotation Term="LookOverThere">
<PropertyPath>SupplierName</PropertyPath>
</Annotation>
Also introduce elements for element notation of annotation values.
> 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]