@Override
    public Optional<SchemaAndTable> getOverride(SchemaAndTable key) {
        for (NameMapping nameMapping : nameMappings) {
            Optional<SchemaAndTable> overridden = nameMapping.getOverride(key);
            if (overridden.isPresent()) {
                return overridden;
            }
        }
        return Optional.empty();
    }
A {@link NameMapping} implementation that accepts zero or more
{@link NameMapping}s and returns the first non-null mapping result.
querydsl-sql/src/main/java/com/querydsl/sql/namemapping/ChainedNameMapping.java