com.company.sakila.db0.sakila.city.generated.GeneratedCityManagerImpl Maven / Gradle / Ivy
package com.company.sakila.db0.sakila.city.generated;
import com.company.sakila.db0.sakila.city.City;
import com.company.sakila.db0.sakila.city.CityManager;
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.city.City} entity.
*
* This file has been automatically generated by Speedment. Any changes made to
* it will be overwritten.
*
* @author Speedment
*/
@GeneratedCode("Speedment")
public abstract class GeneratedCityManagerImpl
extends AbstractManager
implements GeneratedCityManager {
private final TableIdentifier tableIdentifier;
protected GeneratedCityManagerImpl() {
this.tableIdentifier = TableIdentifier.of("db0", "sakila", "city");
}
@Override
public TableIdentifier getTableIdentifier() {
return tableIdentifier;
}
@Override
public Stream> fields() {
return CityManager.FIELDS.stream();
}
@Override
public Stream> primaryKeyFields() {
return Stream.of(
City.CITY_ID
);
}
}