public enum EnumPolicy extends java.lang.Enum<EnumPolicy> implements Sendable
JSON.Parser| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJSON(java.lang.Object doc)
Convert String into JSON
|
java.lang.String |
getType() |
void |
setType(java.lang.String type) |
JSONDocument |
toJSON()
Convert class into json
|
static EnumPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPolicy Clean_River_Incentive
public static final EnumPolicy Covert_Intelligence
public static final EnumPolicy Educate_the_Women_Campaign
public static final EnumPolicy Efficient_Irrigation_Incentive
public static final EnumPolicy Ethanol_Tax_Credit_Change
public static final EnumPolicy Fertilizer_Subsidy
public static final EnumPolicy Foreign_Aid_for_Farm_Infrastructure
public static final EnumPolicy GMO_Seed_Insect_Resistance_Research
public static final EnumPolicy International_Food_Relief_Program
public static final EnumPolicy Loan
public static final EnumPolicy MyPlate_Promotion_Campaign
public static EnumPolicy[] values()
for (EnumPolicy c : EnumPolicy.values()) System.out.println(c);
public static EnumPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic JSONDocument toJSON()
JSONpublic void fromJSON(java.lang.Object doc)
JSON