/** * Gets the class of the object. For a choice this is fairly useless, as * it just returns Object, since we can not tell more than that. * * @return currently always returns Object.class, since we can't tell more. * * @task REVISIT: Perhaps we should add a getTypes() method that returns an * array of classes, that would represent the classes that you can * choose from. * @task REVISIT: Would also be good if this could dynamically figure out * the broadest class - like Number if the choices were Double and * Integer. * * @see org.geotools.feature.AttributeType#getType() */ public final Class getType() { return getBinding(); }