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