Interface MatchType


  • public interface MatchType
    Base interface for the match type.
    Author:
    Loganathan Sekar, Dinesh Karuppiah.T
    • Method Detail

      • getIdMapping

        IdMapping getIdMapping()
        Gets the IDMapping.
        Returns:
        ID Mapping
      • getAllowedMatchingStrategy

        Optional<MatchingStrategy> getAllowedMatchingStrategy​(MatchingStrategyType matchStrategyType)
        Gets the allowed matching strategy for the MatchingStrategyType value.
        Parameters:
        matchStrategyType - the match strategy type
        Returns:
        the allowed matching strategy
      • getIdentityInfoList

        default List<IdentityInfoDTO> getIdentityInfoList​(RequestDTO identity)
        Get the IdentityInfoDTO list out of the identity block for this MatchType.
        Parameters:
        identity - the IdentityDTO
        Returns:
        the list of IdentityInfoDTO
      • getCategory

        MatchType.Category getCategory()
        Get the category of this MatchType.
        Returns:
        the category
      • hasIdEntityInfo

        default boolean hasIdEntityInfo()
        Flag to fetch Identity Info.
        Returns:
        boolean value true or false
      • hasRequestEntityInfo

        default boolean hasRequestEntityInfo()
        Flag to fetch Request Entity Info.
        Returns:
        the flag
      • isMultiLanguage

        default boolean isMultiLanguage()
        Flag to check MultiLanguage.
        Returns:
        the flag
      • setOf

        static <T> Set<T> setOf​(T... items)
        Returns the set of given matching strategies.
        Parameters:
        items - the matching strategies
        Returns:
        the sets the
      • isPropMultiLang

        default boolean isPropMultiLang​(String propName,
                                        MappingConfig cfg)
        Check if the mapped property is of multi-language type.
        Parameters:
        propName - mapped property name
        cfg - mapping
        Returns:
        true, if is prop multi lang
      • isDynamic

        default boolean isDynamic()