You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2014/11/25 06:18:12 UTC
[jira] [Closed] (OLINGO-498) Provide support for List of
ComplexType or SimpleType as attributes in ComplexType
[ https://issues.apache.org/jira/browse/OLINGO-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bolz closed OLINGO-498.
-------------------------------
> Provide support for List of ComplexType or SimpleType as attributes in ComplexType
> ----------------------------------------------------------------------------------
>
> Key: OLINGO-498
> URL: https://issues.apache.org/jira/browse/OLINGO-498
> Project: Olingo
> Issue Type: Improvement
> Components: odata2-core
> Affects Versions: V2 2.0.0
> Reporter: Kiran G
> Assignee: Michael Bolz
> Priority: Minor
>
> In the below snippet the attributes of User - addresses and roles are Collections and there is no support to define them programatically.
> {code}
> <ComplexType Name="Address">
> <Property Name="addressLine1" Type="Edm.String"/>
> <Property Name="addressLine2" Type="Edm.String"/>
> <Property Name="state" Type="Edm.String"/>
> <Property Name="country" Type="Edm.String"/>
> <Property Name="zip" Type="Edm.String"/>
> </ComplexType>
> <ComplexType Name="User">
> <Property Name="name" Type="Edm.String"/>
> <Property Name="addresses" Type="Collection(test.Address)"/>
> <Property Name="roles" Type="Collection(Edm.String)"/>
> </ComplexType>
> {code}
> There is only support to add a single ComplexType to another complex type and not the collection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)