org.ota.screen
Class TextRS.TextScreens

java.lang.Object
  extended by org.ota.screen.TextRS.TextScreens
Enclosing class:
TextRS

public static class TextRS.TextScreens
extends java.lang.Object

The container for the screens of text that will be returned. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TextScreens" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="TextScreen" maxOccurs="999">
         <!-- Reference to inner class TextScreen -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="ScreenLineInd"/>
     <xs:attribute type="xs:string" use="optional" name="ScreenRowsNum"/>
     <xs:attribute type="xs:string" use="optional" name="ScreenColumnsNum"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="MergeScreenIndicator"/>
     <xs:attribute type="xs:boolean" use="optional" name="MoreIndicator"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class TextRS.TextScreens.TextScreen
          One screen of text data.
 
Constructor Summary
TextRS.TextScreens()
           
 
Method Summary
 void addTextScreen(TextRS.TextScreens.TextScreen item)
          Add a 'TextScreen' element item.
 void clearTextScreens()
          Remove all 'TextScreen' element items.
 java.lang.Boolean getMergeScreenIndicator()
          Get the 'MergeScreenIndicator' attribute value.
 java.lang.Boolean getMoreIndicator()
          Get the 'MoreIndicator' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getScreenColumnsNum()
          Get the 'ScreenColumnsNum' attribute value.
 java.lang.Boolean getScreenLineInd()
          Get the 'ScreenLineInd' attribute value.
 java.lang.String getScreenRowsNum()
          Get the 'ScreenRowsNum' attribute value.
 TextRS.TextScreens.TextScreen getTextScreen(int index)
          Get 'TextScreen' element item by position.
 java.util.List<TextRS.TextScreens.TextScreen> getTextScreens()
          Get the list of 'TextScreen' element items.
 void setMergeScreenIndicator(java.lang.Boolean mergeScreenIndicator)
          Set the 'MergeScreenIndicator' attribute value.
 void setMoreIndicator(java.lang.Boolean moreIndicator)
          Set the 'MoreIndicator' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setScreenColumnsNum(java.lang.String screenColumnsNum)
          Set the 'ScreenColumnsNum' attribute value.
 void setScreenLineInd(java.lang.Boolean screenLineInd)
          Set the 'ScreenLineInd' attribute value.
 void setScreenRowsNum(java.lang.String screenRowsNum)
          Set the 'ScreenRowsNum' attribute value.
 void setTextScreens(java.util.List<TextRS.TextScreens.TextScreen> list)
          Set the list of 'TextScreen' element items.
 int sizeTextScreens()
          Get the number of 'TextScreen' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextRS.TextScreens

public TextRS.TextScreens()
Method Detail

getTextScreens

public java.util.List<TextRS.TextScreens.TextScreen> getTextScreens()
Get the list of 'TextScreen' element items.

Returns:
list

setTextScreens

public void setTextScreens(java.util.List<TextRS.TextScreens.TextScreen> list)
Set the list of 'TextScreen' element items.

Parameters:
list -

sizeTextScreens

public int sizeTextScreens()
Get the number of 'TextScreen' element items.

Returns:
count

addTextScreen

public void addTextScreen(TextRS.TextScreens.TextScreen item)
Add a 'TextScreen' element item.

Parameters:
item -

getTextScreen

public TextRS.TextScreens.TextScreen getTextScreen(int index)
Get 'TextScreen' element item by position.

Parameters:
index -
Returns:
item

clearTextScreens

public void clearTextScreens()
Remove all 'TextScreen' element items.


getScreenLineInd

public java.lang.Boolean getScreenLineInd()
Get the 'ScreenLineInd' attribute value. If true, one line of text screen data is being sent per TextData element.

Returns:
value

setScreenLineInd

public void setScreenLineInd(java.lang.Boolean screenLineInd)
Set the 'ScreenLineInd' attribute value. If true, one line of text screen data is being sent per TextData element.

Parameters:
screenLineInd -

getScreenRowsNum

public java.lang.String getScreenRowsNum()
Get the 'ScreenRowsNum' attribute value. The number of rows for the screen..

Returns:
value

setScreenRowsNum

public void setScreenRowsNum(java.lang.String screenRowsNum)
Set the 'ScreenRowsNum' attribute value. The number of rows for the screen..

Parameters:
screenRowsNum -

getScreenColumnsNum

public java.lang.String getScreenColumnsNum()
Get the 'ScreenColumnsNum' attribute value. The number of columns for the screen.

Returns:
value

setScreenColumnsNum

public void setScreenColumnsNum(java.lang.String screenColumnsNum)
Set the 'ScreenColumnsNum' attribute value. The number of columns for the screen.

Parameters:
screenColumnsNum -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -

getMergeScreenIndicator

public java.lang.Boolean getMergeScreenIndicator()
Get the 'MergeScreenIndicator' attribute value. If true, the screens returned have been merged into a continuous string in one TextScreen element.

Returns:
value

setMergeScreenIndicator

public void setMergeScreenIndicator(java.lang.Boolean mergeScreenIndicator)
Set the 'MergeScreenIndicator' attribute value. If true, the screens returned have been merged into a continuous string in one TextScreen element.

Parameters:
mergeScreenIndicator -

getMoreIndicator

public java.lang.Boolean getMoreIndicator()
Get the 'MoreIndicator' attribute value. If true, there are more screens to be returned.

Returns:
value

setMoreIndicator

public void setMoreIndicator(java.lang.Boolean moreIndicator)
Set the 'MoreIndicator' attribute value. If true, there are more screens to be returned.

Parameters:
moreIndicator -