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

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

public class VETokenInfo
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
VETokenInfo()
           
 
Method Summary
 String getIpAddress()
          Returns the IP address used to get the token.
 int getTimeToLive()
          Returns the time-to-live of the token.
 String getUrl()
          Returns the URL of the Bing Maps token web service.
 void setIpAddress(String ipAddress)
          Sets the IP address used to get the token.
 void setTimeToLive(int timeToLive)
          Sets the time-to-live of the token.
 void setUrl(String url)
          Sets the URL for the Bing Maps token web service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VETokenInfo

public VETokenInfo()
Method Detail

getUrl

public String getUrl()
Returns the URL of the Bing Maps token web service.

Returns:
the url

getTimeToLive

public int getTimeToLive()
Returns the time-to-live of the token.

Returns:
the timeToLive

getIpAddress

public String getIpAddress()
Returns the IP address used to get the token.

Returns:
the ipAddress

setUrl

public void setUrl(String url)
Sets the URL for the Bing Maps token web service.

Parameters:
url - the url to set

setTimeToLive

public void setTimeToLive(int timeToLive)
Sets the time-to-live of the token.

Parameters:
timeToLive - the timeToLive to set

setIpAddress

public void setIpAddress(String ipAddress)
Sets the IP address used to get the token.

Parameters:
ipAddress - the ipAddress to set