Class ElementReference
java.lang.Object
io.goobi.viewer.api.rest.model.ner.ElementReference
ElementReference class.
-
Constructor Summary
ConstructorDescriptionConstructor for ElementReference.ElementReference
(String id, Rectangle coordinates, String content, String uri) Constructor for ElementReference. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcontent
.Getter for the fieldcoordinates
.getCoordinatesAsRect.getId()
Getter for the fieldid
.int
getPage()
Getter for the fieldpage
.getUri()
void
setContent
(String content) Setter for the fieldcontent
.void
setCoordinates
(Rectangle coordinates) Setter for the fieldcoordinates
.void
setPage
(int pageNo) Setter for the fieldpage
.void
-
Constructor Details
-
Method Details
-
getId
Getter for the field
id
.- Returns:
- a
String
object.
-
getCoordinates
Getter for the field
coordinates
.- Returns:
- a
String
object.
-
getCoordinatesAsRect
getCoordinatesAsRect.
- Returns:
- a
Rectangle
object.
-
setCoordinates
Setter for the field
coordinates
.- Parameters:
coordinates
- aRectangle
object.
-
getContent
Getter for the field
content
.- Returns:
- a
String
object.
-
setContent
Setter for the field
content
.- Parameters:
content
- aString
object.
-
getUri
- Returns:
- the uri
-
setUri
- Parameters:
uri
- the uri to set
-
getPage
public int getPage()Getter for the field
page
.- Returns:
- the pageNo
-
setPage
public void setPage(int pageNo) Setter for the field
page
.- Parameters:
pageNo
- the pageNo to set
-