org.ota.hotel
Class URLs

java.lang.Object
  extended by org.ota.hotel.URLs

public class URLs
extends java.lang.Object

The URLs class identifies URI information. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="URLsType">
   <xs:sequence>
     <xs:element name="URL" maxOccurs="unbounded">
       <!-- Reference to inner class URL -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class URLs.URL
          Provides a Website address.
 
Constructor Summary
URLs()
           
 
Method Summary
 void addURL(URLs.URL item)
          Add a 'URL' element item.
 void clearURLs()
          Remove all 'URL' element items.
 URLs.URL getURL(int index)
          Get 'URL' element item by position.
 java.util.List<URLs.URL> getURLs()
          Get the list of 'URL' element items.
 void setURLs(java.util.List<URLs.URL> list)
          Set the list of 'URL' element items.
 int sizeURLs()
          Get the number of 'URL' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLs

public URLs()
Method Detail

getURLs

public java.util.List<URLs.URL> getURLs()
Get the list of 'URL' element items.

Returns:
list

setURLs

public void setURLs(java.util.List<URLs.URL> list)
Set the list of 'URL' element items.

Parameters:
list -

sizeURLs

public int sizeURLs()
Get the number of 'URL' element items.

Returns:
count

addURL

public void addURL(URLs.URL item)
Add a 'URL' element item.

Parameters:
item -

getURL

public URLs.URL getURL(int index)
Get 'URL' element item by position.

Parameters:
index -
Returns:
item

clearURLs

public void clearURLs()
Remove all 'URL' element items.