org.ota.shared
Class Document.Choice

java.lang.Object
  extended by org.ota.shared.Document.Choice
Enclosing class:
Document

public static class Document.Choice
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:choice xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" minOccurs="0">
   <xs:element type="xs:string" name="DocHolderName" minOccurs="0"/>
   <xs:element type="ns:PersonNameType" name="DocHolderFormattedName" minOccurs="0"/>
 </xs:choice>
 


Constructor Summary
Document.Choice()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 PersonName getDocHolderFormattedName()
          Get the 'DocHolderFormattedName' element value.
 java.lang.String getDocHolderName()
          Get the 'DocHolderName' element value.
 boolean ifDocHolderFormattedName()
          Check if DocHolderFormattedName is current selection for choice.
 boolean ifDocHolderName()
          Check if DocHolderName is current selection for choice.
 void setDocHolderFormattedName(PersonName docHolderFormattedName)
          Set the 'DocHolderFormattedName' element value.
 void setDocHolderName(java.lang.String docHolderName)
          Set the 'DocHolderName' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document.Choice

public Document.Choice()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifDocHolderName

public boolean ifDocHolderName()
Check if DocHolderName is current selection for choice.

Returns:
true if selection, false if not

getDocHolderName

public java.lang.String getDocHolderName()
Get the 'DocHolderName' element value. The name of the document holder in unformatted text (Mr. Sam Jones).

Returns:
value

setDocHolderName

public void setDocHolderName(java.lang.String docHolderName)
Set the 'DocHolderName' element value. The name of the document holder in unformatted text (Mr. Sam Jones).

Parameters:
docHolderName -

ifDocHolderFormattedName

public boolean ifDocHolderFormattedName()
Check if DocHolderFormattedName is current selection for choice.

Returns:
true if selection, false if not

getDocHolderFormattedName

public PersonName getDocHolderFormattedName()
Get the 'DocHolderFormattedName' element value. The name of document holder in formatted text.

Returns:
value

setDocHolderFormattedName

public void setDocHolderFormattedName(PersonName docHolderFormattedName)
Set the 'DocHolderFormattedName' element value. The name of document holder in formatted text.

Parameters:
docHolderFormattedName -