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