protected boolean requiresSObjectClass(Definitions definitions) { return definitions.getApiType() == SfdcApiType.Partner || definitions.getApiType() == SfdcApiType.CrossInstance || definitions.getApiType() == SfdcApiType.Internal || definitions.getApiType() == SfdcApiType.ClientSync || definitions.getApiType() == SfdcApiType.SyncApi; }
public void generate(URL wsdl, File dest) throws WsdlParseException, ToolsException, IOException { Definitions definitions = WsdlFactory.create(wsdl); SfdcApiType sfdcApiType = definitions.getApiType(); Types types = definitions.getTypes(); generate(definitions, sfdcApiType, types, dest); }
protected boolean requiresAggregateResultClass(Definitions definitions) { return definitions.getApiType() == SfdcApiType.Enterprise; }
protected String getPackageName(Definitions definitions) { return NameMapper.getPackageName(definitions.getApiType().getSobjectNamespace(), packagePrefix); }