net.sf.jame.core.tree
Class DefaultNodeSession

java.lang.Object
  extended by net.sf.jame.core.tree.DefaultNodeSession
All Implemented Interfaces:
NodeSession

public class DefaultNodeSession
extends java.lang.Object
implements NodeSession

Author:
Andrea Medeghini

Constructor Summary
DefaultNodeSession(java.lang.String sessionName)
           
 
Method Summary
 void appendAction(NodeAction action)
           
protected  void finalize()
           
protected  NodeAction getAction(int index)
           
protected  int getActionCount()
           
 java.util.List<NodeAction> getActions()
           
 java.lang.String getSessionName()
           
 long getTimestamp()
           
 boolean isAcceptImmediatly()
           
 void setAcceptImmediatly(boolean isAcceptImmediatly)
           
 void setTimestamp(long timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNodeSession

public DefaultNodeSession(java.lang.String sessionName)
Parameters:
sessionName -
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable
See Also:
Object.finalize()

appendAction

public void appendAction(NodeAction action)
Specified by:
appendAction in interface NodeSession
See Also:
NodeSession.appendAction(net.sf.jame.core.tree.NodeAction)

getSessionName

public java.lang.String getSessionName()
Specified by:
getSessionName in interface NodeSession
Returns:
See Also:
NodeSession.getSessionName()

getActions

public java.util.List<NodeAction> getActions()
Specified by:
getActions in interface NodeSession
Returns:
See Also:
NodeSession.getActions()

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface NodeSession
Returns:
the timestamp

setTimestamp

public void setTimestamp(long timestamp)
Specified by:
setTimestamp in interface NodeSession
Parameters:
timestamp - the timestamp to set

getActionCount

protected int getActionCount()
Returns:

getAction

protected NodeAction getAction(int index)
Parameters:
index -
Returns:

isAcceptImmediatly

public boolean isAcceptImmediatly()
Specified by:
isAcceptImmediatly in interface NodeSession
Returns:
See Also:
NodeSession.isAcceptImmediatly()

setAcceptImmediatly

public void setAcceptImmediatly(boolean isAcceptImmediatly)
Specified by:
setAcceptImmediatly in interface NodeSession
See Also:
NodeSession.setAcceptImmediatly(boolean)