Sunburned Surveyor wrote: > But I had a quick question about the interface, now that I understand > the difference between PropertyType and PropertyDescriptor a little > bit better. > > Is there a reason why the methods that return instances of > AttributeDescriptor are not named something like > "getAttributeDescriptor" instead of "getAttribute". I think the idea is that "getAttribute" is shorter to type. > The currently naming seems a little confusing, since GeoTools really doesn't > have > the concept of a single class that encapsulates an Attribute. > Move up a level and you will find a single class that represents a Property; a property can be an Attribute (ie containment) or Association (ie reference). For SimpleFeature we are limiting ourself to containment; because that is "simple" :-)
Jody ------------------------------------------------------------------------- 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
