Andrea Aime wrote:
>> Perhaps I am mis understanding; would you not just refer to the the 
>> above as "name" ? Are you getting conflicts between gml:name and 
>> something else?
> Conflicts are quite common since a "name" column is not forbidden
> in many dbs, as well as "location" (another gml:Feature attribute).
> I guess we could map those directly into the Feature ones, but
> users already complained about that... alternatively, we would
> just write over them, or have this as a configurable item.
> Justin, opinions?
Okay that is fine then; mapping the users content to what is needed for 
gml output is a seperate problem.
- Idea 1: leave it as a mapping problem
- Justin made specific "simple" types for Boolean, Integer and so on - 
why not have Name, Description, Bounds, Location and so ... Java 
developers would like the clarity and the code examples would read 
better, and the javadocs for those things can talk about GML2 and GML3 
mappings if you need to.
>> I think I need to see a code example on this one.
> What I mean is:
> ComplexAttribute.getValue() -> Collection<Property>
> then similarly it should be
> Association.getValue() -> Attribute
Oh I see; make Association consistent with ComplexAttribute.
> The equivalent of Association.getValue() == 
> Association.getRelated().getValue()
> would be
> ComplexAttribute.getValue() -> Collection<Object> (where Object
> is the Property value).
>
> Does this make sense? :)
Darn they both make sense to me now. Since most of the time we have 
associations they are going to be a ComplexAttribute I think your idea of
Association.getValue(): Attribute makes the most sense all around.

I am too busy today to update the javadocs ...do either you our Justin 
have time?
Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to