Package com.affinda.api.client.models
Class DataPoint
- java.lang.Object
-
- com.affinda.api.client.models.DataPoint
-
public final class DataPoint extends Object
The DataPoint model.
-
-
Constructor Summary
Constructors Constructor Description DataPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationContentTypegetAnnotationContentType()Get the annotationContentType property: The different data types of annotations.List<DataPoint>getChildren()Get the children property: The children property.StringgetDescription()Get the description property: The description property.StringgetExtractor()Get the extractor property: Uniquely identify an extractor.StringgetIdentifier()Get the identifier property: Uniquely identify a data point.StringgetName()Get the name property: Name of the data point.OrganizationgetOrganization()Get the organization property: The organization property.StringgetParent()Get the parent property: The identifier of the parent data point if applicable.StringgetSlug()Get the slug property: A camelCase string that will be used as the key in the API response.BooleanisDisplayEnumValue()Get the displayEnumValue property: If true, both the value and the label for the enums will appear in the dropdown in the validation tool.BooleanisMultiple()Get the multiple property: The multiple property.BooleanisNoRect()Get the noRect property: The noRect property.DataPointsetAnnotationContentType(AnnotationContentType annotationContentType)Set the annotationContentType property: The different data types of annotations.DataPointsetChildren(List<DataPoint> children)Set the children property: The children property.DataPointsetDescription(String description)Set the description property: The description property.DataPointsetDisplayEnumValue(Boolean displayEnumValue)Set the displayEnumValue property: If true, both the value and the label for the enums will appear in the dropdown in the validation tool.DataPointsetExtractor(String extractor)Set the extractor property: Uniquely identify an extractor.DataPointsetIdentifier(String identifier)Set the identifier property: Uniquely identify a data point.DataPointsetMultiple(Boolean multiple)Set the multiple property: The multiple property.DataPointsetName(String name)Set the name property: Name of the data point.DataPointsetNoRect(Boolean noRect)Set the noRect property: The noRect property.DataPointsetOrganization(Organization organization)Set the organization property: The organization property.DataPointsetParent(String parent)Set the parent property: The identifier of the parent data point if applicable.DataPointsetSlug(String slug)Set the slug property: A camelCase string that will be used as the key in the API response.
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get the identifier property: Uniquely identify a data point.- Returns:
- the identifier value.
-
setIdentifier
public DataPoint setIdentifier(String identifier)
Set the identifier property: Uniquely identify a data point.- Parameters:
identifier- the identifier value to set.- Returns:
- the DataPoint object itself.
-
getName
public String getName()
Get the name property: Name of the data point.- Returns:
- the name value.
-
setName
public DataPoint setName(String name)
Set the name property: Name of the data point.- Parameters:
name- the name value to set.- Returns:
- the DataPoint object itself.
-
getSlug
public String getSlug()
Get the slug property: A camelCase string that will be used as the key in the API response.- Returns:
- the slug value.
-
setSlug
public DataPoint setSlug(String slug)
Set the slug property: A camelCase string that will be used as the key in the API response.- Parameters:
slug- the slug value to set.- Returns:
- the DataPoint object itself.
-
getDescription
public String getDescription()
Get the description property: The description property.- Returns:
- the description value.
-
setDescription
public DataPoint setDescription(String description)
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the DataPoint object itself.
-
getAnnotationContentType
public AnnotationContentType getAnnotationContentType()
Get the annotationContentType property: The different data types of annotations.- Returns:
- the annotationContentType value.
-
setAnnotationContentType
public DataPoint setAnnotationContentType(AnnotationContentType annotationContentType)
Set the annotationContentType property: The different data types of annotations.- Parameters:
annotationContentType- the annotationContentType value to set.- Returns:
- the DataPoint object itself.
-
getOrganization
public Organization getOrganization()
Get the organization property: The organization property.- Returns:
- the organization value.
-
setOrganization
public DataPoint setOrganization(Organization organization)
Set the organization property: The organization property.- Parameters:
organization- the organization value to set.- Returns:
- the DataPoint object itself.
-
getExtractor
public String getExtractor()
Get the extractor property: Uniquely identify an extractor.- Returns:
- the extractor value.
-
setExtractor
public DataPoint setExtractor(String extractor)
Set the extractor property: Uniquely identify an extractor.- Parameters:
extractor- the extractor value to set.- Returns:
- the DataPoint object itself.
-
isMultiple
public Boolean isMultiple()
Get the multiple property: The multiple property.- Returns:
- the multiple value.
-
setMultiple
public DataPoint setMultiple(Boolean multiple)
Set the multiple property: The multiple property.- Parameters:
multiple- the multiple value to set.- Returns:
- the DataPoint object itself.
-
isNoRect
public Boolean isNoRect()
Get the noRect property: The noRect property.- Returns:
- the noRect value.
-
setNoRect
public DataPoint setNoRect(Boolean noRect)
Set the noRect property: The noRect property.- Parameters:
noRect- the noRect value to set.- Returns:
- the DataPoint object itself.
-
isDisplayEnumValue
public Boolean isDisplayEnumValue()
Get the displayEnumValue property: If true, both the value and the label for the enums will appear in the dropdown in the validation tool.- Returns:
- the displayEnumValue value.
-
setDisplayEnumValue
public DataPoint setDisplayEnumValue(Boolean displayEnumValue)
Set the displayEnumValue property: If true, both the value and the label for the enums will appear in the dropdown in the validation tool.- Parameters:
displayEnumValue- the displayEnumValue value to set.- Returns:
- the DataPoint object itself.
-
getParent
public String getParent()
Get the parent property: The identifier of the parent data point if applicable.- Returns:
- the parent value.
-
setParent
public DataPoint setParent(String parent)
Set the parent property: The identifier of the parent data point if applicable.- Parameters:
parent- the parent value to set.- Returns:
- the DataPoint object itself.
-
getChildren
public List<DataPoint> getChildren()
Get the children property: The children property.- Returns:
- the children value.
-
-