/**
  * Adds a collection of restrictions to the next attribute added to the
  *
  * <p>This value is reset after a call to {@link #add(String, Class)}
  */
 public SimpleFeatureTypeBuilder restrictions(List<Filter> filters) {
   for (Filter f : filters) {
     attributeBuilder.addRestriction(f);
   }
   return this;
 }
 /**
  * Adds a restriction to the next attribute added to the feature type.
  *
  * <p>This value is reset after a call to {@link #add(String, Class)}
  */
 public SimpleFeatureTypeBuilder restriction(Filter filter) {
   attributeBuilder.addRestriction(filter);
   return this;
 }