public GoodwillSchemaField getFieldByName ( final String name ) { for ( final GoodwillSchemaField field : thriftItems . values ( ) ) { if ( field . getName ( ) . equals ( name ) ) { return field ; } } return null ; }
Given a name return the field matching the name .