package com.sforce.soap.partner; 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 EmailPriority { /** * Enumeration : Highest */ Highest("Highest"), /** * Enumeration : High */ High("High"), /** * Enumeration : Normal */ Normal("Normal"), /** * Enumeration : Low */ Low("Low"), /** * Enumeration : Lowest */ Lowest("Lowest"), ; public static Map valuesToEnums; static { valuesToEnums = new HashMap(); for (EmailPriority e : EnumSet.allOf(EmailPriority.class)) { valuesToEnums.put(e.toString(), e.name()); } } private String value; private EmailPriority(String value) { this.value = value; } @Override public String toString() { return value; } }