public class Baseline extends Object implements Comparable<Baseline>
Modifier and Type | Field and Description |
---|---|
private Integer |
baseline |
private String |
canonicalUrl
The url of the page, or, by default, the indexUrl
|
private static Comparator<Baseline> |
COMPARATOR
We sort baselines by alphabetical order of space keys,
then by DESCENDING order of baselines, since no-one needs the oldest one in the UI.
|
private Integer |
count
Optional.
|
private String |
indexUrl
The url of the list-baselines.action page, omitting the contextPath.
|
private String |
name |
private Integer |
pageCount
Optional.
|
private Long |
pageId
Optional.
|
private String |
pageUrl
Optional.
|
private String |
spaceKey |
Constructor and Description |
---|
Baseline() |
Baseline(Integer baseline,
String spaceKey,
String name,
Long pageId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Baseline other) |
boolean |
equals(Object o) |
Integer |
getBaseline() |
String |
getCanonicalUrl() |
Integer |
getCount() |
String |
getIndexUrl() |
String |
getName() |
Integer |
getPageCount() |
Long |
getPageId() |
String |
getPageUrl() |
String |
getSearchUrl() |
String |
getSpaceKey() |
int |
hashCode() |
void |
setCount(Integer count) |
void |
setName(String name) |
void |
setPageCount(Integer pageCount) |
void |
setPageId(Long pageId) |
void |
setPageUrl(String pageUrl) |
String |
toString() |
private static final Comparator<Baseline> COMPARATOR
private Integer baseline
private String spaceKey
private String name
private Long pageId
private Integer count
private Integer pageCount
private String pageUrl
private String indexUrl
private String canonicalUrl
public Integer getBaseline()
public String getSpaceKey()
public String getName()
public void setName(String name)
public Long getPageId()
public void setPageId(Long pageId)
public Integer getCount()
public void setCount(Integer count)
public Integer getPageCount()
public void setPageCount(Integer pageCount)
public void setPageUrl(String pageUrl)
public String getPageUrl()
public String getIndexUrl()
public String getCanonicalUrl()
public String getSearchUrl()
public int compareTo(Baseline other)
compareTo
in interface Comparable<Baseline>
Copyright © 2021 Play SQL. All rights reserved.