private Map < String , Field > getFieldsbyid ( ) { if ( fieldsbyid == null ) { fieldsbyid = new HashMap < String , Field > ( ) ; for ( Field f : getAllFields ( ) ) { fieldsbyid . put ( f . getId ( ) , f ) ; } } return fieldsbyid ; }
Getter for fieldsbyid . If its null this methods fill it