planetj.dataengine
Class AbstractNavigationMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--planetj.dataengine.AbstractNavigationMap
All Implemented Interfaces:
Cloneable, INavigation, Map, Serializable
Direct Known Subclasses:
NavigationGroup, NavigationPage, NavigationRequest, NavigationSession

public abstract class AbstractNavigationMap
extends HashMap
implements INavigation

See Also:
Serialized Form

Field Summary
static 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(String id)
          NavigationSession constructor comment.
 
Method Summary
 String getId()
          Get this navigation map's id.
 String getKey()
          Get this navigation map's id.
 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 String className
Class name.

Constructor Detail

AbstractNavigationMap

public AbstractNavigationMap(String id)
NavigationSession constructor comment.

Method Detail

getId

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


getKey

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


getLastChildId

public 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