public class PageRef extends Ref implements Comparable<PageRef>
Modifier and Type | Field and Description |
---|---|
protected Integer |
dependencyId
An integer, showing the ID of the REQ-to-REQ dependency covering this PageRef.
|
protected Integer |
occurrence
The occurrence # on the page.
|
protected Long |
pageId |
protected Long |
version
The version of the page.
|
Constructor and Description |
---|
PageRef() |
PageRef(Long pageId,
Long version,
Integer occurrence,
Integer dependencyId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PageRef o)
Natural ordering: by type, then by page, then by occurrence.
|
Integer |
getDependencyId() |
Integer |
getOccurrence() |
Long |
getPageId() |
Long |
getVersion() |
boolean |
isCoveredByDependency() |
void |
set(String url,
Long pageId,
String type,
String title) |
void |
setOccurrence(Integer occurrence) |
void |
setPageId(Long pageId) |
void |
setTitle(String title) |
void |
setType(String type) |
void |
setUrl(String url) |
void |
setVersion(Long version) |
static String |
stripAnchor(String urlPath) |
String |
toString() |
protected Long pageId
protected Long version
protected Integer occurrence
protected Integer dependencyId
public Long getPageId()
public void setPageId(Long pageId)
public void setUrl(String url)
public void setTitle(String title)
public void setType(String type)
public Long getVersion()
public void setVersion(Long version)
public Integer getOccurrence()
public void setOccurrence(Integer occurrence)
public Integer getDependencyId()
public boolean isCoveredByDependency()
public int compareTo(PageRef o)
compareTo
in interface Comparable<PageRef>
Copyright © 2020 Play SQL. All rights reserved.