planetj.dataengine
Class AbstractNavigationMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.dataengine.AbstractNavigationMap
All Implemented Interfaces:
java.lang.Cloneable, INavigation, java.util.Map, java.io.Serializable
Direct Known Subclasses:
NavigationGroup, NavigationPage, NavigationRequest, NavigationSession

public abstract class AbstractNavigationMap
extends java.util.HashMap
implements INavigation

See Also:
Serialized Form

Field Summary
static java.lang.String className
          Class name.
 
Fields inherited from interface planetj.dataengine.INavigation
CHILD_PREFIX, GROUP_ATTRIBUTES, GROUP_ID, INITIAL_GROUP_ID, INITIAL_PAGE_ID, INITIAL_REQUEST_ID, NAVIGATION_CHECKED, NAVIGATION_OBJECT_LIST_PREFIX, NEW_GROUP_ID, NEW_REQUEST_ID, NEW_SESSION_ID, PAGE_ATTRIBUTES, PAGE_ID, PARENT_PREFIX, PERSISTENT_ATTRIBUTES, PREVIOUS_ATTRIBUTES, PREVIOUS_GROUP_ID, PREVIOUS_PAGE_ID, PREVIOUS_REQUEST_ID, REQUEST_ID, RESET_GROUP_ID, RESET_NAVIGATION_IDS, RESET_NAVIGATION_IDS_COMPLETED, RESET_PAGE_ID, RESET_REQUEST_ID, RESET_SESSION_ID, SESSION_ID
 
Constructor Summary
AbstractNavigationMap(java.lang.String id)
          NavigationSession constructor comment.
 
Method Summary
 java.lang.String getId()
          Get this navigation map's id.
 java.lang.String getKey()
          Get this navigation map's id.
 java.lang.String getLastChildId()
          Get the id of the last navigation map added to this navigation map.
 AbstractNavigationMap put(AbstractNavigationMap navMap)
          Adds the given navigation map to this map.
 NavigationAttributes put(NavigationAttributes attributes)
          Adds the given navigation attributes map to this map.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

className

public static final java.lang.String className
Class name.

Constructor Detail

AbstractNavigationMap

public AbstractNavigationMap(java.lang.String id)
NavigationSession constructor comment.

Method Detail

getId

public java.lang.String getId()
Get this navigation map's id.


getKey

public java.lang.String getKey()
Get this navigation map's id.


getLastChildId

public java.lang.String getLastChildId()
Get the id of the last navigation map added to this navigation map. The highest id.


put

public AbstractNavigationMap put(AbstractNavigationMap navMap)
Adds the given navigation map to this map. The map's id is used as the key.

Parameters:
navMap - navigation map to add to this navigation map

put

public NavigationAttributes put(NavigationAttributes attributes)
Adds the given navigation attributes map to this map. The attributes' type is used as the key.

Parameters:
attributes - navigation attributes map to add to this navigation map