org.ota.loyalty
Class AccountInfo.SecurityInfo

java.lang.Object
  extended by org.ota.loyalty.AccountInfo.SecurityInfo
Enclosing class:
AccountInfo

public static class AccountInfo.SecurityInfo
extends java.lang.Object

Information allowing member to securely access account. 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="SecurityInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="PasswordHint" minOccurs="0" maxOccurs="2">
         <!-- Reference to inner class PasswordHint -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" name="Username"/>
     <xs:attribute type="xs:string" name="Password"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AccountInfo.SecurityInfo.PasswordHint
          Alternate method to password for account access.
 
Constructor Summary
AccountInfo.SecurityInfo()
           
 
Method Summary
 void addPasswordHint(AccountInfo.SecurityInfo.PasswordHint item)
          Add a 'PasswordHint' element item.
 void clearPasswordHints()
          Remove all 'PasswordHint' element items.
 java.lang.String getPassword()
          Get the 'Password' attribute value.
 AccountInfo.SecurityInfo.PasswordHint getPasswordHint(int index)
          Get 'PasswordHint' element item by position.
 java.util.List<AccountInfo.SecurityInfo.PasswordHint> getPasswordHints()
          Get the list of 'PasswordHint' element items.
 java.lang.String getUsername()
          Get the 'Username' attribute value.
 void setPassword(java.lang.String password)
          Set the 'Password' attribute value.
 void setPasswordHints(java.util.List<AccountInfo.SecurityInfo.PasswordHint> list)
          Set the list of 'PasswordHint' element items.
 void setUsername(java.lang.String username)
          Set the 'Username' attribute value.
 int sizePasswordHints()
          Get the number of 'PasswordHint' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountInfo.SecurityInfo

public AccountInfo.SecurityInfo()
Method Detail

getPasswordHints

public java.util.List<AccountInfo.SecurityInfo.PasswordHint> getPasswordHints()
Get the list of 'PasswordHint' element items.

Returns:
list

setPasswordHints

public void setPasswordHints(java.util.List<AccountInfo.SecurityInfo.PasswordHint> list)
Set the list of 'PasswordHint' element items.

Parameters:
list -

sizePasswordHints

public int sizePasswordHints()
Get the number of 'PasswordHint' element items.

Returns:
count

addPasswordHint

public void addPasswordHint(AccountInfo.SecurityInfo.PasswordHint item)
Add a 'PasswordHint' element item.

Parameters:
item -

getPasswordHint

public AccountInfo.SecurityInfo.PasswordHint getPasswordHint(int index)
Get 'PasswordHint' element item by position.

Parameters:
index -
Returns:
item

clearPasswordHints

public void clearPasswordHints()
Remove all 'PasswordHint' element items.


getUsername

public java.lang.String getUsername()
Get the 'Username' attribute value.

Returns:
value

setUsername

public void setUsername(java.lang.String username)
Set the 'Username' attribute value.

Parameters:
username -

getPassword

public java.lang.String getPassword()
Get the 'Password' attribute value.

Returns:
value

setPassword

public void setPassword(java.lang.String password)
Set the 'Password' attribute value.

Parameters:
password -