/**
   An interface for a class of names.
   
   @author Frank M. Carrano, Timothy M. Henry
   @version 5.0
*/
public interface NameInterface
{
   /** Sets the first and last names.
       @param firstName  A string that is the desired first name.
       @param lastName   A string that is the desired last name. */
  public void setName(String firstName, String lastName);
  
   /** Gets the full name.
       @return  A string containing the first and last names. */
   public String getName();

  public void setFirst(String firstName);
  public String getFirst();

  public void setLast(String lastName);
  public String getLast();

  public void giveLastNameTo(NameInterface aName);

  public String toString();
} // end NameInterface
