Class ElementReference
java.lang.Object
io.goobi.viewer.api.rest.model.ner.ElementReference
ElementReference class.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor 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.intgetPage()Getter for the fieldpage.getUri()voidsetContent(String content) Setter for the fieldcontent.voidsetCoordinates(Rectangle coordinates) Setter for the fieldcoordinates.voidsetPage(int pageNo) Setter for the fieldpage.void
-
Constructor Details
-
Method Details
-
getId
Getter for the field
id.- Returns:
- a
Stringobject.
-
getCoordinates
Getter for the field
coordinates.- Returns:
- a
Stringobject.
-
getCoordinatesAsRect
getCoordinatesAsRect.
- Returns:
- a
Rectangleobject.
-
setCoordinates
Setter for the field
coordinates.- Parameters:
coordinates- aRectangleobject.
-
getContent
Getter for the field
content.- Returns:
- a
Stringobject.
-
setContent
Setter for the field
content.- Parameters:
content- aStringobject.
-
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
-