Class DocumentReference
java.lang.Object
io.goobi.viewer.api.rest.model.ner.DocumentReference
DocumentReference class.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for DocumentReference.DocumentReference(String piTopStruct) Constructor for DocumentReference. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPageRange(TagGroup range) addPageRange.voidaddPageRanges(Collection<TagGroup> ranges) addPageRanges.booleangetPageRange(int startPage) getPageRange.Getter for the fieldpageRanges.getPi()Getter for the fieldpi.intgetRangeSize.inthashCode()voidsetPageRanges(List<TagGroup> ranges) Setter for the fieldpageRanges.
-
Constructor Details
-
DocumentReference
public DocumentReference()Constructor for DocumentReference.
-
DocumentReference
Constructor for DocumentReference.
- Parameters:
piTopStruct- aStringobject.
-
-
Method Details
-
getPi
Getter for the field
pi.- Returns:
- a
Stringobject.
-
setPageRanges
Setter for the field
pageRanges.- Parameters:
ranges- aListobject.
-
addPageRange
addPageRange.
- Parameters:
range- aTagGroupobject.
-
addPageRanges
addPageRanges.
- Parameters:
ranges- aCollectionobject.
-
getPageRanges
Getter for the field
pageRanges.- Returns:
- a
Listobject.
-
getPageRange
getPageRange.
- Parameters:
startPage- a int.- Returns:
- a
TagGroupobject.
-
getRangeSize
public int getRangeSize()getRangeSize.
- Returns:
- a int.
-
hashCode
public int hashCode() -
equals
-