You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by Ilya Egoshin <il...@myrealpage.com> on 2020/09/01 14:45:14 UTC

Single value and collection attributes

Hello,

I am trying to analyze RESO metadata to import data properly. I am using
the odata-client-core library for that. I found a problem with enum types:
how can I distinguish between an attribute that can have several values and
an attribute that can have a single value?
                <Property Name="AssociationFeeFrequency"
Type="Enums.FeeFrequency" MaxLength="25"/>
                <Property Name="AssociationFeeIncludes"
Type="Collection(Enums.AssociationFeeIncludes)"
MaxLength="1024"/>

Could you please advise how I can detect it using your lib?

Thank you,
Ilya Egoshin
Software Developer
MyRealPage.com
ilya@myrealpage.com