No personal preference, just want to consider options, and wondering if the
design is working (or needs a workaround).
I kind of thought we had a way to represent lists of content, indicate the
type of the list element, and then allow multiplicity to be zero to any,
nillable false.
On Fri, Jul 13, 2018 at 11:08 AM Andrea Aime <[email protected]>
wrote:
> On Fri, Jul 13, 2018 at 8:00 PM, Jody Garnett <[email protected]>
> wrote:
>
>> We do have some typed lists lurking around as dependencies ...
>>
>
> Yes but I'd need one for every possible type, and the client code would
> have to know about them.
>
>
>> But .. why not store the element type on the attribute descriptor? You
>> could use a user data hint if you have to ...
>>
>
> That is an option, but it would mean client code would have to know about
> it and look for it, while arrays are explicit and do not require
> any new convention.
>
> So lists have a nicer toString() working by default and do not require any
> extra work on that side, while arrays are explicit about the type
> and do not require any extra work on that particular side.
>
> Any significant reason (outside of personal preference) to go one way or
> the other?
>
> Cheers
> Andrea
>
> == GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A%0D%0A55054++Massarosa&entry=gmail&source=g>
> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
> http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
--
--
Jody Garnett
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel