com.tvd12.ezydata.database.query.EzySimpleQueryManager Maven / Gradle / Ivy
The newest version!
package com.tvd12.ezydata.database.query;
import com.tvd12.ezyfox.util.EzyLoggable;
import java.util.HashMap;
import java.util.Map;
public class EzySimpleQueryManager
extends EzyLoggable implements EzyQueryRegister {
protected final Map queries;
public EzySimpleQueryManager() {
this.queries = new HashMap<>();
}
@Override
public EzyQueryEntity getQuery(String name) {
return queries.get(name);
}
@Override
public Map getQueries() {
return new HashMap<>(queries);
}
@Override
public void addQuery(EzyQueryEntity query) {
this.queries.put(query.getName(), query);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy