Package com.sforce.ws.wsdl
Enum SfdcApiType
- java.lang.Object
-
- java.lang.Enum<SfdcApiType>
-
- com.sforce.ws.wsdl.SfdcApiType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SfdcApiType>
public enum SfdcApiType extends java.lang.Enum<SfdcApiType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClientSyncCrossInstanceEnterpriseInternalMetadataPartnerSyncApiTooling
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SfdcApiTypegetFromNamespace(java.lang.String namespace)static SfdcApiTypegetFromSobjectNamespace(java.lang.String namespace)java.lang.StringgetNamespace()java.lang.StringgetSobjectNamespace()java.lang.StringgetVerifyEndpoint()booleanhasLoginCall()static SfdcApiTypevalueOf(java.lang.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.
-
-
-
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
-
Tooling
public static final SfdcApiType Tooling
-
-
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(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
hasLoginCall
public boolean hasLoginCall()
-
getNamespace
public java.lang.String getNamespace()
-
getSobjectNamespace
public java.lang.String getSobjectNamespace()
-
getVerifyEndpoint
public java.lang.String getVerifyEndpoint()
-
getFromNamespace
public static SfdcApiType getFromNamespace(java.lang.String namespace)
-
getFromSobjectNamespace
public static SfdcApiType getFromSobjectNamespace(java.lang.String namespace)
-
-