com.sun.xml.registry.uddi.infomodel
Class PersonNameImpl

java.lang.Object
  extended by com.sun.xml.registry.uddi.infomodel.PersonNameImpl
All Implemented Interfaces:
Serializable, PersonName

public class PersonNameImpl
extends Object
implements PersonName, Serializable

Implementation of PersonName interface

Author:
Bobby Bissett
See Also:
Serialized Form

Constructor Summary
PersonNameImpl()
          Default constructor
PersonNameImpl(String fullName)
          Utility constructor given the person's name
 
Method Summary
 String getFirstName()
          Level 1 method
 String getFullName()
          The fully formatted name for this Person.
 String getLastName()
          Level 1 method
 String getMiddleName()
          Level 1 method
 void setFirstName(String firstName)
          Level 1 method
 void setFullName(String fullName)
          Sets the fully formatted name for this Person.
 void setLastName(String lastName)
          Level 1 method
 void setMiddleName(String middleName)
          Level 1 method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonNameImpl

public PersonNameImpl()
Default constructor


PersonNameImpl

public PersonNameImpl(String fullName)
Utility constructor given the person's name

Method Detail

getFullName

public String getFullName()
                   throws JAXRException
The fully formatted name for this Person.

Specified by:
getFullName in interface PersonName
Returns:
the person's full name
Throws:
JAXRException - If the JAXR provider encounters an internal error

setFullName

public void setFullName(String fullName)
                 throws JAXRException
Sets the fully formatted name for this Person.

Specified by:
setFullName in interface PersonName
Parameters:
fullName - the person's full name
Throws:
JAXRException - If the JAXR provider encounters an internal error

getFirstName

public String getFirstName()
                    throws JAXRException
Level 1 method

Specified by:
getFirstName in interface PersonName
Returns:
the person's first name
Throws:
JAXRException - If the JAXR provider encounters an internal error

getLastName

public String getLastName()
                   throws JAXRException
Level 1 method

Specified by:
getLastName in interface PersonName
Returns:
the person's last name
Throws:
JAXRException - If the JAXR provider encounters an internal error

getMiddleName

public String getMiddleName()
                     throws JAXRException
Level 1 method

Specified by:
getMiddleName in interface PersonName
Returns:
the person's middle name
Throws:
JAXRException - If the JAXR provider encounters an internal error

setFirstName

public void setFirstName(String firstName)
                  throws JAXRException
Level 1 method

Specified by:
setFirstName in interface PersonName
Parameters:
firstName - the person's first name
Throws:
JAXRException - If the JAXR provider encounters an internal error

setLastName

public void setLastName(String lastName)
                 throws JAXRException
Level 1 method

Specified by:
setLastName in interface PersonName
Parameters:
lastName - the person's last name
Throws:
JAXRException - If the JAXR provider encounters an internal error

setMiddleName

public void setMiddleName(String middleName)
                   throws JAXRException
Level 1 method

Specified by:
setMiddleName in interface PersonName
Parameters:
middleName - the person's middle name
Throws:
JAXRException - If the JAXR provider encounters an internal error


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.