
net.sf.aguacate.context.spi.sql.impl.AbstractBasicSentenceSql Maven / Gradle / Ivy
package net.sf.aguacate.context.spi.sql.impl;
import java.util.List;
import net.sf.aguacate.context.spi.sql.SentenceSql;
public abstract class AbstractBasicSentenceSql implements SentenceSql {
private final String name;
private final List methods;
public AbstractBasicSentenceSql(String name, List methods) {
this.name = name;
this.methods = methods;
}
@Override
public String getName() {
return name;
}
@Override
public boolean validFor(String method) {
return methods.contains(method);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy