CLRA 0.1.2

com.clra.member
Class MemberName

java.lang.Object
  |
  +--com.clra.member.MemberName
All Implemented Interfaces:
Serializable

public class MemberName
extends Object
implements Serializable

Encapsulates information about the name of a CLRA member.

Version:
$Revision: 1.2 $ $Date: 2002/02/18 18:03:21 $
Author:
Rick Hall
See Also:
Serialized Form

Constructor Summary
MemberName()
          Produces an invalid MemberName instance.
MemberName(String first, String last)
           
MemberName(String first, String middle, String last)
           
MemberName(String first, String middle, String last, String suffix)
           
 
Method Summary
 String getFirstName()
           
 String getLastName()
           
 String getMiddleName()
           
 String getSuffix()
           
 boolean hasMiddleName()
           
 boolean hasSuffix()
           
 void setFirstName(String first)
           
 void setLastName(String last)
           
 void setMiddleName(String middle)
           
 void setSuffix(String suffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberName

public MemberName()
Produces an invalid MemberName instance. Used only during deserialization.

MemberName

public MemberName(String first,
                  String last)
Parameters:
first - the non-null, non-blank first name of a member.
last - the non-null, non-blank last name of a member.

MemberName

public MemberName(String first,
                  String middle,
                  String last)
Parameters:
first - the non-null, non-blank first name of a member.
middle - the middle name of a member, possibly blank or null.
last - the non-null, non-blank last name of a member.

MemberName

public MemberName(String first,
                  String middle,
                  String last,
                  String suffix)
Parameters:
first - the non-null, non-blank first name of a member.
middle - the middle name of a member, possibly blank or null.
last - the non-null, non-blank last name of a member.
suffix - the suffix of a member's name, possibly blank or null.
Method Detail

getFirstName

public String getFirstName()

setFirstName

public void setFirstName(String first)

hasMiddleName

public boolean hasMiddleName()

getMiddleName

public String getMiddleName()

setMiddleName

public void setMiddleName(String middle)

getLastName

public String getLastName()

setLastName

public void setLastName(String last)

hasSuffix

public boolean hasSuffix()

getSuffix

public String getSuffix()

setSuffix

public void setSuffix(String suffix)

CLRA 0.1.2