rand.asset_forfeiture
Enum MOGnames

java.lang.Object
  extended by java.lang.Enum<MOGnames>
      extended by rand.asset_forfeiture.MOGnames
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MOGnames>

public enum MOGnames
extends java.lang.Enum<MOGnames>

This enumeration describes all the possible MOGs that one can pick to represent the illegal workers' occupations. The first letter of each member is its corresponding BLS code. The text following that letter describes the scope of the MOG.


Enum Constant Summary
A_Professional_And_Technical_Occupations
          Profesional and technical
B_Executive_Administrative_And_Managerial_Occupations
          Administrative and Managerial
C_Sales_Occupations
          Sales and Retail
D_Administrative_Support_Occupations_Including_Clerical
          Administrative support
E_Precision_Production_Craft_And_Repair_Occupations
          Precision Production, Crafts, and Repair
F_Machine_Operators_Assemblers_And_Inspectors
          Machine Operators
G_Transportation_And_Material_Moving_Occupations
          Transportation
H_Handlers_Equipment_Cleaners_Helpers_And_Laborers
          Manual Labor
K_Service_Occupations_Except_Private_Households
          Service Occupations
 
Method Summary
static MOGnames fromString(java.lang.String v)
          A custom fromString converter, since the strings in the MOG database have spaces, but we need to use underscores to keep java happy.
 java.lang.String toString()
          A custom toString() method that strips out the underscores.
static MOGnames valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MOGnames[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A_Professional_And_Technical_Occupations

public static final MOGnames A_Professional_And_Technical_Occupations
Profesional and technical


B_Executive_Administrative_And_Managerial_Occupations

public static final MOGnames B_Executive_Administrative_And_Managerial_Occupations
Administrative and Managerial


C_Sales_Occupations

public static final MOGnames C_Sales_Occupations
Sales and Retail


D_Administrative_Support_Occupations_Including_Clerical

public static final MOGnames D_Administrative_Support_Occupations_Including_Clerical
Administrative support


E_Precision_Production_Craft_And_Repair_Occupations

public static final MOGnames E_Precision_Production_Craft_And_Repair_Occupations
Precision Production, Crafts, and Repair


F_Machine_Operators_Assemblers_And_Inspectors

public static final MOGnames F_Machine_Operators_Assemblers_And_Inspectors
Machine Operators


G_Transportation_And_Material_Moving_Occupations

public static final MOGnames G_Transportation_And_Material_Moving_Occupations
Transportation


H_Handlers_Equipment_Cleaners_Helpers_And_Laborers

public static final MOGnames H_Handlers_Equipment_Cleaners_Helpers_And_Laborers
Manual Labor


K_Service_Occupations_Except_Private_Households

public static final MOGnames K_Service_Occupations_Except_Private_Households
Service Occupations

Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MOGnames 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

fromString

public static MOGnames fromString(java.lang.String v)
A custom fromString converter, since the strings in the MOG database have spaces, but we need to use underscores to keep java happy. \param v a string representation of the varible, with either spaces or underscores between words \returns the corresponding MOGnames instance \throws an IllegalArgumentException if v is not a valid MOG


toString

public java.lang.String toString()
A custom toString() method that strips out the underscores. \returns a string containing the one-letter code for the MOG and a more descriptive name

Overrides:
toString in class java.lang.Enum<MOGnames>