Interface DuplicateAttributeConfiguration<T>

    • Method Detail

      • getType

        String getType()
        Get the type of the attribute
        Returns:
        the type of the attribute
      • setType

        void setType​(String type)
        Set the type of the attribute
        Parameters:
        type - the type of the attribute
      • getPath

        String getPath()
        Set the path of the attribute
        Returns:
        the path of the attribute
      • setPath

        void setPath​(String path)
        Set the path of the attribute
        Parameters:
        path - the path of the attribute
      • checkNearDuplicate

        boolean checkNearDuplicate()
        Check if we should check for near duplicate
        Returns:
        true if we should check for near duplicate
      • getQuery

        Query getQuery​(Object value,
                       boolean nearDuplicateQuery)
        Get the query to find duplicate of this attributes
        Parameters:
        value - the value of the attribute
        nearDuplicateQuery - true if the query should check near duplicates
        Returns:
        the query to find duplicate of this attributes