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

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

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

Enables a preference to be indicated for name information. 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" type="ns:NamePrefType" name="NamePref" minOccurs="0" maxOccurs="unbounded"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NamePrefType">
   <xs:sequence>
     <xs:element type="ns:UniqueID_Type" name="UniqueID"/>
     <xs:element type="ns:PersonNameType" name="PersonName"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
Profile.PrefCollections.PrefCollection.CommonPref.NamePref()
           
 
Method Summary
 PersonName getPersonName()
          Get the 'PersonName' element value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setPersonName(PersonName personName)
          Set the 'PersonName' element value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element 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.NamePref

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

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. Unique identifier for a person or profile.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. Unique identifier for a person or profile.

Parameters:
uniqueID -

getPersonName

public PersonName getPersonName()
Get the 'PersonName' element value. Name information.

Returns:
value

setPersonName

public void setPersonName(PersonName personName)
Set the 'PersonName' element value. Name information.

Parameters:
personName -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -