public MappedField getMappedField(final String storedName) {
        for (final MappedField mf : persistenceFields) {
            for (final String n : mf.getLoadNames()) {
                if (storedName.equals(n)) {
                    return mf;
                }
            }
        }

        return null;
    }
public MappedField getMappedField ( final String storedName ) { for ( final MappedField mf : persistenceFields ) { for ( final String n : mf . getLoadNames ( ) ) { if ( storedName . equals ( n ) ) { return mf ; } } } return null ; }
Returns the MappedField by the name that it will stored in mongodb as

@param storedName the name to search for
@return true if that mapped field name is found