com.company.sakila.db0.sakila.country.generated.GeneratedCountryManagerImpl Maven / Gradle / Ivy
package com.company.sakila.db0.sakila.country.generated;
import com.company.sakila.db0.sakila.country.Country;
import com.company.sakila.db0.sakila.country.CountryManager;
import com.speedment.common.annotation.GeneratedCode;
import com.speedment.runtime.config.identifier.TableIdentifier;
import com.speedment.runtime.core.manager.AbstractManager;
import com.speedment.runtime.field.Field;
import java.util.stream.Stream;
/**
* The generated base implementation for the manager of every {@link
* com.company.sakila.db0.sakila.country.Country} entity.
*
* This file has been automatically generated by Speedment. Any changes made to
* it will be overwritten.
*
* @author Speedment
*/
@GeneratedCode("Speedment")
public abstract class GeneratedCountryManagerImpl
extends AbstractManager
implements GeneratedCountryManager {
private final TableIdentifier tableIdentifier;
protected GeneratedCountryManagerImpl() {
this.tableIdentifier = TableIdentifier.of("db0", "sakila", "country");
}
@Override
public TableIdentifier getTableIdentifier() {
return tableIdentifier;
}
@Override
public Stream> fields() {
return CountryManager.FIELDS.stream();
}
@Override
public Stream> primaryKeyFields() {
return Stream.of(
Country.COUNTRY_ID
);
}
}