Hello all,

Below you will find the two alternate plans I have come up with regard
to the api changes needed for the 2.4 feature model. Can each of those
interested who provided feedback (currently Andrea,Jody,and Martin)
please vote on the option which they prefer.

It would also be nice if those PMC who have not provided feedback as of
yet could also vote.

The reason I have included two plans is that we have not yet had a
formal vote to move to Java 5. But I also know that both Martin and Jody
support the switch, and it is close on the horizon. And as it will
return in less burden on client code when they switch to the new api it
benefits my work as well. So this is *also* a vote on whether to make
the change to java 5.

If you choose the Java 5 option, could you also please vote on whether
you would like to make the change to FeatureType (see note below).

Also note that if the Java 5 route is chosen it will require that we
release 2.4 against java 5, and not just 2.5.

A. Java 5 Option:

AttributeType:
 * rename "getName()" to "getLocalName()"
 * rename "getType()" to "getBinding()"

Feature:
 * retype "getBounds()" to "ReferencedEnvelope"
 * rename "getDefaultGeometry()" to "getPrimaryGeometry()"

FeatureType:
 * rename "getDefaultGeometry()" to "getPrimaryGeometry()"

** Note:  The change on FeatureType is technically not needed with type
narrowing, but we may wish to rename it to maintain consistency with the
change to Feature.

B. Non Java 5 Option:

AttributeType:
 * rename "getName()" to "getLocalName()"
 * rename "getType()" to "getBinding()"

Feature:
 * rename "getBounds()" to "getBoundingBox()"
 * rename "getDefaultGeometry()" to "getPrimaryGeometry()"

FeatureType:
 * rename "getDefaultGeometry()" to "getPrimaryGeometry()"

Just a further clarification. When I say "rename" what i mean is add the
new method, and deprecate the old one.

Many thanks.

-Justin

-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to