SimpleFeatureSource table = storeTable.getFeatureSource( "table" );
//GenericEntity.f004=description-f004|name-f004
FeatureId fid1 = ff.featureId("GenericEntity.f004");
Filter select = ff.id( Collections.singleton(fid1));
SimpleFeatureCollection featureCollection = table.getFeatures( select );
featureCollection.accepts(new FeatureVisitor() {
public void visit(Feature f) {
SimpleFeature feature = (SimpleFeature) f;
String name = (String) feature.getAttribute("name");
assertEquals( "name-f004", name );
}