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

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

Go to download

This is the full Active Objects library, if you don't know which one to use, you probably want this one.

There is a newer version: 6.1.1
Show 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