org.ota.profile
Class Profile.PrefCollections.PrefCollection.CommonPref.ContactPref

java.lang.Object
  extended by org.ota.profile.Profile.PrefCollections.PrefCollection.CommonPref.ContactPref
Enclosing class:
Profile.PrefCollections.PrefCollection.CommonPref

public static class Profile.PrefCollections.PrefCollection.CommonPref.ContactPref
extends java.lang.Object

The traveller's preferred means of being contacted. 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="ContactPref" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
     <xs:attribute type="xs:string" use="optional" name="ContactMethodCode"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Profile.PrefCollections.PrefCollection.CommonPref.ContactPref()
           
 
Method Summary
 java.lang.String getContactMethodCode()
          Get the 'ContactMethodCode' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setContactMethodCode(java.lang.String contactMethodCode)
          Set the 'ContactMethodCode' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile.PrefCollections.PrefCollection.CommonPref.ContactPref

public Profile.PrefCollections.PrefCollection.CommonPref.ContactPref()
Method Detail

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Level of preference for this method of being contacted.

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Level of preference for this method of being contacted.

Parameters:
preferLevel -

getContactMethodCode

public java.lang.String getContactMethodCode()
Get the 'ContactMethodCode' attribute value. Method of contact. Refer to OpenTravel Code List DistributionType (DTB).

Returns:
value

setContactMethodCode

public void setContactMethodCode(java.lang.String contactMethodCode)
Set the 'ContactMethodCode' attribute value. Method of contact. Refer to OpenTravel Code List DistributionType (DTB).

Parameters:
contactMethodCode -