public static enum Agency.AgencyType extends Enum<Agency.AgencyType>
| Enum Constant and Description | 
|---|
| GOVERNMENT | 
| OTHER | 
| PUBLIC | 
| RELIGIOUS | 
| Modifier and Type | Method and Description | 
|---|---|
| static Agency.AgencyType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Agency.AgencyType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Agency.AgencyType GOVERNMENT
public static final Agency.AgencyType OTHER
public static final Agency.AgencyType PUBLIC
public static final Agency.AgencyType RELIGIOUS
public static Agency.AgencyType[] values()
for (Agency.AgencyType c : Agency.AgencyType.values()) System.out.println(c);
public static Agency.AgencyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null