org.ota.hotel
Class Properties

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

public class Properties
extends java.lang.Object

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="PropertiesType">
   <xs:sequence>
     <xs:element name="Property" maxOccurs="unbounded">
       <!-- Reference to inner class Property -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Properties.Property
          Schema fragment(s) for this class:
 
Constructor Summary
Properties()
           
 
Method Summary
 void addProperty(Properties.Property item)
          Add a 'Property' element item.
 void clearProperties()
          Remove all 'Property' element items.
 java.util.List<Properties.Property> getProperties()
          Get the list of 'Property' element items.
 Properties.Property getProperty(int index)
          Get 'Property' element item by position.
 void setProperties(java.util.List<Properties.Property> list)
          Set the list of 'Property' element items.
 int sizeProperties()
          Get the number of 'Property' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
Method Detail

getProperties

public java.util.List<Properties.Property> getProperties()
Get the list of 'Property' element items.

Returns:
list

setProperties

public void setProperties(java.util.List<Properties.Property> list)
Set the list of 'Property' element items.

Parameters:
list -

sizeProperties

public int sizeProperties()
Get the number of 'Property' element items.

Returns:
count

addProperty

public void addProperty(Properties.Property item)
Add a 'Property' element item.

Parameters:
item -

getProperty

public Properties.Property getProperty(int index)
Get 'Property' element item by position.

Parameters:
index -
Returns:
item

clearProperties

public void clearProperties()
Remove all 'Property' element items.