org.ota.hotel
Class Viewerships.Viewership.ProfileTypes.Profile
java.lang.Object
org.ota.hotel.Viewerships.Viewership.ProfileTypes.Profile
- Enclosing class:
- Viewerships.Viewership.ProfileTypes
public static class Viewerships.Viewership.ProfileTypes.Profile
- extends java.lang.Object
Profile types associated with the viewership, i.e, the types of profiles allowed to view this information. Please refer the OpenTravel Code tables.
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="ProfileType" maxOccurs="unbounded">
<xs:complexType>
<xs:attributeGroup ref="ns:ProfileTypeGroup"/>
</xs:complexType>
</xs:element>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ProfileTypeGroup">
<xs:attribute type="xs:string" use="optional" name="ProfileType"/>
</xs:attributeGroup>
Method Summary |
java.lang.String |
getProfile()
Get the 'ProfileType' attribute value. |
void |
setProfile(java.lang.String profile)
Set the 'ProfileType' attribute value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Viewerships.Viewership.ProfileTypes.Profile
public Viewerships.Viewership.ProfileTypes.Profile()
getProfile
public java.lang.String getProfile()
- Get the 'ProfileType' attribute value. Code to specify a profile such as Customer, Tour Operator, Corporation, etc. Refer to OpenTravel Code List Profile Type (PRT).
- Returns:
- value
setProfile
public void setProfile(java.lang.String profile)
- Set the 'ProfileType' attribute value. Code to specify a profile such as Customer, Tour Operator, Corporation, etc. Refer to OpenTravel Code List Profile Type (PRT).
- Parameters:
profile
-