org.eclipse.higgins.sync.to
Class AccessTokenTO

java.lang.Object
  extended by org.eclipse.higgins.sync.to.AccessTokenTO
All Implemented Interfaces:
Serializable

public class AccessTokenTO
extends Object
implements Serializable

AccessToken transfer object.

Author:
Alexander Yuhimenko
See Also:
Serialized Form

Constructor Summary
AccessTokenTO()
           
 
Method Summary
 String getId()
           
 Date getIssuedTime()
           
 Integer getMaxIdleTime()
           
 Integer getMaxLiveTime()
           
 void setId(String id)
          Represents token identifier.
 void setIssuedTime(Date issuedTime)
           
 void setMaxIdleTime(Integer maxIdleTime)
           
 AccessTokenTO setMaxLiveTime(Integer maxLiveTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessTokenTO

public AccessTokenTO()
Method Detail

getMaxLiveTime

public Integer getMaxLiveTime()
Returns:
the maxLiveTime

setMaxLiveTime

public AccessTokenTO setMaxLiveTime(Integer maxLiveTime)
Parameters:
maxLiveTime - the maxLiveTime to set

getId

public String getId()
Returns:
the id

getIssuedTime

public Date getIssuedTime()
Returns:
the issuedTime

getMaxIdleTime

public Integer getMaxIdleTime()
Returns:
the maxIdleTime

setId

public void setId(String id)
Represents token identifier.

Parameters:
id - the id to set

setIssuedTime

public void setIssuedTime(Date issuedTime)
Parameters:
issuedTime - the issuedTime to set

setMaxIdleTime

public void setMaxIdleTime(Integer maxIdleTime)
Parameters:
maxIdleTime - the maxIdleTime to set