com.aliasi.medline
Class Name

java.lang.Object
  extended by com.aliasi.medline.Name

Deprecated. Moved to lingmed sandbox project.

@Deprecated
public class Name
extends Object

A Name is a structured record of a person's first, middle, last name and name suffixes, along with a standardized set of initials. Only the last name is guaranteed to exist.

Since:
LingPipe2.0
Version:
3.9.1
Author:
Bob Carpenter

Method Summary
 String foreName()
          Deprecated. Returns the first name.
 String fullName()
          Deprecated. Returns a formatted version of this name without field names.
 String initials()
          Deprecated. Return the standardized initials for the first name and middle name of this name.
 String lastName()
          Deprecated. Returns the last name.
 String middleName()
          Deprecated. Returns the middle name.
 NameId nameId()
          Deprecated. See class documentation.
 String suffix()
          Deprecated. Returns any suffix for the name.
 String toString()
          Deprecated. Returns a string-based representation of this name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

nameId

@Deprecated
public NameId nameId()
Deprecated. See class documentation.

Return the name identifier for this name, which includes the source and an identifier, or null if there is no identifier.

Returns:
The name identifier for this name.

fullName

public String fullName()
Deprecated. 
Returns a formatted version of this name without field names. The order of names is fore name, middle name, last name, and suffix. A single space character is inserted between each non-null name.


lastName

public String lastName()
Deprecated. 
Returns the last name.

Returns:
The last name.

foreName

public String foreName()
Deprecated. 
Returns the first name. May be the empty (zero length) string.

Returns:
The first name.

middleName

public String middleName()
Deprecated. 
Returns the middle name. May be the empty (zero length) string.

Returns:
The middle name.

suffix

public String suffix()
Deprecated. 
Returns any suffix for the name. May be the empty (zero length) string.

Returns:
The suffix for this name.

initials

public String initials()
Deprecated. 
Return the standardized initials for the first name and middle name of this name.

Returns:
The initials for this name.

toString

public String toString()
Deprecated. 
Returns a string-based representation of this name. The initials are elided.

Overrides:
toString in class Object
Returns:
A string-based representation of this name.