org.ota.shared
Class Email

java.lang.Object
  extended by org.ota.shared.Email
Direct Known Subclasses:
Customer.Email, Profile.CompanyInfo.Email

public class Email
extends java.lang.Object

Electronic email addresses, in IETF specified format. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="EmailType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:PrivacyGroup"/>
       <xs:attributeGroup ref="ns:DefaultIndGroup"/>
       <xs:attribute type="xs:string" use="optional" name="EmailType"/>
       <xs:attribute type="xs:string" use="optional" name="RPH"/>
       <xs:attribute type="xs:string" use="optional" name="Remark"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DefaultIndGroup">
   <xs:attribute type="xs:boolean" use="optional" name="DefaultInd"/>
 </xs:attributeGroup>
 


Constructor Summary
Email()
           
 
Method Summary
 java.lang.Boolean getDefaultInd()
          Get the 'DefaultInd' attribute value.
 java.lang.String getEmail()
          Get the 'EmailType' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.lang.String getRemark()
          Get the 'Remark' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 java.lang.String getString()
          Get the extension value.
 void setDefaultInd(java.lang.Boolean defaultInd)
          Set the 'DefaultInd' attribute value.
 void setEmail(java.lang.String email)
          Set the 'EmailType' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setRemark(java.lang.String remark)
          Set the 'Remark' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Email

public Email()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getPrivacyGroup

public PrivacyGroup getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of email information between parties.

Returns:
value

setPrivacyGroup

public void setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. Allows for control of the sharing of email information between parties.

Parameters:
privacyGroup -

getDefaultInd

public java.lang.Boolean getDefaultInd()
Get the 'DefaultInd' attribute value. When true, indicates a default value should be used. false

Returns:
value

setDefaultInd

public void setDefaultInd(java.lang.Boolean defaultInd)
Set the 'DefaultInd' attribute value. When true, indicates a default value should be used. false

Parameters:
defaultInd -

getEmail

public java.lang.String getEmail()
Get the 'EmailType' attribute value. Defines the purpose of the e-mail address (e.g. personal, business, listserve). Refer to OpenTravel Code List Email Address Type (EAT).

Returns:
value

setEmail

public void setEmail(java.lang.String email)
Set the 'EmailType' attribute value. Defines the purpose of the e-mail address (e.g. personal, business, listserve). Refer to OpenTravel Code List Email Address Type (EAT).

Parameters:
email -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. Used elsewhere in the message to reference this specific email address.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. Used elsewhere in the message to reference this specific email address.

Parameters:
RPH -

getRemark

public java.lang.String getRemark()
Get the 'Remark' attribute value. A remark associated with the e-mail address.

Returns:
value

setRemark

public void setRemark(java.lang.String remark)
Set the 'Remark' attribute value. A remark associated with the e-mail address.

Parameters:
remark -