Package com.mindee.product.generated
Class GeneratedV1Document
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.generated.GeneratedV1Document
-
public class GeneratedV1Document extends Prediction
Document data for generated documents.
-
-
Constructor Summary
Constructors Constructor Description GeneratedV1Document(Map<String,GeneratedFeature> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,GeneratedFeature>
getFields()
Hashmap containing the fields of the document.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Constructor Detail
-
GeneratedV1Document
public GeneratedV1Document(Map<String,GeneratedFeature> fields)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Specified by:
isEmpty
in classPrediction
-
getFields
public Map<String,GeneratedFeature> getFields()
Hashmap containing the fields of the document.
-
canEqual
protected boolean canEqual(Object other)
-
-