edu.columbia.surge
Interface PersonNameFactory
- All Known Implementing Classes:
- PersonNameFactoryH
- public abstract interface PersonNameFactory
This class holds the factory methods for the PersonName
class. Users can use this class to create instances of PersonName
objects with their desired parameters.
- See Also:
PersonName
Field Summary |
static PersonNameFactory |
factory
The static instance which helps users to access to the methods in
this class. |
Method Summary |
PersonName |
create()
|
PersonName |
create(java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String nickName,
java.lang.String title)
|
factory
public static final PersonNameFactory factory
- The static instance which helps users to access to the methods in
this class.
create
public PersonName create()
create
public PersonName create(java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String nickName,
java.lang.String title)
throws InvalidConstructorException,
InvalidPathException