com.sforce.ws.wsdl
Enum SfdcApiType

java.lang.Object
  extended by java.lang.Enum<SfdcApiType>
      extended by com.sforce.ws.wsdl.SfdcApiType
All Implemented Interfaces:
Serializable, Comparable<SfdcApiType>

public enum SfdcApiType
extends Enum<SfdcApiType>


Enum Constant Summary
ClientSync
           
CrossInstance
           
Enterprise
           
Internal
           
Metadata
           
Partner
           
SyncApi
           
 
Method Summary
static SfdcApiType getFromNamespace(String namespace)
           
static SfdcApiType getFromSobjectNamespace(String namespace)
           
 String getNamespace()
           
 String getSobjectNamespace()
           
 String getVerifyEndpoint()
           
 boolean hasLoginCall()
           
static SfdcApiType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SfdcApiType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Enterprise

public static final SfdcApiType Enterprise

Partner

public static final SfdcApiType Partner

Metadata

public static final SfdcApiType Metadata

CrossInstance

public static final SfdcApiType CrossInstance

Internal

public static final SfdcApiType Internal

ClientSync

public static final SfdcApiType ClientSync

SyncApi

public static final SfdcApiType SyncApi
Method Detail

values

public static SfdcApiType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SfdcApiType c : SfdcApiType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SfdcApiType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

hasLoginCall

public boolean hasLoginCall()

getNamespace

public String getNamespace()

getSobjectNamespace

public String getSobjectNamespace()

getVerifyEndpoint

public String getVerifyEndpoint()

getFromNamespace

public static SfdcApiType getFromNamespace(String namespace)

getFromSobjectNamespace

public static SfdcApiType getFromSobjectNamespace(String namespace)


Copyright © 2012. All Rights Reserved.