net.sf.jame.core.tree
Class DefaultNodeSession
java.lang.Object
net.sf.jame.core.tree.DefaultNodeSession
- All Implemented Interfaces:
- NodeSession
public class DefaultNodeSession
- extends java.lang.Object
- implements NodeSession
- Author:
- Andrea Medeghini
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNodeSession
public DefaultNodeSession(java.lang.String sessionName)
- Parameters:
sessionName -
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)