org.wicketstuff.ki.wicket.page.store
Class PageKey
java.lang.Object
org.wicketstuff.ki.wicket.page.store.PageKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PageKey>, org.apache.wicket.IClusterable
public class PageKey
- extends java.lang.Object
- implements org.apache.wicket.IClusterable, java.lang.Comparable<PageKey>
Unique Key to lookup a corresponding Page from the PageStore.
continues effort started by Richard Wilkinson (to support TerraCotta,
but the architecture has been separated into multiple classes, along with other
architectural/stylistic changes.
- Since:
- Feb 13, 2009 8:04:14 PM
- Author:
- Les Hazlewood
- See Also:
- Serialized Form
|
Field Summary |
protected static int |
PRIME
|
|
Constructor Summary |
PageKey(int pageId,
int version,
int ajaxVersion)
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PRIME
protected static final int PRIME
- See Also:
- Constant Field Values
PageKey
public PageKey(int pageId,
int version,
int ajaxVersion)
getPageId
public int getPageId()
getVersion
public int getVersion()
getAjaxVersion
public int getAjaxVersion()
clone
protected java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
compareTo
public int compareTo(PageKey pk)
- Specified by:
compareTo in interface java.lang.Comparable<PageKey>
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.