org.ota.shared
Class Paragraph.Choice

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

public static class Paragraph.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" maxOccurs="unbounded">
   <xs:element type="ns:FormattedTextTextType" name="Text"/>
   <xs:element type="xs:string" name="Image"/>
   <xs:element type="xs:string" name="URL"/>
   <xs:element name="ListItem">
     <xs:complexType>
       <xs:simpleContent>
         <xs:extension base="ns:FormattedTextTextType">
           <xs:attribute type="xs:int" use="optional" name="ListItem"/>
         </xs:extension>
       </xs:simpleContent>
     </xs:complexType>
   </xs:element>
 </xs:choice>
 


Constructor Summary
Paragraph.Choice()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 java.lang.String getImage()
          Get the 'Image' element value.
 FormattedTextText getListItemFormattedTextText()
          Get the extension value.
 java.lang.Integer getListItemListItem()
          Get the 'ListItem' attribute value.
 FormattedTextText getText()
          Get the 'Text' element value.
 java.lang.String getURL()
          Get the 'URL' element value.
 boolean ifImage()
          Check if Image is current selection for choice.
 boolean ifListItem()
          Check if ListItem is current selection for choice.
 boolean ifText()
          Check if Text is current selection for choice.
 boolean ifURL()
          Check if URL is current selection for choice.
 void setImage(java.lang.String image)
          Set the 'Image' element value.
 void setListItemFormattedTextText(FormattedTextText listItemFormattedTextText)
          Set the extension value.
 void setListItemListItem(java.lang.Integer listItemListItem)
          Set the 'ListItem' attribute value.
 void setText(FormattedTextText text)
          Set the 'Text' element value.
 void setURL(java.lang.String URL)
          Set the 'URL' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Paragraph.Choice

public Paragraph.Choice()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifText

public boolean ifText()
Check if Text is current selection for choice.

Returns:
true if selection, false if not

getText

public FormattedTextText getText()
Get the 'Text' element value. Formatted text content.

Returns:
value

setText

public void setText(FormattedTextText text)
Set the 'Text' element value. Formatted text content.

Parameters:
text -

ifImage

public boolean ifImage()
Check if Image is current selection for choice.

Returns:
true if selection, false if not

getImage

public java.lang.String getImage()
Get the 'Image' element value. An image for this paragraph.

Returns:
value

setImage

public void setImage(java.lang.String image)
Set the 'Image' element value. An image for this paragraph.

Parameters:
image -

ifURL

public boolean ifURL()
Check if URL is current selection for choice.

Returns:
true if selection, false if not

getURL

public java.lang.String getURL()
Get the 'URL' element value. A URL for this paragraph.

Returns:
value

setURL

public void setURL(java.lang.String URL)
Set the 'URL' element value. A URL for this paragraph.

Parameters:
URL -

ifListItem

public boolean ifListItem()
Check if ListItem is current selection for choice.

Returns:
true if selection, false if not

getListItemFormattedTextText

public FormattedTextText getListItemFormattedTextText()
Get the extension value.

Returns:
value

setListItemFormattedTextText

public void setListItemFormattedTextText(FormattedTextText listItemFormattedTextText)
Set the extension value.

Parameters:
listItemFormattedTextText -

getListItemListItem

public java.lang.Integer getListItemListItem()
Get the 'ListItem' attribute value.

Returns:
value

setListItemListItem

public void setListItemListItem(java.lang.Integer listItemListItem)
Set the 'ListItem' attribute value.

Parameters:
listItemListItem -