Class HashedNameType


  • public class HashedNameType
    extends Object
    The HashedNameType model.
    • Constructor Detail

      • HashedNameType

        public HashedNameType()
    • 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.