[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: Allow new attribute in Annotation and PropertyValue with the same syntax as the Path attribute <Annotation Term="Temporal.ApplicationPeriod"> <PropertyValue Name="StartPeriod" Property="bus_start" /> <PropertyValue Name="EndPeriod" Property="bus_end" /> </Annotation> Description: 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 Name="StartPeriod" String="bus_start" /> <PropertyValue Name="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. was: 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: <TypeAnnotation Term="Temporal.ApplicationPeriod"> <PropertyValue Name="StartPeriod" String="bus_start" /> <PropertyValue Name="EndPeriod" String="bus_end" /> </TypeAnnotation> Instead of declaring StartPeriod and EndPeriod to be of type String, we could declare them to be of type PropertyName. > 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 Name="StartPeriod" String="bus_start" /> > <PropertyValue Name="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]