Class DocumentReference
java.lang.Object
io.goobi.viewer.api.rest.model.ner.DocumentReference
DocumentReference class.
-
Constructor Summary
ConstructorDescriptionConstructor for DocumentReference.DocumentReference
(String piTopStruct) Constructor for DocumentReference. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPageRange
(TagGroup range) addPageRange.void
addPageRanges
(Collection<TagGroup> ranges) addPageRanges.boolean
getPageRange
(int startPage) getPageRange.Getter for the fieldpageRanges
.getPi()
Getter for the fieldpi
.int
getRangeSize.int
hashCode()
void
setPageRanges
(List<TagGroup> ranges) Setter for the fieldpageRanges
.
-
Constructor Details
-
DocumentReference
public DocumentReference()Constructor for DocumentReference.
-
DocumentReference
Constructor for DocumentReference.
- Parameters:
piTopStruct
- aString
object.
-
-
Method Details
-
getPi
Getter for the field
pi
.- Returns:
- a
String
object.
-
setPageRanges
Setter for the field
pageRanges
.- Parameters:
ranges
- aList
object.
-
addPageRange
addPageRange.
- Parameters:
range
- aTagGroup
object.
-
addPageRanges
addPageRanges.
- Parameters:
ranges
- aCollection
object.
-
getPageRanges
Getter for the field
pageRanges
.- Returns:
- a
List
object.
-
getPageRange
getPageRange.
- Parameters:
startPage
- a int.- Returns:
- a
TagGroup
object.
-
getRangeSize
public int getRangeSize()getRangeSize.
- Returns:
- a int.
-
hashCode
public int hashCode() -
equals
-