org.oasis.ebxml.registry.bindings.rim
Class PersonNameType

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rim.PersonNameType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PersonName

public abstract class PersonNameType
extends java.lang.Object
implements java.io.Serializable

Mapping of the same named interface in ebRIM.

See Also:
Serialized Form

Constructor Summary
PersonNameType()
           
 
Method Summary
 void addPersonNameTypeItem(int index, PersonNameTypeItem vPersonNameTypeItem)
           
 void addPersonNameTypeItem(PersonNameTypeItem vPersonNameTypeItem)
           
 void clearPersonNameTypeItem()
           
 java.util.Enumeration enumeratePersonNameTypeItem()
           
 java.lang.String getFirstName()
          Returns the value of field 'firstName'.
 java.lang.String getLastName()
          Returns the value of field 'lastName'.
 java.lang.String getMiddleName()
          Returns the value of field 'middleName'.
 PersonNameTypeItem[] getPersonNameTypeItem()
           
 PersonNameTypeItem getPersonNameTypeItem(int index)
           
 int getPersonNameTypeItemCount()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 boolean removePersonNameTypeItem(PersonNameTypeItem vPersonNameTypeItem)
           
 void setFirstName(java.lang.String firstName)
          Sets the value of field 'firstName'.
 void setLastName(java.lang.String lastName)
          Sets the value of field 'lastName'.
 void setMiddleName(java.lang.String middleName)
          Sets the value of field 'middleName'.
 void setPersonNameTypeItem(int index, PersonNameTypeItem vPersonNameTypeItem)
           
 void setPersonNameTypeItem(PersonNameTypeItem[] personNameTypeItemArray)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonNameType

public PersonNameType()
Method Detail

addPersonNameTypeItem

public void addPersonNameTypeItem(PersonNameTypeItem vPersonNameTypeItem)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
vPersonNameTypeItem -
Throws:
java.lang.IndexOutOfBoundsException

addPersonNameTypeItem

public void addPersonNameTypeItem(int index,
                                  PersonNameTypeItem vPersonNameTypeItem)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPersonNameTypeItem -
Throws:
java.lang.IndexOutOfBoundsException

clearPersonNameTypeItem

public void clearPersonNameTypeItem()

enumeratePersonNameTypeItem

public java.util.Enumeration enumeratePersonNameTypeItem()

getFirstName

public java.lang.String getFirstName()
Returns the value of field 'firstName'.

Returns:
the value of field 'firstName'.

getLastName

public java.lang.String getLastName()
Returns the value of field 'lastName'.

Returns:
the value of field 'lastName'.

getMiddleName

public java.lang.String getMiddleName()
Returns the value of field 'middleName'.

Returns:
the value of field 'middleName'.

getPersonNameTypeItem

public PersonNameTypeItem getPersonNameTypeItem(int index)
                                         throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getPersonNameTypeItem

public PersonNameTypeItem[] getPersonNameTypeItem()

getPersonNameTypeItemCount

public int getPersonNameTypeItemCount()

isValid

public boolean isValid()

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removePersonNameTypeItem

public boolean removePersonNameTypeItem(PersonNameTypeItem vPersonNameTypeItem)
Parameters:
vPersonNameTypeItem -

setFirstName

public void setFirstName(java.lang.String firstName)
Sets the value of field 'firstName'.

Parameters:
firstName - the value of field 'firstName'.

setLastName

public void setLastName(java.lang.String lastName)
Sets the value of field 'lastName'.

Parameters:
lastName - the value of field 'lastName'.

setMiddleName

public void setMiddleName(java.lang.String middleName)
Sets the value of field 'middleName'.

Parameters:
middleName - the value of field 'middleName'.

setPersonNameTypeItem

public void setPersonNameTypeItem(int index,
                                  PersonNameTypeItem vPersonNameTypeItem)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPersonNameTypeItem -
Throws:
java.lang.IndexOutOfBoundsException

setPersonNameTypeItem

public void setPersonNameTypeItem(PersonNameTypeItem[] personNameTypeItemArray)
Parameters:
personNameTypeItemArray -

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException