boon/src/main/java/org/boon/criteria/Selector.java
public static Selector select( final String propName ) {
        return new Selector( propName, propName ) {

            @Override
            public void handleRow( int index, Map<String, Object> row,
                                   Object item, Map<String, FieldAccess> fields ) {

                getPropertyValueAndPutIntoRow(row, item, fields);
            }


            @Override
            public void handleStart( Collection<?> results ) {
            }

            @Override
            public void handleComplete( List<Map<String, Object>> rows ) {
            }
        };
    }
public static Selector select( final String propName ) {
        return new Selector( propName, propName ) {

            @Override
            public void handleRow( int index, Map<String, Object> row,
                                   Object item, Map<String, FieldAccess> fields ) {

                getPropertyValueAndPutIntoRow(row, item, fields);
            }


            @Override
            public void handleStart( Collection<?> results ) {
            }

            @Override
            public void handleComplete( List<Map<String, Object>> rows ) {
            }
        };
    }
public static Selector select ( final String propName ) { return new Selector ( propName , propName ) { @ Override public void handleRow ( int index , Map < String , Object > row , Object item , Map < String , FieldAccess > fields ) { getPropertyValueAndPutIntoRow ( row , item , fields ) ; } @ Override public void handleStart ( Collection < ? > results ) { } @ Override public void handleComplete ( List < Map < String , Object > > rows ) { } } ; }
Allows you to select a property or property path.
@param propName name of property or property path
@return returns a Selector
Allows you to select a property or property path .