com.sun.xml.registry.client.browser.registration
Class PersonNameModel

java.lang.Object
  extended bycom.sun.xml.registry.client.browser.registration.PersonNameModel
All Implemented Interfaces:
Model

public class PersonNameModel
extends java.lang.Object
implements Model

Author:
Fabian Ritzmann

Method Summary
 void setFirstName(java.lang.String text)
          Method setFirstName.
 void setLastName(java.lang.String text)
          Method setLastName.
 void setMiddleName(java.lang.String text)
          Method setMiddleName.
 void validate()
          Validates the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setFirstName

public void setFirstName(java.lang.String text)
                  throws javax.xml.registry.JAXRException
Method setFirstName.

Parameters:
text -
Throws:
javax.xml.registry.JAXRException

setMiddleName

public void setMiddleName(java.lang.String text)
                   throws javax.xml.registry.JAXRException
Method setMiddleName.

Parameters:
text -
Throws:
javax.xml.registry.JAXRException

setLastName

public void setLastName(java.lang.String text)
                 throws javax.xml.registry.JAXRException
Method setLastName.

Parameters:
text -
Throws:
javax.xml.registry.JAXRException

validate

public void validate()
              throws javax.xml.registry.JAXRException
Description copied from interface: Model
Validates the model. The method may alter the state of the object, e.g. remove empty elements.

Specified by:
validate in interface Model
Throws:
javax.xml.registry.JAXRException - Thrown if the model is invalid or validation encountered an internal error


Copyright © 2001-2004 OASIS. All Rights Reserved.