edu.uoc.tfc.dbmodel.security
Class User.Factory
java.lang.Object
edu.uoc.tfc.dbmodel.security.User.Factory
- Enclosing class:
- User
public static final class User.Factory
- extends java.lang.Object
Constructs new instances of User
.
Method Summary |
static User |
newInstance()
Constructs a new instance of User . |
static User |
newInstance(java.lang.String userId,
java.lang.String password,
java.lang.String adress,
java.lang.Boolean active,
java.lang.String nom,
java.lang.String primerCognom,
java.lang.String segonCognom,
Role rol)
Constructs a new instance of User , taking all possible properties
(except the identifier(s))as arguments. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User.Factory
public User.Factory()
newInstance
public static User newInstance()
- Constructs a new instance of
User
.
newInstance
public static User newInstance(java.lang.String userId,
java.lang.String password,
java.lang.String adress,
java.lang.Boolean active,
java.lang.String nom,
java.lang.String primerCognom,
java.lang.String segonCognom,
Role rol)
- Constructs a new instance of
User
, taking all possible properties
(except the identifier(s))as arguments.