Enum DOBType

    • Enum Constant Detail

      • VERIFIED

        public static final DOBType VERIFIED
        The verified.
      • DECLARED

        public static final DOBType DECLARED
        The declared.
      • APPROXIMATE

        public static final DOBType APPROXIMATE
        The approximate.
    • Method Detail

      • values

        public static DOBType[] 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 (DOBType c : DOBType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DOBType 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
      • getDobType

        public String getDobType()
        Gets the dob type.
        Returns:
        the dob type
      • isTypePresent

        public static Boolean isTypePresent​(String dobType)
        Checks if is type present.
        Parameters:
        dobType - the dob type
        Returns:
        the boolean
      • getType

        public static Optional<DOBType> getType​(String dobType)
        Gets the type.
        Parameters:
        dobType - the dob type
        Returns:
        the type