net.java.ao.builder.EntityManagerBuilderWithUrl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activeobjects Show documentation
Show all versions of activeobjects Show documentation
This is the full Active Objects library, if you don't know which one to use, you probably want this one.
The newest version!
package net.java.ao.builder;
/**
* This is class used to build {@link net.java.ao.EntityManager}
*
* @see EntityManagerBuilder
* @see EntityManagerBuilderWithUrlAndUsername
* @see EntityManagerBuilderWithDatabaseProperties
*/
public final class EntityManagerBuilderWithUrl {
private final String url;
EntityManagerBuilderWithUrl(String url) {
this.url = url;
}
public EntityManagerBuilderWithUrlAndUsername username(String username) {
return new EntityManagerBuilderWithUrlAndUsername(url, username);
}
}