Class HashedNameType
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.models.HashedNameType
-
public class HashedNameType extends Object
The HashedNameType model.
-
-
Constructor Summary
Constructors Constructor Description HashedNameType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringhash()Get one of the hashes of person's first and last name.doubleproximityScore()Get an approximation of how closely this hashed name corresponds to the actual person's name.Stringtype()Get the sequence of transformations used to generate this unique hash.HashedNameTypewithHash(String hash)Set one of the hashes of person's first and last name.HashedNameTypewithProximityScore(double proximityScore)Set an approximation of how closely this hashed name corresponds to the actual person's name.HashedNameTypewithType(String type)Set the sequence of transformations used to generate this unique hash.
-
-
-
Method Detail
-
hash
public String hash()
Get one of the hashes of person's first and last name.- Returns:
- the hash value
-
withHash
public HashedNameType withHash(String hash)
Set one of the hashes of person's first and last name.- Parameters:
hash- the hash value to set- Returns:
- the HashedNameType object itself.
-
type
public String type()
Get the sequence of transformations used to generate this unique hash.- Returns:
- the type value
-
withType
public HashedNameType withType(String type)
Set the sequence of transformations used to generate this unique hash.- Parameters:
type- the type value to set- Returns:
- the HashedNameType object itself.
-
proximityScore
public double proximityScore()
Get an approximation of how closely this hashed name corresponds to the actual person's name.- Returns:
- the proximityScore value
-
withProximityScore
public HashedNameType withProximityScore(double proximityScore)
Set an approximation of how closely this hashed name corresponds to the actual person's name.- Parameters:
proximityScore- the proximityScore value to set- Returns:
- the HashedNameType object itself.
-
-