org.ota.shared
Class URL

java.lang.Object
  extended by org.ota.shared.URL
Direct Known Subclasses:
Customer.URL

public class URL
extends java.lang.Object

Web site address, 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="URL_Type">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:PrivacyGroup"/>
       <xs:attribute type="xs:string" use="optional" name="Type"/>
       <xs:attributeGroup ref="ns:DefaultIndGroup"/>
     </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
URL()
           
 
Method Summary
 java.lang.Boolean getDefaultInd()
          Get the 'DefaultInd' attribute value.
 PrivacyGroup getPrivacyGroup()
          Get the 'PrivacyGroup' attributeGroup value.
 java.lang.String getString()
          Get the extension value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 void setDefaultInd(java.lang.Boolean defaultInd)
          Set the 'DefaultInd' attribute value.
 void setPrivacyGroup(PrivacyGroup privacyGroup)
          Set the 'PrivacyGroup' attributeGroup value.
 void setString(java.lang.String string)
          Set the extension value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URL

public URL()
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 URL data between parties.

Returns:
value

setPrivacyGroup

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

Parameters:
privacyGroup -

getType

public java.lang.String getType()
Get the 'Type' attribute value. Defines the purpose of the URL address, such as personal, business, public, etc.

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. Defines the purpose of the URL address, such as personal, business, public, etc.

Parameters:
type -

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 -