On Mon, 2008-06-02 at 09:08 -0700, Jody Garnett wrote: > The method is getAttribute; rather than getProperty because the idea of > SimpleFeature is that it is a fixed order of Attributes; and we leave > off Descriptor since that is "obvious" when you are working with type > information
Ah, yes this is needed unfortunate. We trade minor physical effort for minor brain effort when our brains are already struggling with the weight of the model but our fingers are young and nimble (mostly). We do the same thing in the Geometry API Position.getPosition(): DirectPosition much to my chagrin. If there were no objects of the same name, I could almost buy saving the effort (except that we 'squat' some namespace. However, when those methods appear to describe real objects: Attribute/Position, this is bad form. In Geometry, I plan to fix this with the usual 'deprecate first, remove later' cycle; I hope we could the same throughout the library. --adrian ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
