Jody Garnett ha scritto: >> Erk, isCreateSchema() means nothing to me, seems like an unfinished question. > > Apparently; searching for a consistent set of names using a code example.. > >> I can go for isCreateSchemaSupported() if you want to use javabean >> conventions. > > DataCapabilities capabilities = ds.getCapabilities(); > if(!capabilities.isCreateSchemaSupported()) { > ... > } > > Does not really work for me, too much duplication. Better stick to the > proposal as written.
Duplication... where? The 1-1 connection between capabilities and supports might be in your mind, but it's certainly not in mine ;-) Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel