Class FieldLocation
- java.lang.Object
-
- com.mindee.v2.parsing.inference.field.FieldLocation
-
- All Implemented Interfaces:
PositionDataField
public class FieldLocation extends Object implements PositionDataField
Location data for a field.
-
-
Constructor Summary
Constructors Constructor Description FieldLocation()FieldLocation(Polygon polygon, int page)Creates a newFieldLocationinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)intgetPage()0-based page index of where the polygon is located.PolygongetPolygon()Free polygon made up of points.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
FieldLocation
public FieldLocation(Polygon polygon, int page)
Creates a newFieldLocationinstance.- Parameters:
polygon- Free polygon made up of points.page- 0-based page index of where the polygon is located.
-
FieldLocation
public FieldLocation()
-
-
Method Detail
-
getPolygon
public Polygon getPolygon()
Free polygon made up of points.- Specified by:
getPolygonin interfacePositionDataField
-
getPage
public int getPage()
0-based page index of where the polygon is located.
-
canEqual
protected boolean canEqual(Object other)
-
-