edu.uoc.tfc.dbmodel.security
Class User.Factory

java.lang.Object
  extended by 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.


Constructor Summary
User.Factory()
           
 
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
 

Constructor Detail

User.Factory

public User.Factory()
Method Detail

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.