Enum Occupation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Occupation>

    public enum Occupation
    extends java.lang.Enum<Occupation>
    Gets or Sets Occupation
    • Enum Constant Detail

      • ARCHITECT_OR_ENGINEER

        public static final Occupation ARCHITECT_OR_ENGINEER
      • BUSINESS_ANALYST_ACCOUNTANT_OR_FINANCIAL_ADVISOR

        public static final Occupation BUSINESS_ANALYST_ACCOUNTANT_OR_FINANCIAL_ADVISOR
      • COMMUNITY_AND_SOCIAL_SERVICES_WORKER

        public static final Occupation COMMUNITY_AND_SOCIAL_SERVICES_WORKER
      • CONSTRUCTION_MECHANIC_OR_MAINTENANCE_WORKER

        public static final Occupation CONSTRUCTION_MECHANIC_OR_MAINTENANCE_WORKER
      • EDUCATOR

        public static final Occupation EDUCATOR
      • ENTERTAINMENT_SPORTS_ARTS_OR_MEDIA

        public static final Occupation ENTERTAINMENT_SPORTS_ARTS_OR_MEDIA
      • EXECUTIVE_OR_MANAGER

        public static final Occupation EXECUTIVE_OR_MANAGER
      • FARMER_FISHERMAN_FORESTER

        public static final Occupation FARMER_FISHERMAN_FORESTER
      • FOOD_SERVICE_WORKER

        public static final Occupation FOOD_SERVICE_WORKER
      • GIG_WORKER

        public static final Occupation GIG_WORKER
      • HOSPITALITY_OFFICE_OR_ADMINISTRATIVE_SUPPORT_WORKER

        public static final Occupation HOSPITALITY_OFFICE_OR_ADMINISTRATIVE_SUPPORT_WORKER
      • HOUSEHOLD_MANAGER

        public static final Occupation HOUSEHOLD_MANAGER
      • JANITOR_HOUSEKEEPER_LANDSCAPER

        public static final Occupation JANITOR_HOUSEKEEPER_LANDSCAPER
      • MANUFACTURING_OR_PRODUCTION_WORKER

        public static final Occupation MANUFACTURING_OR_PRODUCTION_WORKER
      • MILITARY_OR_PUBLIC_SAFETY

        public static final Occupation MILITARY_OR_PUBLIC_SAFETY
      • NURSE_HEALTHCARE_TECHNICIAN_OR_HEALTHCARE_SUPPORT

        public static final Occupation NURSE_HEALTHCARE_TECHNICIAN_OR_HEALTHCARE_SUPPORT
      • PERSONAL_CARE_OR_SERVICE_WORKER

        public static final Occupation PERSONAL_CARE_OR_SERVICE_WORKER
      • PILOT_DRIVER_OPERATOR

        public static final Occupation PILOT_DRIVER_OPERATOR
      • SALES_REPRESENTATIVE_BROKER_AGENT

        public static final Occupation SALES_REPRESENTATIVE_BROKER_AGENT
      • SCIENTIST_OR_TECHNOLOGIST

        public static final Occupation SCIENTIST_OR_TECHNOLOGIST
    • Method Detail

      • values

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

        public static Occupation valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Occupation>
      • fromValue

        public static Occupation fromValue​(java.lang.String value)
      • toUrlQueryString

        public java.lang.String toUrlQueryString​(java.lang.String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string