com.esri.adf.web.ve.data
Class VEUser

java.lang.Object
  extended by com.esri.adf.web.ve.data.VEUser
All Implemented Interfaces:
Serializable

public class VEUser
extends Object
implements Serializable

This class represents information of a User account for Bing™ Maps (formerly known as Virtual Earth) Web Service. It is used by a VEResource to access the desired Web Service.

See Also:
Serialized Form

Constructor Summary
VEUser()
           
VEUser(String userName, String password, boolean passwordEncrypted)
          Constructor for a VEUser with a username, a password and a flag to indicate if the password is encrypted.
 
Method Summary
 String getPassword()
          Returns the password.
 String getUserName()
          Returns the username.
 boolean isPasswordEncrypted()
          Returns true if the password is encrypted.
 void setPassword(String password)
          Sets the password.
 void setPasswordEncrypted(boolean passwordEncrypted)
          Specifies whether the password provided is encrypted or not.
 void setUserName(String userName)
          Sets the username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VEUser

public VEUser()

VEUser

public VEUser(String userName,
              String password,
              boolean passwordEncrypted)
Constructor for a VEUser with a username, a password and a flag to indicate if the password is encrypted.

Parameters:
userName -
password -
passwordEncrypted -
Method Detail

isPasswordEncrypted

public boolean isPasswordEncrypted()
Returns true if the password is encrypted.

Returns:
a boolean

setPasswordEncrypted

public void setPasswordEncrypted(boolean passwordEncrypted)
Specifies whether the password provided is encrypted or not.

Parameters:
passwordEncrypted -

getPassword

public String getPassword()
Returns the password.

Returns:
the password

setPassword

public void setPassword(String password)
Sets the password.

Parameters:
password -

getUserName

public String getUserName()
Returns the username.

Returns:
the username

setUserName

public void setUserName(String userName)
Sets the username.

Parameters:
userName -