java.lang.Object
com.semanticcms.core.model.ParentRef
- All Implemented Interfaces:
PageReferrer
,Comparable<PageReferrer>
A parent reference also includes an optional shortTitle for when this page
is listed within the context of this specific parent.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Orders by pageRef only.boolean
Equality is determined by pageRef only, short title not a factor.The reference to the parent page.A short title is used when the context of a page is well established, such as when showing a path to the current location in the site.int
hashCode()
Hash is based on pageRef only, short title is not a factor.toString()
-
Constructor Details
-
ParentRef
-
-
Method Details
-
getPageRef
The reference to the parent page.- Specified by:
getPageRef
in interfacePageReferrer
-
getShortTitle
A short title is used when the context of a page is well established, such as when showing a path to the current location in the site.- Returns:
- the short page title for the page when in the context of this parent.
- See Also:
-
equals
Equality is determined by pageRef only, short title not a factor. -
hashCode
public int hashCode()Hash is based on pageRef only, short title is not a factor. -
compareTo
Orders by pageRef only.- Specified by:
compareTo
in interfaceComparable<PageReferrer>
- Specified by:
compareTo
in interfacePageReferrer
- See Also:
-
toString
-