com.sforce.ws.wsdl
Enum SfdcApiType
java.lang.Object
java.lang.Enum<SfdcApiType>
com.sforce.ws.wsdl.SfdcApiType
- All Implemented Interfaces:
- Serializable, Comparable<SfdcApiType>
public enum SfdcApiType
- extends Enum<SfdcApiType>
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
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 © 2014. All Rights Reserved.