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] Created: (ODATA-86) Allow TypeAnnotation only to target entity types and complex types


Allow TypeAnnotation only to target entity types and complex types
------------------------------------------------------------------

                 Key: ODATA-86
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-86
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData CSDL v1.0
    Affects Versions: WD01
         Environment: [Proposed]
            Reporter: Martin Zurmuehl
             Fix For: WD01


Type annotations annotate a model element with a type term (either an edm:EntityType or an edm:ComplexType can be used as a type term). A type term implies that a type can be instantiated from the annotated element.
Currentlly the specifications allows to annotate the following model elements via type annotations:
edm:Annotations
edm:ComplexType
edm:EntitySet
edm:EntityType
edm:EnumType
edm:Function
edm:FunctionImport
edm:NavigationProperty
edm:Parameter
edm:Property
edm:ValueTerm

This should be restricted to the following two model elements:
 edm:ComplexType
 edm:EntitySet

Reason: For all other model elements it's unclear/undefined how a new type can be instantiated from the annotated element.
If we just want to extend an existing model element with additional data we can annotate it with ValueAnnotations.


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