// rid start
FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2();
Filter filter;
// grab a specific revision
filter = ff.id( ff.featureId("CITY.98734597823459687235","A457") );
// You can also use ResourceId to grab a specific revision
filter = ff.id( ff.resourceId("CITY.98734597823459687235","A457", new Version()) );
// grab the one before that