I was working on my DataObjectMetadata, which is something like a FeatureSchema for OpenJUMP. I realized that it is essentially the same thing as the org.opengis.feature.simple.SimpleFeatureType class, and that I could simply implement SimpleFeatureType to improve my DataObject module's compatability with the rest of GeoTools.
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". The currently naming seems a little confusing, since GeoTools really doesn't have the concept of a single class that encapsulates an Attribute. Just curious... Landon P.S. - I'll move forward by having DataObjectMetadata extend SimpleFeatureType. ------------------------------------------------------------------------- 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
