Package com.affinda.api.client.models
Class DataFieldDataPoint
- java.lang.Object
-
- com.affinda.api.client.models.DataFieldDataPoint
-
public final class DataFieldDataPoint extends Object
The data point to be created for this field. If a data point with the same slug and collection already exists, it will be reused.
-
-
Constructor Summary
Constructors Constructor Description DataFieldDataPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get the description property: The description property.StringgetIdentifier()Get the identifier property: Uniquely identify a data point.StringgetName()Get the name property: Name of the data point.StringgetSlug()Get the slug property: A camelCase string that will be used as the key in the API response.AnnotationContentTypegetType()Get the type property: The different data types of annotations.booleanisMultiple()Get the multiple property: The multiple property.booleanisNoRect()Get the noRect property: The noRect property.DataFieldDataPointsetDescription(String description)Set the description property: The description property.DataFieldDataPointsetIdentifier(String identifier)Set the identifier property: Uniquely identify a data point.DataFieldDataPointsetMultiple(boolean multiple)Set the multiple property: The multiple property.DataFieldDataPointsetName(String name)Set the name property: Name of the data point.DataFieldDataPointsetNoRect(boolean noRect)Set the noRect property: The noRect property.DataFieldDataPointsetSlug(String slug)Set the slug property: A camelCase string that will be used as the key in the API response.DataFieldDataPointsetType(AnnotationContentType type)Set the type property: The different data types of annotations.
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Get the identifier property: Uniquely identify a data point.- Returns:
- the identifier value.
-
setIdentifier
public DataFieldDataPoint setIdentifier(String identifier)
Set the identifier property: Uniquely identify a data point.- Parameters:
identifier- the identifier value to set.- Returns:
- the DataFieldDataPoint object itself.
-
getName
public String getName()
Get the name property: Name of the data point.- Returns:
- the name value.
-
setName
public DataFieldDataPoint setName(String name)
Set the name property: Name of the data point.- Parameters:
name- the name value to set.- Returns:
- the DataFieldDataPoint 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 DataFieldDataPoint 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 DataFieldDataPoint object itself.
-
getDescription
public String getDescription()
Get the description property: The description property.- Returns:
- the description value.
-
setDescription
public DataFieldDataPoint setDescription(String description)
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the DataFieldDataPoint object itself.
-
getType
public AnnotationContentType getType()
Get the type property: The different data types of annotations.- Returns:
- the type value.
-
setType
public DataFieldDataPoint setType(AnnotationContentType type)
Set the type property: The different data types of annotations.- Parameters:
type- the type value to set.- Returns:
- the DataFieldDataPoint object itself.
-
isMultiple
public boolean isMultiple()
Get the multiple property: The multiple property.- Returns:
- the multiple value.
-
setMultiple
public DataFieldDataPoint setMultiple(boolean multiple)
Set the multiple property: The multiple property.- Parameters:
multiple- the multiple value to set.- Returns:
- the DataFieldDataPoint object itself.
-
isNoRect
public boolean isNoRect()
Get the noRect property: The noRect property.- Returns:
- the noRect value.
-
setNoRect
public DataFieldDataPoint setNoRect(boolean noRect)
Set the noRect property: The noRect property.- Parameters:
noRect- the noRect value to set.- Returns:
- the DataFieldDataPoint object itself.
-
-