org.ota.hotel
Class ContactInfo.Emails.Email

java.lang.Object
  extended by org.ota.hotel.ContactInfo.Emails.Email
Enclosing class:
ContactInfo.Emails

public static class ContactInfo.Emails.Email
extends java.lang.Object

Used to pass detailed email 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" name="Email" maxOccurs="unbounded">
   <xs:complexType>
     <xs:simpleContent>
       <xs:extension base="ns:EmailType">
         <xs:attributeGroup ref="ns:RemovalGroup"/>
         <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
       </xs:extension>
     </xs:simpleContent>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RemovalGroup">
   <xs:attribute type="xs:boolean" use="optional" name="Removal"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Constructor Summary
ContactInfo.Emails.Email()
           
 
Method Summary
 Email getEmail()
          Get the extension value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.Boolean getRemoval()
          Get the 'Removal' attribute value.
 void setEmail(Email email)
          Set the extension value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setRemoval(java.lang.Boolean removal)
          Set the 'Removal' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactInfo.Emails.Email

public ContactInfo.Emails.Email()
Method Detail

getEmail

public Email getEmail()
Get the extension value.

Returns:
value

setEmail

public void setEmail(Email email)
Set the extension value.

Parameters:
email -

getRemoval

public java.lang.Boolean getRemoval()
Get the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Returns:
value

setRemoval

public void setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Parameters:
removal -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -