Class PageResultType
java.lang.Object
eu.dnetlib.dhp.schema.sx.api.model.v2.PageResultType
- All Implemented Interfaces:
Serializable
The main class that show the page result from the method
/l2/links
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets current page.Gets result.Gets total links.Gets total pages.voidsetCurrentPage(Integer currentPage) Sets current page.voidsetResult(List<ScholixType> result) Sets result.voidsetTotalLinks(Integer totalLinks) Sets total links.voidsetTotalPages(Integer totalPages) Sets total pages.
-
Constructor Details
-
PageResultType
public PageResultType()
-
-
Method Details
-
getCurrentPage
Gets current page.- Returns:
- the current page
-
setCurrentPage
Sets current page.- Parameters:
currentPage- the current page
-
getTotalLinks
Gets total links.- Returns:
- the total links
-
setTotalLinks
Sets total links.- Parameters:
totalLinks- the total links
-
getTotalPages
Gets total pages.- Returns:
- the total pages
-
setTotalPages
Sets total pages.- Parameters:
totalPages- the total pages
-
getResult
Gets result.- Returns:
- the result
-
setResult
Sets result.- Parameters:
result- the result
-