package com.sforce.soap.metadata; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; /** * This is a generated class for the SObject Enterprise API. * Do not edit this file, as your changes will be lost. */ public enum CodeStatus { /** * Enumeration : Requested */ Requested("Requested"), /** * Enumeration : Allocated */ Allocated("Allocated"), /** * Enumeration : Provisioning */ Provisioning("Provisioning"), /** * Enumeration : Live */ Live("Live"), /** * Enumeration : Cancelled */ Cancelled("Cancelled"), /** * Enumeration : Inventory */ Inventory("Inventory"), /** * Enumeration : Attrition */ Attrition("Attrition"), /** * Enumeration : Suspended */ Suspended("Suspended"), /** * Enumeration : Imported */ Imported("Imported"), /** * Enumeration : Verifying */ Verifying("Verifying"), ; public static Map valuesToEnums; static { valuesToEnums = new HashMap(); for (CodeStatus e : EnumSet.allOf(CodeStatus.class)) { valuesToEnums.put(e.toString(), e.name()); } } private String value; private CodeStatus(String value) { this.value = value; } @Override public String toString() { return value; } }