Package com.sforce.ws.codegen
Class ConnectionMetadataConstructor
- java.lang.Object
-
- com.sforce.ws.codegen.ConnectionMetadataConstructor
-
public class ConnectionMetadataConstructor extends Object
- Since:
- 184
- Author:
- hhildebrand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classConnectionMetadataConstructor.ArgListTypesToGenerate
-
Field Summary
Fields Modifier and Type Field Description protected TypeMappertypeMapper
-
Constructor Summary
Constructors Constructor Description ConnectionMetadataConstructor(Definitions definitions, TypeMapper typeMapper, String packagePrefix)
-
Method Summary
-
-
-
Field Detail
-
typeMapper
protected final TypeMapper typeMapper
-
-
Constructor Detail
-
ConnectionMetadataConstructor
public ConnectionMetadataConstructor(Definitions definitions, TypeMapper typeMapper, String packagePrefix)
-
-
Method Detail
-
getConnectionClassMetadata
public ConnectionClassMetadata getConnectionClassMetadata()
-
returnTypeInterface
protected String returnTypeInterface(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
isReturnTypeComplexType
protected boolean isReturnTypeComplexType(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
getPackageName
public String getPackageName()
-
endpoint
public String endpoint()
-
verifyEndpoint
public String verifyEndpoint()
-
getPackagePrefix
public String getPackagePrefix()
-
getTargetNamespace
public String getTargetNamespace()
-
sobjectNamespace
public String sobjectNamespace()
-
dumpQNames
public String dumpQNames() throws ConnectionException
- Throws:
ConnectionException
-
dumpKnownHeaders
public String dumpKnownHeaders() throws ConnectionException
- Throws:
ConnectionException
-
headerElement
public String headerElement(Part header) throws ConnectionException
- Throws:
ConnectionException
-
hasLoginCall
public boolean hasLoginCall()
-
hasSessionHeader
public boolean hasSessionHeader() throws ConnectionException- Throws:
ConnectionException
-
headersFor
public Iterator<Part> headersFor(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
headers
public Iterator<Part> headers() throws ConnectionException
- Throws:
ConnectionException
-
headerType
public String headerType(Part header) throws ConnectionException
- Throws:
ConnectionException
-
getResultCall
public String getResultCall(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
soapAction
public String soapAction(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
returnType
public String returnType(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
getResponseElement
public Element getResponseElement(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
headerArgs
public String headerArgs(Part header) throws ConnectionException
- Throws:
ConnectionException
-
headerElements
public Iterator<Element> headerElements(Part header) throws ConnectionException
- Throws:
ConnectionException
-
getArgs
public String getArgs(Operation operation, ConnectionMetadataConstructor.ArgListTypesToGenerate types) throws ConnectionException
- Throws:
ConnectionException
-
argElements
public Iterator<Element> argElements(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
isArray
public boolean isArray(Element el)
-
isComplexType
public boolean isComplexType(Element el)
-
loginResult
public String loginResult() throws ConnectionException
- Throws:
ConnectionException
-
responseName
public String responseName(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
requestName
public String requestName(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
responseType
public String responseType(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
requestType
public String requestType(Operation operation) throws ConnectionException
- Throws:
ConnectionException
-
-