org.ota.hotel
Class Viewerships.Viewership.ProfileRefs

java.lang.Object
  extended by org.ota.hotel.Viewerships.Viewership.ProfileRefs
Enclosing class:
Viewerships.Viewership

public static class Viewerships.Viewership.ProfileRefs
extends java.lang.Object

A collection of profile references. 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="ProfileRefs" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:UniqueID_Type" name="ProfileRef" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Viewerships.Viewership.ProfileRefs()
           
 
Method Summary
 void addProfileRef(UniqueID item)
          Add a 'ProfileRef' element item.
 void clearProfileRefs()
          Remove all 'ProfileRef' element items.
 UniqueID getProfileRef(int index)
          Get 'ProfileRef' element item by position.
 java.util.List<UniqueID> getProfileRefs()
          Get the list of 'ProfileRef' element items.
 void setProfileRefs(java.util.List<UniqueID> list)
          Set the list of 'ProfileRef' element items.
 int sizeProfileRefs()
          Get the number of 'ProfileRef' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Viewerships.Viewership.ProfileRefs

public Viewerships.Viewership.ProfileRefs()
Method Detail

getProfileRefs

public java.util.List<UniqueID> getProfileRefs()
Get the list of 'ProfileRef' element items. The actual Unique ID of the profile associated with the viewship, i.e. this is the pointer to the profile on the trading partners system for the company, agency, etc that is allowed to view this information.

Returns:
list

setProfileRefs

public void setProfileRefs(java.util.List<UniqueID> list)
Set the list of 'ProfileRef' element items. The actual Unique ID of the profile associated with the viewship, i.e. this is the pointer to the profile on the trading partners system for the company, agency, etc that is allowed to view this information.

Parameters:
list -

sizeProfileRefs

public int sizeProfileRefs()
Get the number of 'ProfileRef' element items.

Returns:
count

addProfileRef

public void addProfileRef(UniqueID item)
Add a 'ProfileRef' element item.

Parameters:
item -

getProfileRef

public UniqueID getProfileRef(int index)
Get 'ProfileRef' element item by position.

Parameters:
index -
Returns:
item

clearProfileRefs

public void clearProfileRefs()
Remove all 'ProfileRef' element items.