* @return a simple feature type builder that is ready for the addition of location and count
* properties
*/
private SimpleFeatureTypeBuilder buildPartialBuilder() {
String uri = "http://example.org/things";
FeatureTypeFactoryImpl typeFactory = new FeatureTypeFactoryImpl();
SimpleFeatureTypeBuilder builder = new SimpleFeatureTypeBuilder(typeFactory);
builder.addBinding(typeFactory.createGeometryType(new NameImpl(uri, "description"),
String.class, null, false, false, Collections.EMPTY_LIST, null, null));
builder.addBinding(typeFactory.createGeometryType(new NameImpl(uri, "location"),
Point.class, null, false, false, Collections.EMPTY_LIST, null, null));
builder.addBinding(typeFactory.createAttributeType(new NameImpl(uri, "count"),
Integer.class, false, false, Collections.EMPTY_LIST, null, null));
builder.setName("ThingsType");
builder.setNamespaceURI(uri);
builder.add("description", String.class);
return builder;