Class ElementReference

java.lang.Object
io.goobi.viewer.api.rest.model.ner.ElementReference

public class ElementReference extends Object

ElementReference class.

  • Constructor Details

    • ElementReference

      public ElementReference()

      Constructor for ElementReference.

    • ElementReference

      public ElementReference(String id, Rectangle coordinates, String content, String uri)

      Constructor for ElementReference.

      Parameters:
      id - a String object.
      coordinates - a Rectangle object.
      content - a String object.
      uri - Value of the URI attribute
  • Method Details

    • getId

      public String getId()

      Getter for the field id.

      Returns:
      a String object.
    • getCoordinates

      public String getCoordinates()

      Getter for the field coordinates.

      Returns:
      a String object.
    • getCoordinatesAsRect

      public Rectangle getCoordinatesAsRect()

      getCoordinatesAsRect.

      Returns:
      a Rectangle object.
    • setCoordinates

      public void setCoordinates(Rectangle coordinates)

      Setter for the field coordinates.

      Parameters:
      coordinates - a Rectangle object.
    • getContent

      public String getContent()

      Getter for the field content.

      Returns:
      a String object.
    • setContent

      public void setContent(String content)

      Setter for the field content.

      Parameters:
      content - a String object.
    • getUri

      public String getUri()
      Returns:
      the uri
    • setUri

      public void setUri(String uri)
      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