org.jboss.portal.core.navstate
Class NavigationalStateKey
java.lang.Object
org.jboss.portal.core.navstate.NavigationalStateKey
- All Implemented Interfaces:
- java.io.Serializable
public final class NavigationalStateKey
- extends java.lang.Object
- implements java.io.Serializable
A key for navigational state.
- Version:
- $Revision: 8786 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Constructor Summary |
NavigationalStateKey(java.lang.Class type,
java.lang.Object id)
Construct a new navigational state key. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NavigationalStateKey
public NavigationalStateKey(java.lang.Class type,
java.lang.Object id)
- Construct a new navigational state key.
- Parameters:
type
- the type of stateid
- the id
- Throws:
java.lang.IllegalArgumentException
- if any argument is null or the id argument does not implement either Serializable
or Externalizable
getType
public java.lang.Class getType()
getId
public java.lang.Object getId()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object