Enum DemoMatchType

    • Enum Constant Detail

      • NAME

        public static final DemoMatchType NAME
        Primary Name Match Type.
      • DOB

        public static final DemoMatchType DOB
        Secondary Date of Birth Match Type.
      • DOBTYPE

        public static final DemoMatchType DOBTYPE
        Secondary Date of Birth Type Match.
      • AGE

        public static final DemoMatchType AGE
        Secondary Date of Birth Type Match.
      • GENDER

        public static final DemoMatchType GENDER
        Gender Match Type.
      • PHONE

        public static final DemoMatchType PHONE
        Phone Match Type.
      • EMAIL

        public static final DemoMatchType EMAIL
        E-mail Match Type.
      • ADDR_LINE1

        public static final DemoMatchType ADDR_LINE1
        The addr line1.
      • ADDR_LINE2

        public static final DemoMatchType ADDR_LINE2
        The addr line2 pri.
      • ADDR_LINE3

        public static final DemoMatchType ADDR_LINE3
        The addr line3 pri.
      • LOCATION1

        public static final DemoMatchType LOCATION1
        Location1 Match Type primary.
      • LOCATION2

        public static final DemoMatchType LOCATION2
        Location2 Match Type primary.
      • LOCATION3

        public static final DemoMatchType LOCATION3
        Location3 Match Type primary.
      • PINCODE

        public static final DemoMatchType PINCODE
        The pincode pri.
      • ADDR

        public static final DemoMatchType ADDR
        Primary Address MatchType.
      • DYNAMIC

        public static final DemoMatchType DYNAMIC
        The dynamic.
    • Method Detail

      • values

        public static DemoMatchType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DemoMatchType c : DemoMatchType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DemoMatchType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isMultiLanguage

        public boolean isMultiLanguage()
        Checks if is multi language.
        Specified by:
        isMultiLanguage in interface MatchType
        Returns:
        true, if is multi language
      • isPropMultiLang

        public boolean isPropMultiLang​(String propName,
                                       MappingConfig cfg)
        Checks if is prop multi lang.
        Specified by:
        isPropMultiLang in interface MatchType
        Parameters:
        propName - the prop name
        cfg - the cfg
        Returns:
        true, if is prop multi lang