package com.sforce.soap.tooling; 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 ExternalConnectionStatus { /** * Enumeration : Unprovisioned */ Unprovisioned("Unprovisioned"), /** * Enumeration : Allocating */ Allocating("Allocating"), /** * Enumeration : PendingAcceptance */ PendingAcceptance("PendingAcceptance"), /** * Enumeration : PendingActivation */ PendingActivation("PendingActivation"), /** * Enumeration : RejectedRemotely */ RejectedRemotely("RejectedRemotely"), /** * Enumeration : DeletedRemotely */ DeletedRemotely("DeletedRemotely"), /** * Enumeration : TeardownInProgress */ TeardownInProgress("TeardownInProgress"), /** * Enumeration : Ready */ Ready("Ready"), ; public static Map valuesToEnums; static { valuesToEnums = new HashMap(); for (ExternalConnectionStatus e : EnumSet.allOf(ExternalConnectionStatus.class)) { valuesToEnums.put(e.toString(), e.name()); } } private String value; private ExternalConnectionStatus(String value) { this.value = value; } @Override public String toString() { return value; } }