actually the easiest thing to check what happens is by modifying a
schema with the schema editor..
but - to answer your question: there is a method:
FeatureSchema.hasAttribute() .. so no need for a new method
stefan
-
mhm.. I think you can add attributes with the same name - so no exception.
So a check is worth to do, and I think some of the schema modifing
plugins (i.e. transfer attributes?) do such a check. Because then one
attribute name would receive a ending, saying that it is number 2 or so?
However, I
OK. I've spent some time looking at the Javadoc and the source code
for the FeatureSchema class, and I can't find the answer to this
question:
Would it make sense to check for the existence of an attribute in a
FeatureSchema with the same name as an attribute that is being added
to that schema, an