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 booleancanEqual(Object other)booleanequals(Object o)Map<String,GeneratedFeature>getFields()Hashmap containing the fields of the document.inthashCode()booleanisEmpty()Returnstrueif there are no predictions values.StringtoString()
-
-
-
Constructor Detail
-
GeneratedV1Document
public GeneratedV1Document(Map<String,GeneratedFeature> fields)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:PredictionReturnstrueif there are no predictions values. Accessing prediction values when this istruemay result in aNullPointerException- Specified by:
isEmptyin classPrediction
-
getFields
public Map<String,GeneratedFeature> getFields()
Hashmap containing the fields of the document.
-
canEqual
protected boolean canEqual(Object other)
-
-