com.continuent.tungsten.common.directory
Class DirectorySession

java.lang.Object
  extended by com.continuent.tungsten.common.directory.DirectorySession
All Implemented Interfaces:
java.io.Serializable

public class DirectorySession
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DirectorySession(Directory parent, java.lang.String sessionID, ResourceNode currentNode)
           
 
Method Summary
 ResourceNode getCurrentNode()
           
 long getLastTimeAccessed()
           
 Directory getParent()
           
 java.lang.String getSessionID()
           
 long getTimeCreated()
           
 void setCurrentNode(ResourceNode currentNode)
           
 void setLastTimeAccessed(long lastTimeAccessed)
           
 void setParent(Directory parent)
           
 void setSessionID(java.lang.String sessionID)
           
 void setTimeCreated(long timeCreated)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectorySession

public DirectorySession(Directory parent,
                        java.lang.String sessionID,
                        ResourceNode currentNode)
Method Detail

getParent

public Directory getParent()
Returns:
the parent

setParent

public void setParent(Directory parent)
Parameters:
parent - the parent to set

getSessionID

public java.lang.String getSessionID()
Returns:
the sessionID

setSessionID

public void setSessionID(java.lang.String sessionID)
Parameters:
sessionID - the sessionID to set

getCurrentNode

public ResourceNode getCurrentNode()
Returns:
the currentNode

setCurrentNode

public void setCurrentNode(ResourceNode currentNode)
Parameters:
currentNode - the currentNode to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTimeCreated

public long getTimeCreated()

setTimeCreated

public void setTimeCreated(long timeCreated)

getLastTimeAccessed

public long getLastTimeAccessed()

setLastTimeAccessed

public void setLastTimeAccessed(long lastTimeAccessed)