public static final class Person.Factory extends Object
Person
.Constructor and Description |
---|
Person.Factory() |
Modifier and Type | Method and Description |
---|---|
static Person |
newInstance()
Constructs a new instance of
Person . |
static Person |
newInstance(String lastname,
String firstname,
Date creationDate,
Timestamp updateDate,
String employeeNumber,
String username,
Department department,
Status status)
Constructs a new instance of
Person , taking all required and/or
read-only properties as arguments, except for identifiers. |
static Person |
newInstance(String lastname,
String firstname,
String address,
Date creationDate,
String phoneNumber,
String mobileNumber,
String faxNumber,
String email,
Timestamp updateDate,
String employeeNumber,
String username,
String usernameExtranet,
Collection<Program2Person> program2Persons,
Collection<UserProfil> profils,
Department department,
Status status)
Constructs a new instance of
Person , taking all possible properties
(except the identifier(s))as arguments. |
public Person.Factory()
public static Person newInstance()
Person
.public static Person newInstance(String lastname, String firstname, Date creationDate, Timestamp updateDate, String employeeNumber, String username, Department department, Status status)
Person
, taking all required and/or
read-only properties as arguments, except for identifiers.lastname
- Stringfirstname
- StringcreationDate
- DateupdateDate
- TimestampemployeeNumber
- Stringusername
- Stringdepartment
- Departmentstatus
- Statuspublic static Person newInstance(String lastname, String firstname, String address, Date creationDate, String phoneNumber, String mobileNumber, String faxNumber, String email, Timestamp updateDate, String employeeNumber, String username, String usernameExtranet, Collection<Program2Person> program2Persons, Collection<UserProfil> profils, Department department, Status status)
Person
, taking all possible properties
(except the identifier(s))as arguments.lastname
- Stringfirstname
- Stringaddress
- StringcreationDate
- DatephoneNumber
- StringmobileNumber
- StringfaxNumber
- Stringemail
- StringupdateDate
- TimestampcryptPassword
- StringemployeeNumber
- Stringusername
- StringusernameExtranet
- Stringprogram2Persons
- Collectionprofils
- Collectiondepartment
- Departmentstatus
- StatusCopyright © 2012–2014 IFREMER. All rights reserved.