Enum CitizenshipType

  • All Implemented Interfaces:
    Serializable, Comparable<CitizenshipType>

    public enum CitizenshipType
    extends Enum<CitizenshipType>
    This class manages enums for the following CitizenshipTypes: US_CITIZEN_OR_NONCITIZEN_NATIONAL, PERMANENT_RESIDENT_OF_US, NON_US_CITIZEN_WITH_TEMPORARY_VISA, PERMANENT_RESIDENT_OF_US_PENDING.
    • Enum Constant Detail

      • US_CITIZEN_OR_NONCITIZEN_NATIONAL

        public static final CitizenshipType US_CITIZEN_OR_NONCITIZEN_NATIONAL
      • PERMANENT_RESIDENT_OF_US

        public static final CitizenshipType PERMANENT_RESIDENT_OF_US
      • NON_US_CITIZEN_WITH_TEMPORARY_VISA

        public static final CitizenshipType NON_US_CITIZEN_WITH_TEMPORARY_VISA
      • PERMANENT_RESIDENT_OF_US_PENDING

        public static final CitizenshipType PERMANENT_RESIDENT_OF_US_PENDING
      • NOT_RESIDING_IN_US

        public static final CitizenshipType NOT_RESIDING_IN_US
      • TEMP_VISA_ALSO_APPLIED_FOR_PERM_RESIDENT_STATUS

        public static final CitizenshipType TEMP_VISA_ALSO_APPLIED_FOR_PERM_RESIDENT_STATUS
    • Method Detail

      • values

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

        public static CitizenshipType 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
      • getCitizenShip

        public String getCitizenShip()