Class PersonDuplicateType
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.models.PersonDuplicateType
-
public class PersonDuplicateType extends Object
The PersonDuplicateType model.
-
-
Constructor Summary
Constructors Constructor Description PersonDuplicateType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonDuplicateMatchTypeduplicateMatchType()Get an explanation of what type of matching led to finding the duplicate.PersonTypeperson()Get data of matching person.StringpersonFifaId()Get fIFA Unique Identifier.PersonRegistrationContextTypepersonRegistrationContext()Get the context of the registration in Connect ID.RegistrationTypeprimaryDataProviderRegistrationType()Get registration belonging to the primary data provider.doubleproximityScore()Get an approximation of how likely this person is a duplicate.PersonDuplicateTypewithDuplicateMatchType(PersonDuplicateMatchType duplicateMatchType)Set an explanation of what type of matching led to finding the duplicate.PersonDuplicateTypewithPerson(PersonType person)Set data of matching person.PersonDuplicateTypewithPersonFifaId(String personFifaId)Set fIFA Unique Identifier.PersonDuplicateTypewithPersonRegistrationContext(PersonRegistrationContextType personRegistrationContext)Set the context of the registration in Connect ID.PersonDuplicateTypewithPrimaryDataProviderRegistrationType(RegistrationType primaryDataProviderRegistrationType)Set registration belonging to the primary data provider.PersonDuplicateTypewithProximityScore(double proximityScore)Set an approximation of how likely this person is a duplicate.
-
-
-
Method Detail
-
personFifaId
public String personFifaId()
Get fIFA Unique Identifier.- Returns:
- the personFifaId value
-
withPersonFifaId
public PersonDuplicateType withPersonFifaId(String personFifaId)
Set fIFA Unique Identifier.- Parameters:
personFifaId- the personFifaId value to set- Returns:
- the PersonDuplicateType object itself.
-
proximityScore
public double proximityScore()
Get an approximation of how likely this person is a duplicate.- Returns:
- the proximityScore value
-
withProximityScore
public PersonDuplicateType withProximityScore(double proximityScore)
Set an approximation of how likely this person is a duplicate.- Parameters:
proximityScore- the proximityScore value to set- Returns:
- the PersonDuplicateType object itself.
-
duplicateMatchType
public PersonDuplicateMatchType duplicateMatchType()
Get an explanation of what type of matching led to finding the duplicate.- Returns:
- the duplicateMatchType value
-
withDuplicateMatchType
public PersonDuplicateType withDuplicateMatchType(PersonDuplicateMatchType duplicateMatchType)
Set an explanation of what type of matching led to finding the duplicate.- Parameters:
duplicateMatchType- the duplicateMatchType value to set- Returns:
- the PersonDuplicateType object itself.
-
person
public PersonType person()
Get data of matching person.- Returns:
- the person value
-
withPerson
public PersonDuplicateType withPerson(PersonType person)
Set data of matching person.- Parameters:
person- the person value to set- Returns:
- the PersonDuplicateType object itself.
-
primaryDataProviderRegistrationType
public RegistrationType primaryDataProviderRegistrationType()
Get registration belonging to the primary data provider.- Returns:
- the primaryDataProviderRegistrationType value
-
withPrimaryDataProviderRegistrationType
public PersonDuplicateType withPrimaryDataProviderRegistrationType(RegistrationType primaryDataProviderRegistrationType)
Set registration belonging to the primary data provider.- Parameters:
primaryDataProviderRegistrationType- the primaryDataProviderRegistrationType value to set- Returns:
- the PersonDuplicateType object itself.
-
personRegistrationContext
public PersonRegistrationContextType personRegistrationContext()
Get the context of the registration in Connect ID.- Returns:
- the personRegistrationContext value
-
withPersonRegistrationContext
public PersonDuplicateType withPersonRegistrationContext(PersonRegistrationContextType personRegistrationContext)
Set the context of the registration in Connect ID.- Parameters:
personRegistrationContext- the personRegistrationContext value to set- Returns:
- the PersonDuplicateType object itself.
-
-