org.ota.hotel
Class RefPoints

java.lang.Object
  extended by org.ota.hotel.RefPoints
Direct Known Subclasses:
HotelDescriptiveContent.AreaInfo.RefPoints

public class RefPoints
extends java.lang.Object

Reference points in relation to/from the current entity. 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="RefPointsType">
   <xs:sequence>
     <xs:element name="RefPoint" maxOccurs="unbounded">
       <!-- Reference to inner class RefPoint -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class RefPoints.RefPoint
          Provides information on the location of an area attraction.
 
Constructor Summary
RefPoints()
           
 
Method Summary
 void addRefPoint(RefPoints.RefPoint item)
          Add a 'RefPoint' element item.
 void clearRefPoints()
          Remove all 'RefPoint' element items.
 RefPoints.RefPoint getRefPoint(int index)
          Get 'RefPoint' element item by position.
 java.util.List<RefPoints.RefPoint> getRefPoints()
          Get the list of 'RefPoint' element items.
 void setRefPoints(java.util.List<RefPoints.RefPoint> list)
          Set the list of 'RefPoint' element items.
 int sizeRefPoints()
          Get the number of 'RefPoint' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefPoints

public RefPoints()
Method Detail

getRefPoints

public java.util.List<RefPoints.RefPoint> getRefPoints()
Get the list of 'RefPoint' element items.

Returns:
list

setRefPoints

public void setRefPoints(java.util.List<RefPoints.RefPoint> list)
Set the list of 'RefPoint' element items.

Parameters:
list -

sizeRefPoints

public int sizeRefPoints()
Get the number of 'RefPoint' element items.

Returns:
count

addRefPoint

public void addRefPoint(RefPoints.RefPoint item)
Add a 'RefPoint' element item.

Parameters:
item -

getRefPoint

public RefPoints.RefPoint getRefPoint(int index)
Get 'RefPoint' element item by position.

Parameters:
index -
Returns:
item

clearRefPoints

public void clearRefPoints()
Remove all 'RefPoint' element items.