Class PageReference

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.wicket.util.io.IClusterable

    public class PageReference
    extends java.lang.Object
    implements org.apache.wicket.util.io.IClusterable
    Unique identifier of a page instance
    Author:
    igor.vaynberg
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PageReference​(int pageId)
      Constructor
    • Constructor Detail

      • PageReference

        public PageReference​(int pageId)
        Constructor
        Parameters:
        pageId -
    • Method Detail

      • getPage

        public Page getPage()
        Returns:
        The page that the this PageReference references
      • getPageId

        public int getPageId()
        Gets pageId.
        Returns:
        pageId
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)