All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.ao.builder.EntityManagerBuilderWithUrlAndUsername Maven / Gradle / Ivy

The newest version!
package net.java.ao.builder;

/**
 * This is class used to build {@link net.java.ao.EntityManager}
 *
 * @see EntityManagerBuilder
 * @see EntityManagerBuilderWithUrl
 * @see EntityManagerBuilderWithDatabaseProperties
 */
public final class EntityManagerBuilderWithUrlAndUsername {
    private final String url;
    private final String username;

    EntityManagerBuilderWithUrlAndUsername(String url, String username) {
        this.url = url;
        this.username = username;
    }

    public EntityManagerBuilderWithUrlAndUsernameAndPassword password(final String password) {
        return new EntityManagerBuilderWithUrlAndUsernameAndPassword(url, username, password);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy