Author: jdoyle
Date: 2010-02-19 11:05:32 -0500 (Fri, 19 Feb 2010)
New Revision: 1844
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLead.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLeadResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Create.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CreateResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Delete.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout2.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButtonSection.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjects.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectsResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabsResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBin.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidFieldFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidIdFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidNewPasswordFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidQueryLocatorFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidSObjectFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessions.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedQueryFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedSearchFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Merge.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ObjectFactory.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersionHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Process.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RetrieveResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmail.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Undelete.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UnexpectedErrorFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Update.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpdateResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ObjectFactory.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/package-info.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/package-info.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/ObjectFactory.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/package-info.java
Removed:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutType0.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceServiceLocator.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapBindingStub.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/FaultCode.java
Modified:
branches/JCA/connectors/connector-salesforce/pom.xml
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/MetadataProcessor.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/SalesforceConnection.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/impl/ConnectionImpl.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/AbstractUpdateExecution.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/DataPayload.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetDeletedExecutionImpl.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetUpdatedExecutionImpl.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/QueryExecutionImpl.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdateExecutionImpl.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdatedResult.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/InsertVisitor.java
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/SelectVisitor.java
branches/JCA/connectors/connector-salesforce/src/test/java/com/metamatrix/connector/salesforce/execution/visitors/TestVisitors.java
branches/JCA/connectors/salesforce-api/pom.xml
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AllowFieldTruncationHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AssignmentRuleHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CallOptions.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ChildRelationship.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebugLevel.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingInfo.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeletedRecord.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobal.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalSObjectResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButton.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutComponent.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutItem.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutRow.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutSection.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObject.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayout.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutCallType.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutInfoField.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutItem.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutSection.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTab.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabSetResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabs.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Email.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailFileAttachment.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailPriority.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Error.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Field.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/FieldType.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeleted.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestamp.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdated.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfo.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LayoutComponentType.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvert.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvertResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LocaleOptions.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Login.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginScopeHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Logout.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LogoutResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MassEmailMessage.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeRequest.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MruHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersion.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistEntry.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistForRecordType.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessRequest.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessSubmitRequest.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessWorkitemRequest.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Query.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAll.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAllResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMore.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMoreResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryOptions.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeInfo.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeMapping.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedList.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListColumn.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListSort.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPassword.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Retrieve.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SaveResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Search.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchRecord.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailError.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SessionHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPassword.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResponse.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceService.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SingleEmailMessage.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Soap.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapType.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/StatusCode.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Upsert.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResult.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UserTerritoryDeleteHeader.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiQueryFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ExceptionCode.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidFieldFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidIdFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidNewPasswordFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidQueryLocatorFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidSObjectFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/LoginFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedQueryFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedSearchFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/UnexpectedErrorFault.java
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/SObject.java
Log:
Migrating SF to JAX-WS from JAX-RPC.
Modified: branches/JCA/connectors/connector-salesforce/pom.xml
===================================================================
--- branches/JCA/connectors/connector-salesforce/pom.xml 2010-02-19 02:29:42 UTC (rev
1843)
+++ branches/JCA/connectors/connector-salesforce/pom.xml 2010-02-19 16:05:32 UTC (rev
1844)
@@ -25,21 +25,6 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>jdom</groupId>
- <artifactId>jdom</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.jboss.teiid.connectors</groupId>
<artifactId>salesforce-api</artifactId>
<version>${project.version}</version>
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/MetadataProcessor.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/MetadataProcessor.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/MetadataProcessor.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -66,11 +66,10 @@
public void processMetadata() throws ConnectorException {
DescribeGlobalResult globalResult = connection.getObjects();
- DescribeGlobalSObjectResult[] objects = globalResult.getSobjects();
- for (int i=0;i < objects.length;i++) {
- DescribeGlobalSObjectResult object = objects[i];
+ List<DescribeGlobalSObjectResult> objects = globalResult.getSobjects();
+ for (DescribeGlobalSObjectResult object : objects) {
addTable(object);
- }
+ }
addRelationships();
}
@@ -154,10 +153,9 @@
}
private void getRelationships(DescribeSObjectResult objectMetadata) {
- ChildRelationship[] children = objectMetadata.getChildRelationships();
- if(children != null && children.length != 0) {
- for (int i = 0; i < children.length; i++) {
- ChildRelationship childRelation = children[i];
+ List<ChildRelationship> children = objectMetadata.getChildRelationships();
+ if(children != null && children.size() != 0) {
+ for (ChildRelationship childRelation : children) {
Relationship newRelation = new RelationshipImpl();
newRelation.setParentTable(objectMetadata.getName());
newRelation.setChildTable(childRelation.getChildSObject());
@@ -169,96 +167,95 @@
}
private void addColumns(DescribeSObjectResult objectMetadata, Table table) throws
ConnectorException {
- Field[] fields = objectMetadata.getFields();
- for (int i=0;i < fields.length;i++) {
- Field field = fields[i];
+ List<Field> fields = objectMetadata.getFields();
+ for (Field field : fields) {
String normalizedName = NameUtil.normalizeName(field.getName());
FieldType fieldType = field.getType();
if(!this.connectorEnv.isModelAuditFields() && isAuditField(field.getName()))
{
continue;
}
- String sfTypeName = fieldType.getValue();
+ String sfTypeName = fieldType.value();
Column column = null;
- if(sfTypeName.equals(FieldType._value1) || //string
- sfTypeName.equals(FieldType._value4) || //"combobox"
- sfTypeName.equals(FieldType._value5) || //"reference"
- sfTypeName.equals(FieldType._value13) || //"phone"
- sfTypeName.equals(FieldType._value14) || //"id"
- sfTypeName.equals(FieldType._value18) || //"url"
- sfTypeName.equals(FieldType._value19) || //"email"
- sfTypeName.equals(FieldType._value20) || //"encryptedstring"
- sfTypeName.equals(FieldType._value21)) { //"anytype"
+ if(sfTypeName.equals(FieldType.STRING) || //string
+ sfTypeName.equals(FieldType.COMBOBOX) || //"combobox"
+ sfTypeName.equals(FieldType.REFERENCE) || //"reference"
+ sfTypeName.equals(FieldType.PHONE) || //"phone"
+ sfTypeName.equals(FieldType.ID) || //"id"
+ sfTypeName.equals(FieldType.URL) || //"url"
+ sfTypeName.equals(FieldType.EMAIL) || //"email"
+ sfTypeName.equals(FieldType.ENCRYPTEDSTRING) || //"encryptedstring"
+ sfTypeName.equals(FieldType.ANY_TYPE)) { //"anytype"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.STRING, table);
column.setNativeType(sfTypeName);
- if(sfTypeName.equals(FieldType._value14)) {
+ if(sfTypeName.equals(FieldType.ID)) {
column.setNullType(NullType.No_Nulls);
ArrayList<String> columnNames = new ArrayList<String>();
columnNames.add(field.getName());
metadataFactory.addPrimaryKey(field.getName()+"_PK", columnNames, table);
}
}
- else if(sfTypeName.equals(FieldType._value2)) { // "picklist"
+ else if(sfTypeName.equals(FieldType.PICKLIST)) { // "picklist"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.STRING, table);
if(field.isRestrictedPicklist()) {
column.setNativeType("restrictedpicklist");
} else {
- column.setNativeType(FieldType._value2);
+ column.setNativeType(sfTypeName);
}
column.setProperty(COLUMN_PICKLIST_VALUES, getPicklistValues(field));
}
- else if(sfTypeName.equals(FieldType._value3)) { //"multipicklist"
+ else if(sfTypeName.equals(FieldType.MULTIPICKLIST)) { //"multipicklist"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.STRING, table);
if(field.isRestrictedPicklist()) {
column.setNativeType("restrictedmultiselectpicklist");
} else {
- column.setNativeType(FieldType._value3);
+ column.setNativeType(sfTypeName);
}
column.setProperty(COLUMN_PICKLIST_VALUES, getPicklistValues(field));
}
- else if(sfTypeName.equals(FieldType._value6)) { //"base64"
+ else if(sfTypeName.equals(FieldType.BASE_64)) { //"base64"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.BLOB, table);
- column.setNativeType(FieldType._value6);
+ column.setNativeType(sfTypeName);
}
- else if(sfTypeName.equals(FieldType._value7)) { //"boolean"
+ else if(sfTypeName.equals(FieldType.BOOLEAN)) { //"boolean"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.BOOLEAN, table);
- column.setNativeType(FieldType._value7);
+ column.setNativeType(sfTypeName);
}
- else if(sfTypeName.equals(FieldType._value8)) { //"currency"
+ else if(sfTypeName.equals(FieldType.CURRENCY)) { //"currency"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.DOUBLE, table);
- column.setNativeType(FieldType._value8);
+ column.setNativeType(sfTypeName);
column.setCurrency(true);
column.setScale(field.getScale());
column.setPrecision(field.getPrecision());
}
- else if(sfTypeName.equals(FieldType._value9)) { //"textarea"
+ else if(sfTypeName.equals(FieldType.TEXTAREA)) { //"textarea"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.STRING, table);
- column.setNativeType(FieldType._value9);
+ column.setNativeType(sfTypeName);
column.setSearchType(SearchType.Unsearchable);
}
- else if(sfTypeName.equals(FieldType._value10)) { //"int"
+ else if(sfTypeName.equals(FieldType.INT)) { //"int"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.INTEGER, table);
- column.setNativeType(FieldType._value10);
+ column.setNativeType(sfTypeName);
column.setPrecision(field.getPrecision());
}
- else if(sfTypeName.equals(FieldType._value11) || //"double"
- sfTypeName.equals(FieldType._value12)) { //"percent"
+ else if(sfTypeName.equals(FieldType.DOUBLE) || //"double"
+ sfTypeName.equals(FieldType.PERCENT)) { //"percent"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.DOUBLE, table);
column.setNativeType(sfTypeName);
column.setScale(field.getScale());
column.setPrecision(field.getPrecision());
}
- else if(sfTypeName.equals(FieldType._value15)) { //"date"
+ else if(sfTypeName.equals(FieldType.DATE)) { //"date"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.DATE, table);
- column.setNativeType(FieldType._value15);
+ column.setNativeType(sfTypeName);
}
- else if(sfTypeName.equals(FieldType._value16)) { //"datetime"
+ else if(sfTypeName.equals(FieldType.DATETIME)) { //"datetime"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.TIMESTAMP, table);
- column.setNativeType(FieldType._value16);
+ column.setNativeType(sfTypeName);
}
- else if(sfTypeName.equals(FieldType._value17)) { //"time"
+ else if(sfTypeName.equals(FieldType.TIME)) { //"time"
column = metadataFactory.addColumn(normalizedName,
DataTypeManager.DefaultDataTypes.TIME, table);
- column.setNativeType(FieldType._value17);
+ column.setNativeType(sfTypeName);
}
if(null == column) {
connectorEnv.getLogger().logError("Unknown type returned by SalesForce: " +
sfTypeName);
@@ -280,10 +277,10 @@
private String getPicklistValues(Field field) {
StringBuffer picklistValues = new StringBuffer();
- if(null != field.getPicklistValues() && 0 != field.getPicklistValues().length)
{
- List<PicklistEntry> entries = Arrays.asList(field.getPicklistValues());
- for (Iterator iterator = entries.iterator(); iterator.hasNext();) {
- PicklistEntry entry = (PicklistEntry) iterator.next();
+ if(null != field.getPicklistValues() && 0 != field.getPicklistValues().size())
{
+ List<PicklistEntry> entries = field.getPicklistValues();
+ for (Iterator<PicklistEntry> iterator = entries.iterator(); iterator.hasNext();)
{
+ PicklistEntry entry = iterator.next();
picklistValues.append(entry.getValue());
if(iterator.hasNext()) {
picklistValues.append(',');
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/SalesforceConnection.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/SalesforceConnection.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/SalesforceConnection.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -25,6 +25,7 @@
import java.util.List;
import javax.security.auth.Subject;
+import javax.xml.datatype.XMLGregorianCalendar;
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.api.ExecutionContext;
@@ -129,8 +130,8 @@
return connection.query(queryString, maxBatchSize, queryAll);
}
- public QueryResult queryMore(String queryLocator) throws ConnectorException {
- return connection.queryMore(queryLocator);
+ public QueryResult queryMore(String queryLocator, int batchSize) throws
ConnectorException {
+ return connection.queryMore(queryLocator, batchSize);
}
@Override
@@ -150,20 +151,21 @@
return connection.update(updateDataList);
}
- public UpdatedResult getUpdated(String objectName, Calendar startCalendar,
- Calendar endCalendar) throws ConnectorException {
+ public UpdatedResult getUpdated(String objectName, XMLGregorianCalendar startCalendar,
+ XMLGregorianCalendar endCalendar) throws ConnectorException {
return connection.getUpdated(objectName, startCalendar, endCalendar);
}
- public DeletedResult getDeleted(String objectName, Calendar startCalendar,
- Calendar endCalendar) throws ConnectorException {
+ public DeletedResult getDeleted(String objectName, XMLGregorianCalendar startCalendar,
+ XMLGregorianCalendar endCalendar) throws ConnectorException {
return connection.getDeleted(objectName, startCalendar, endCalendar);
}
- public QueryResult retrieve(String fieldList, String sObjectType, String[] ids) throws
ConnectorException {
- SObject[] objects = connection.retrieve(fieldList, sObjectType, ids);
- QueryResult result = new QueryResult(true, "teiid_created_result",
- objects, objects.length);
+ public QueryResult retrieve(String fieldList, String sObjectType, List<String>
ids) throws ConnectorException {
+ List<SObject> objects = connection.retrieve(fieldList, sObjectType, ids);
+ QueryResult result = new QueryResult();
+ result.getRecords().addAll(objects);
+ result.setSize(objects.size());
return result;
}
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/impl/ConnectionImpl.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/impl/ConnectionImpl.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/connection/impl/ConnectionImpl.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -22,22 +22,13 @@
package com.metamatrix.connector.salesforce.connection.impl;
import java.net.URL;
-import java.rmi.RemoteException;
import java.util.ArrayList;
-import java.util.Calendar;
+import java.util.Arrays;
import java.util.List;
-import javax.xml.rpc.ServiceException;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.ws.BindingProvider;
-import org.apache.axis.EngineConfiguration;
-import org.apache.axis.Handler;
-import org.apache.axis.SimpleChain;
-import org.apache.axis.SimpleTargetedChain;
-import org.apache.axis.client.AxisClient;
-import org.apache.axis.configuration.SimpleProvider;
-import org.apache.axis.handlers.SimpleSessionHandler;
-import org.apache.axis.transport.http.CommonsHTTPSender;
-import org.apache.axis.transport.http.HTTPTransport;
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.api.ConnectorLogger;
@@ -52,115 +43,110 @@
import com.sforce.soap.partner.DescribeSObjectResult;
import com.sforce.soap.partner.GetDeletedResult;
import com.sforce.soap.partner.GetUpdatedResult;
+import com.sforce.soap.partner.InvalidFieldFault;
+import com.sforce.soap.partner.InvalidIdFault;
+import com.sforce.soap.partner.LoginFault;
import com.sforce.soap.partner.LoginResult;
+import com.sforce.soap.partner.LoginScopeHeader;
+import com.sforce.soap.partner.MalformedQueryFault;
+import com.sforce.soap.partner.MruHeader;
+import com.sforce.soap.partner.ObjectFactory;
+import com.sforce.soap.partner.PackageVersionHeader;
import com.sforce.soap.partner.QueryOptions;
import com.sforce.soap.partner.QueryResult;
import com.sforce.soap.partner.SaveResult;
import com.sforce.soap.partner.SessionHeader;
-import com.sforce.soap.partner.SforceServiceLocator;
-import com.sforce.soap.partner.SoapBindingStub;
-import com.sforce.soap.partner.fault.ApiFault;
-import com.sforce.soap.partner.fault.InvalidQueryLocatorFault;
-import com.sforce.soap.partner.fault.InvalidSObjectFault;
-import com.sforce.soap.partner.fault.UnexpectedErrorFault;
+import com.sforce.soap.partner.SforceService;
+import com.sforce.soap.partner.Soap;
import com.sforce.soap.partner.sobject.SObject;
public class ConnectionImpl {
- private SoapBindingStub binding;
+ private SforceService sfService;
+ private Soap sfSoap;
+ private LoginScopeHeader lh;
+ private SessionHeader sh;
+ private CallOptions co;
private ConnectorLogger logger;
+ private ObjectFactory partnerFactory = new ObjectFactory();
+
+ PackageVersionHeader pvHeader = partnerFactory.createPackageVersionHeader();
+
public ConnectionImpl(String username, String password, URL url, long pingInterval,
ConnectorLogger logger, int timeout) throws ConnectorException {
this.logger = logger;
login(username, password, url, timeout);
}
String getUserName() throws ConnectorException {
- try {
- return binding.getUserInfo().getUserName();
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getExceptionMessage());
- } catch (RemoteException e) {
- throw new ConnectorException(e.getCause().getMessage());
- }
+ try {
+ return sfSoap.getUserInfo(sh, co).getUserName();
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e.getMessage());
+ }
}
- SoapBindingStub getBinding() {
- return binding;
+ Soap getBinding() {
+ return sfSoap;
}
private void login(String username, String password, URL url, int timeout)
throws ConnectorException {
if (!isAlive()) {
LoginResult loginResult = null;
- binding = null;
- SforceServiceLocator locator = new SforceServiceLocator();
- EngineConfiguration myConfig = getStaticConnectionConfig();
- locator.setEngineConfiguration(myConfig);
- locator.setEngine(new AxisClient(myConfig));
+ sfSoap = null;
+ sfService = null;
+ co = new CallOptions();
+ co.setClient("RedHat/MetaMatrix/");
+
try {
if(null != url) {
- binding = (SoapBindingStub) new SforceServiceLocator().getSoap(url);
+ sfService = new SforceService(url);
+ sfSoap = sfService.getSoap();
} else {
- binding = (SoapBindingStub) new SforceServiceLocator().getSoap();
+ sfService = new SforceService();
+ sfSoap = sfService.getSoap();
}
- CallOptions co = new CallOptions();
- co.setClient("RedHat/MetaMatrix/");
- binding.setHeader("SforceService", "CallOptions", co);
- binding.setTimeout(timeout);
- loginResult = binding.login(username, password);
- } catch (ApiFault ex) {
- throw new ConnectorException(ex.getExceptionMessage());
- } catch (RemoteException e) {
+ lh = new LoginScopeHeader();
+ lh.setOrganizationId("RedHat/MetaMatrix/");
+ loginResult = sfSoap.login(username, password, lh, co);
+ } catch (LoginFault e) {
throw new ConnectorException(e.getCause().getMessage());
- } catch (ServiceException e) {
+ } catch (InvalidIdFault e) {
throw new ConnectorException(e.getCause().getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e.getCause().getMessage());
}
logger.logTrace("Login was successful for username " + username);
+ sh = new SessionHeader();
+ sh.setSessionId(loginResult.getSessionId());
// Reset the SOAP endpoint to the returned server URL
- binding._setProperty(SoapBindingStub.ENDPOINT_ADDRESS_PROPERTY,
+ ((BindingProvider)sfSoap).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
loginResult.getServerUrl());
-
- // Create a new session header object
- // add the session ID returned from the login
- SessionHeader sh = new SessionHeader();
- sh.setSessionId(loginResult.getSessionId());
- // Set the session header for subsequent call authentication
- binding.setHeader(new SforceServiceLocator().getServiceName()
- .getNamespaceURI(), "SessionHeader", sh);
-
+ // or maybe org.apache.cxf.message.Message.ENDPOINT_ADDRESS
+ ((BindingProvider)sfSoap).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,
+ Boolean.TRUE);
+ // Set the timeout.
+ //((BindingProvider)sfSoap).getRequestContext().put(JAXWSProperties.CONNECT_TIMEOUT,
timeout);
+
+
// Test the connection.
try {
- binding.getUserInfo();
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getExceptionMessage());
- } catch (RemoteException e) {
+ sfSoap.getUserInfo(sh, co);
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
throw new ConnectorException(e.getCause().getMessage());
}
}
}
- // Replace the non-static Axis connection with the static HTTP Commons connection.
- private EngineConfiguration getStaticConnectionConfig() {
- SimpleProvider clientConfig=new SimpleProvider();
- Handler sessionHandler =(Handler)new SimpleSessionHandler();
- SimpleChain reqHandler = new SimpleChain();
- SimpleChain respHandler =new SimpleChain();
- reqHandler.addHandler(sessionHandler);
- respHandler.addHandler(sessionHandler);
- Handler pivot=(Handler)new CommonsHTTPSender();
- Handler transport=new SimpleTargetedChain(reqHandler, pivot, respHandler);
- clientConfig.deployTransport(HTTPTransport.DEFAULT_TRANSPORT_NAME,transport);
- return clientConfig;
- }
public boolean isAlive() {
boolean result = true;
- if(binding == null) {
+ if(sfSoap == null) {
result = false;
} else {
try {
- binding.getServerTimestamp();
+ sfSoap.getServerTimestamp(sh, co);
} catch (Throwable t) {
logger.logDetail("Caught Throwable in isAlive", t);
result = false;
@@ -171,61 +157,69 @@
public QueryResult query(String queryString, int batchSize, Boolean queryAll) throws
ConnectorException {
QueryResult qr = null;
- QueryOptions qo = new QueryOptions();
+ QueryOptions qo = partnerFactory.createQueryOptions();
qo.setBatchSize(batchSize);
- binding.setHeader(new SforceServiceLocator().getServiceName()
- .getNamespaceURI(), "QueryOptions", qo);
try {
if(queryAll) {
- qr = binding.queryAll(queryString);
+ qr = sfSoap.queryAll(queryString, sh, co, qo);
} else {
- qr = binding.query(queryString);
+ MruHeader mruHeader = partnerFactory.createMruHeader();
+ mruHeader.setUpdateMru(false);
+
+ qr = sfSoap.query(queryString, sh, co, qo, mruHeader, pvHeader);
}
- } catch (ApiFault ex) {
- throw new ConnectorException(ex.getExceptionMessage());
- } catch (RemoteException ex) {
- throw new ConnectorException(ex, ex.getMessage());
+ } catch (InvalidFieldFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (MalformedQueryFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (InvalidIdFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.InvalidQueryLocatorFault e) {
+ throw new ConnectorException(e, e.getMessage());
}
return qr;
}
- public QueryResult queryMore(String queryLocator) throws ConnectorException {
+ public QueryResult queryMore(String queryLocator, int batchSize) throws
ConnectorException {
+ QueryOptions qo = partnerFactory.createQueryOptions();
+ qo.setBatchSize(batchSize);
try {
- return binding.queryMore(queryLocator);
- } catch ( InvalidQueryLocatorFault e ) {
- throw new ConnectorException(e.getMessage());
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getMessage());
- } catch (ApiFault e) {
- throw new ConnectorException(e.getMessage());
- } catch (RemoteException e) {
- throw new ConnectorException(e.getCause());
+ return sfSoap.queryMore(queryLocator,sh, co , qo);
+ } catch (InvalidFieldFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.InvalidQueryLocatorFault e) {
+ throw new ConnectorException(e, e.getMessage());
}
+
}
public int delete(String[] ids) throws ConnectorException {
- DeleteResult[] results = null;
+ List<DeleteResult> results = null;
try {
- results = binding.delete(ids);
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getExceptionMessage());
- } catch (RemoteException e) {
- throw new ConnectorException(e.getCause());
+ results = sfSoap.delete(Arrays.asList(ids), sh, co, null, null, null, null, null,
null);
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
}
boolean allGood = true;
StringBuffer errorMessages = new StringBuffer();
- for(int i = 0; i < results.length; i++) {
- DeleteResult result = results[i];
+ for(int i = 0; i < results.size(); i++) {
+ DeleteResult result = results.get(i);
if(!result.isSuccess()) {
if(allGood) {
errorMessages.append("Error(s) executing DELETE: ");
allGood = false;
}
- com.sforce.soap.partner.Error[] errors = result.getErrors();
- if(null != errors && errors.length > 0) {
- for(int x = 0; x < errors.length; x++) {
- com.sforce.soap.partner.Error error = errors[x];
+ List<com.sforce.soap.partner.Error> errors = result.getErrors();
+ if(null != errors && errors.size() > 0) {
+ for(int x = 0; x < errors.size(); x++) {
+ com.sforce.soap.partner.Error error = errors.get(x);
errorMessages.append(error.getMessage()).append(';');
}
}
@@ -235,118 +229,128 @@
if(!allGood) {
throw new ConnectorException(errorMessages.toString());
}
- return results.length;
+ return results.size();
}
public int create(DataPayload data) throws ConnectorException {
SObject toCreate = new SObject();
toCreate.setType(data.getType());
- toCreate.set_any(data.getMessageElements());
- SObject[] create = new SObject[] {toCreate};
- SaveResult[] result;
+ toCreate.getAny().addAll(data.getMessageElements());
+ List<SObject> objects = new ArrayList<SObject>();
+ objects.add(toCreate);
+ List<SaveResult> result;
try {
- result = binding.create(create);
- } catch (ApiFault e) {
- String message = e.getExceptionMessage();
- throw new ConnectorException(e, message);
- } catch (RemoteException e) {
- throw new ConnectorException(e.getCause());
+ result = sfSoap.create(objects, sh, co, null, null, null, null, null, null, null);
+ } catch (InvalidFieldFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (InvalidIdFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
}
return analyzeResult(result);
}
public int update(List<DataPayload> updateDataList) throws ConnectorException {
- SObject[] params = new SObject[updateDataList.size()];
+ List<SObject> params = new ArrayList<SObject>(updateDataList.size());
for(int i = 0; i < updateDataList.size(); i++) {
DataPayload data = updateDataList.get(i);
SObject toCreate = new SObject();
toCreate.setType(data.getType());
toCreate.setId(data.getID());
- toCreate.set_any(data.getMessageElements());
- params[i] = toCreate;
+ toCreate.getAny().addAll(data.getMessageElements());
+ params.add(i, toCreate);
}
- SaveResult[] result;
- try {
- result = binding.update(params);
- } catch (ApiFault e) {
- String message = e.getExceptionMessage();
- throw new ConnectorException(e, message);
- } catch (RemoteException e) {
- throw new ConnectorException(e.getCause());
- }
+ List<SaveResult> result;
+ try {
+ result = sfSoap.update(params,sh, co, null, null, null, null, null, null, null);
+ } catch (InvalidFieldFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (InvalidIdFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ }
return analyzeResult(result);
}
- private int analyzeResult(SaveResult[] results) throws ConnectorException {
- for(int i = 0; i < results.length; i++) {
- SaveResult result = results[i];
+ private int analyzeResult(List<SaveResult> results) throws ConnectorException {
+ for (SaveResult result : results) {
if(!result.isSuccess()) {
- throw new ConnectorException(result.getErrors()[0].getMessage());
+ throw new ConnectorException(result.getErrors().get(0).getMessage());
}
}
- return results.length;
+ return results.size();
}
- public UpdatedResult getUpdated(String objectType, Calendar startDate, Calendar endDate)
throws ConnectorException {
- try {
- GetUpdatedResult updated = binding.getUpdated(objectType, startDate, endDate);
+ public UpdatedResult getUpdated(String objectType, XMLGregorianCalendar startDate,
XMLGregorianCalendar endDate) throws ConnectorException {
+ GetUpdatedResult updated;
+ try {
+ updated = sfSoap.getUpdated(objectType, startDate, endDate, sh, co);
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ }
UpdatedResult result = new UpdatedResult();
- result.setLatestDateCovered(updated.getLatestDateCovered());
+ result.setLatestDateCovered(updated.getLatestDateCovered().toGregorianCalendar());
result.setIDs(updated.getIds());
return result;
- } catch (InvalidSObjectFault e) {
- throw new ConnectorException(e.getExceptionMessage());
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getMessage());
- } catch (RemoteException e) {
- throw new ConnectorException(e, e.getMessage());
- }
}
- public DeletedResult getDeleted(String objectName, Calendar startCalendar,
- Calendar endCalendar) throws ConnectorException {
- try {
- GetDeletedResult deleted = binding.getDeleted(objectName, startCalendar,
endCalendar);
+ public DeletedResult getDeleted(String objectName, XMLGregorianCalendar startCalendar,
+ XMLGregorianCalendar endCalendar) throws ConnectorException {
+ GetDeletedResult deleted;
+ try {
+ deleted = sfSoap.getDeleted(objectName, startCalendar, endCalendar, sh, co);
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ }
DeletedResult result = new DeletedResult();
- result.setLatestDateCovered(deleted.getLatestDateCovered());
- result.setEarliestDateAvailable(deleted.getEarliestDateAvailable());
- DeletedRecord[] records = deleted.getDeletedRecords();
+ result.setLatestDateCovered(deleted.getLatestDateCovered().toGregorianCalendar());
+ result.setEarliestDateAvailable(deleted.getEarliestDateAvailable().toGregorianCalendar());
+ List<DeletedRecord> records = deleted.getDeletedRecords();
List<DeletedObject> resultRecords = new ArrayList<DeletedObject>();
DeletedObject object;
if(null !=records) {
- for (int i = 0; i < records.length; i++) {
- DeletedRecord record = records[i];
+ for (DeletedObject record : resultRecords) {
object = new DeletedObject();
- object.setID(record.getId());
+ object.setID(record.getID());
object.setDeletedDate(record.getDeletedDate());
resultRecords.add(object);
}
}
result.setResultRecords(resultRecords);
return result;
- } catch (InvalidSObjectFault e) {
- throw new ConnectorException(e.getExceptionMessage());
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getMessage());
- } catch (RemoteException e) {
- throw new ConnectorException(e, e.getMessage());
- }
}
- public SObject[] retrieve(String fieldList, String sObjectType, String[] ids) throws
ConnectorException {
+ public List<SObject> retrieve(String fieldList, String sObjectType,
List<String> ids) throws ConnectorException {
try {
- return binding.retrieve(fieldList, sObjectType, ids);
- } catch (ApiFault e) {
- throw new ConnectorException(e.getMessage());
- } catch (RemoteException e) {
+ return sfSoap.retrieve(fieldList, sObjectType, ids, sh, co, null, null, null);
+ } catch (InvalidFieldFault e) {
throw new ConnectorException(e, e.getMessage());
+ } catch (MalformedQueryFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (InvalidIdFault e) {
+ throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
}
+
}
public DescribeGlobalResult getObjects() throws ConnectorException {
try {
- return binding.describeGlobal();
- } catch (RemoteException e) {
+ return sfSoap.describeGlobal(sh, co, pvHeader);
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
ConnectorException ce = new ConnectorException(e.getCause().getMessage());
ce.initCause(e.getCause());
throw ce;
@@ -355,13 +359,11 @@
public DescribeSObjectResult getObjectMetaData(String objectName) throws
ConnectorException {
try {
- return binding.describeSObject(objectName);
- } catch (InvalidSObjectFault e) {
- throw new ConnectorException(e.getExceptionMessage());
- } catch (UnexpectedErrorFault e) {
- throw new ConnectorException(e.getMessage());
- } catch (RemoteException e) {
+ return sfSoap.describeSObject(objectName, sh, co, null, null);
+ } catch (com.sforce.soap.partner.InvalidSObjectFault e) {
throw new ConnectorException(e, e.getMessage());
+ } catch (com.sforce.soap.partner.UnexpectedErrorFault e) {
+ throw new ConnectorException(e, e.getMessage());
}
}
}
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/AbstractUpdateExecution.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/AbstractUpdateExecution.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/AbstractUpdateExecution.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -109,9 +109,9 @@
QueryResult results = getConnection().query(query, context.getBatchSize(),
Boolean.FALSE);
if (null != results && results.getSize() > 0) {
ArrayList<String> idList = new ArrayList<String>(results
- .getRecords().length);
- for (int i = 0; i < results.getRecords().length; i++) {
- SObject sObject = results.getRecords(i);
+ .getRecords().size());
+ for (int i = 0; i < results.getRecords().size(); i++) {
+ SObject sObject = results.getRecords().get(i);
idList.add(sObject.getId());
}
Ids = idList.toArray(new String[0]);
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/DataPayload.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/DataPayload.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/DataPayload.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -21,7 +21,10 @@
*/
package com.metamatrix.connector.salesforce.execution;
-import org.apache.axis.message.MessageElement;
+import java.util.List;
+
+import javax.xml.bind.JAXBElement;
+
/**
*
* A bucket to pass data to the Salesforce connection.
@@ -30,14 +33,16 @@
public class DataPayload {
private String type;
- private MessageElement[] messageElements;
+ @SuppressWarnings("unchecked")
+ private List<JAXBElement> messageElements;
private String id;
public void setType(String typeName) {
type = typeName;
}
- public void setMessageElements(MessageElement[] elements) {
+ @SuppressWarnings("unchecked")
+ public void setMessageElements(List<JAXBElement> elements) {
this.messageElements = elements;
}
@@ -45,7 +50,8 @@
return type;
}
- public MessageElement[] getMessageElements() {
+ @SuppressWarnings("unchecked")
+ public List<JAXBElement> getMessageElements() {
return messageElements;
}
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetDeletedExecutionImpl.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetDeletedExecutionImpl.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetDeletedExecutionImpl.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -2,10 +2,13 @@
import java.sql.Timestamp;
import java.util.ArrayList;
-import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.language.IParameter;
import org.teiid.connector.language.IProcedure;
@@ -31,10 +34,16 @@
private DeletedResult deletedResult;
private int resultIndex = 0;
+ DatatypeFactory factory;
public GetDeletedExecutionImpl(
- ProcedureExecutionParent procedureExecutionParent) {
+ ProcedureExecutionParent procedureExecutionParent) throws ConnectorException {
this.parent = procedureExecutionParent;
+ try {
+ factory = DatatypeFactory.newInstance();
+ } catch (DatatypeConfigurationException e) {
+ throw new ConnectorException(e.getMessage());
+ }
}
@Override
@@ -59,13 +68,15 @@
IParameter start = (IParameter) params.get(STARTDATE);
Timestamp startTime = (Timestamp) start.getValue();
- Calendar startCalendar = GregorianCalendar.getInstance();
- startCalendar.setTime(startTime);
+ GregorianCalendar tempCalendar = (GregorianCalendar) GregorianCalendar.getInstance();
+ tempCalendar.setTime(startTime);
+ XMLGregorianCalendar startCalendar = factory.newXMLGregorianCalendar(tempCalendar);
IParameter end = (IParameter) params.get(ENDDATE);
Timestamp endTime = (Timestamp) end.getValue();
- Calendar endCalendar = GregorianCalendar.getInstance();
- endCalendar.setTime(endTime);
+ tempCalendar = (GregorianCalendar) GregorianCalendar.getInstance();
+ tempCalendar.setTime(endTime);
+ XMLGregorianCalendar endCalendar = factory.newXMLGregorianCalendar(tempCalendar);
deletedResult = parent.getConnection().getDeleted(objectName, startCalendar,
endCalendar);
}
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetUpdatedExecutionImpl.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetUpdatedExecutionImpl.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/GetUpdatedExecutionImpl.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -6,6 +6,10 @@
import java.util.GregorianCalendar;
import java.util.List;
+import javax.xml.datatype.DatatypeConfigurationException;
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.language.IParameter;
import org.teiid.connector.language.IProcedure;
@@ -28,10 +32,16 @@
private ProcedureExecutionParent parent;
private UpdatedResult updatedResult;
private int idIndex = 0;
+ DatatypeFactory factory;
public GetUpdatedExecutionImpl(
- ProcedureExecutionParent procedureExecutionParent) {
+ ProcedureExecutionParent procedureExecutionParent) throws ConnectorException {
this.parent = procedureExecutionParent;
+ try {
+ factory = DatatypeFactory.newInstance();
+ } catch (DatatypeConfigurationException e) {
+ throw new ConnectorException(e.getMessage());
+ }
}
@Override
@@ -54,30 +64,33 @@
IParameter start = (IParameter) params.get(STARTDATE);
Timestamp startTime = (Timestamp) start.getValue();
- Calendar startCalendar = GregorianCalendar.getInstance();
- startCalendar.setTime(startTime);
+ GregorianCalendar tempCalendar = (GregorianCalendar) GregorianCalendar.getInstance();
+ tempCalendar.setTime(startTime);
+ XMLGregorianCalendar startCalendar = factory.newXMLGregorianCalendar(tempCalendar);
IParameter end = (IParameter) params.get(ENDDATE);
Timestamp endTime = (Timestamp) end.getValue();
- Calendar endCalendar = GregorianCalendar.getInstance();
- endCalendar.setTime(endTime);
+ tempCalendar = (GregorianCalendar) GregorianCalendar.getInstance();
+ tempCalendar.setTime(endTime);
+ XMLGregorianCalendar endCalendar = factory.newXMLGregorianCalendar(tempCalendar);
updatedResult = parent.getConnection().getUpdated(objectName, startCalendar,
endCalendar);
}
@Override
- public List<?> getOutputParameterValues() {
- List result = new ArrayList(1);
+ public List<Calendar> getOutputParameterValues() {
+ List<Calendar> result = new ArrayList<Calendar>(1);
result.add(updatedResult.getLatestDateCovered());
return result;
}
+ @SuppressWarnings("unchecked")
@Override
- public List<?> next() {
+ public List next() {
List result = null;
- if(updatedResult.getIDs() != null && idIndex <
updatedResult.getIDs().length){
+ if(updatedResult.getIDs() != null && idIndex <
updatedResult.getIDs().size()){
result = new ArrayList(1);
- result.add(updatedResult.getIDs()[idIndex]);
+ result.add(updatedResult.getIDs().get(idIndex));
idIndex++;
}
return result;
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/QueryExecutionImpl.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/QueryExecutionImpl.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/QueryExecutionImpl.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -31,9 +31,9 @@
import java.util.List;
import java.util.Map;
+import javax.xml.bind.JAXBElement;
import javax.xml.namespace.QName;
-import org.apache.axis.message.MessageElement;
import org.teiid.connector.api.ConnectorEnvironment;
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.api.ConnectorLogger;
@@ -179,12 +179,12 @@
private void loadBatch() throws ConnectorException {
if(null != resultBatch) { // if we have an old batch, then we have to get new results
- results = connection.queryMore(results.getQueryLocator());
+ results = connection.queryMore(results.getQueryLocator(), context.getBatchSize());
}
resultBatch = new ArrayList<List<Object>>();
for(int resultIndex = 0; resultIndex < results.getSize(); resultIndex++) {
- SObject sObject = results.getRecords(resultIndex);
+ SObject sObject = results.getRecords().get(resultIndex);
List<Object[]> result = getObjectData(sObject);
for(Iterator<Object[]> i = result.iterator(); i.hasNext(); ) {
resultBatch.add(Arrays.asList(i.next()));
@@ -193,20 +193,21 @@
}
private List<Object[]> getObjectData(SObject sObject) throws ConnectorException
{
- org.apache.axis.message.MessageElement[] topFields = sObject.get_any();
+ List<Object> topFields = sObject.getAny();
logAndMapFields(sObject.getType(), topFields);
List<Object[]> result = new ArrayList<Object[]>();
- for(int i = 0; i < topFields.length; i++) {
- QName qName = topFields[i].getType();
+ for(int i = 0; i < topFields.size(); i++) {
+ JAXBElement element = (JAXBElement) topFields.get(i);
+ QName qName = element.getName();
if(null != qName) {
String type = qName.getLocalPart();
if(type.equals("sObject")) {
- SObject parent = (SObject)topFields[i].getObjectValue();
+ SObject parent = (SObject)element.getValue();
result.addAll(getObjectData(parent));
} else if(type.equals("QueryResult")) {
- QueryResult subResult = (QueryResult)topFields[i].getObjectValue();
+ QueryResult subResult = (QueryResult)element.getValue();
for(int resultIndex = 0; resultIndex < subResult.getSize(); resultIndex++) {
- SObject subObject = subResult.getRecords(resultIndex);
+ SObject subObject = subResult.getRecords().get(resultIndex);
result.addAll(getObjectData(subObject));
}
}
@@ -217,7 +218,7 @@
}
private List<Object[]> extractDataFromFields(SObject sObject,
- MessageElement[] fields, List<Object[]> result) throws ConnectorException {
+ List<Object> fields, List<Object[]> result) throws ConnectorException {
Map<String,Integer> fieldToIndexMap =
sObjectToResponseField.get(sObject.getType());
for (int j = 0; j < visitor.getSelectSymbolCount(); j++) {
Element element = visitor.getSelectSymbolMetadata(j);
@@ -234,7 +235,7 @@
}
} else {
Object cell;
- cell = getCellDatum(element, fields[index]);
+ cell = getCellDatum(element, (JAXBElement)fields.get(index));
setValueInColumn(j, cell, result);
}
}
@@ -259,35 +260,39 @@
* @param fields
*/
private void logAndMapFields(String sObjectName,
- org.apache.axis.message.MessageElement[] fields) {
+ List<Object> fields) {
if (!sObjectToResponseField.containsKey(sObjectName)) {
logFields(sObjectName, fields);
Map<String, Integer> responseFieldToIndexMap;
responseFieldToIndexMap = new HashMap<String, Integer>();
- for (int x = 0; x < fields.length; x++) {
- responseFieldToIndexMap.put(fields[x].getLocalName(), x);
+ for (int x = 0; x < fields.size(); x++) {
+ JAXBElement element = (JAXBElement) fields.get(x);
+ responseFieldToIndexMap.put(element.getName().getLocalPart(), x);
}
sObjectToResponseField.put(sObjectName, responseFieldToIndexMap);
}
}
- private void logFields(String sObjectName, MessageElement[] fields) {
+ @SuppressWarnings("unchecked")
+ private void logFields(String sObjectName, List<Object> fields) {
ConnectorLogger logger = connectorEnv.getLogger();
logger.logDetail("SalesForce Object Name = " + sObjectName);
- logger.logDetail("FieldCount = " + fields.length);
- for(int i = 0; i < fields.length; i++) {
- logger.logDetail("Field # " + i + " is " +
fields[i].getLocalName());
+ logger.logDetail("FieldCount = " + fields.size());
+ for(int i = 0; i < fields.size(); i++) {
+ JAXBElement element = (JAXBElement) fields.get(i);
+ logger.logDetail("Field # " + i + " is " +
element.getName().getLocalPart());
}
}
- private Object getCellDatum(Element element, MessageElement me)
+ @SuppressWarnings("unchecked")
+ private Object getCellDatum(Element element, JAXBElement jbe)
throws ConnectorException {
- if(!element.getNameInSource().equals(me.getLocalName())) {
+ if(!element.getNameInSource().equals(jbe.getName().getLocalPart())) {
throw new ConnectorException("SalesforceQueryExecutionImpl.column.mismatch1"
+ element.getNameInSource() +
- "SalesforceQueryExecutionImpl.column.mismatch2" + me.getLocalName());
+ "SalesforceQueryExecutionImpl.column.mismatch2" +
jbe.getName().getLocalPart());
}
- String value = me.getValue();
+ String value = (String) jbe.getValue();
Object result = null;
Class type = element.getJavaType();
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdateExecutionImpl.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdateExecutionImpl.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdateExecutionImpl.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -24,9 +24,9 @@
import java.util.ArrayList;
import java.util.List;
+import javax.xml.bind.JAXBElement;
import javax.xml.namespace.QName;
-import org.apache.axis.message.MessageElement;
import org.teiid.connector.api.ConnectorEnvironment;
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.api.ExecutionContext;
@@ -44,6 +44,9 @@
public class UpdateExecutionImpl extends AbstractUpdateExecution {
+ @SuppressWarnings("unchecked")
+ private static final Class stringClazz = new String().getClass();
+
public UpdateExecutionImpl(ICommand command,
SalesforceConnection salesforceConnection,
RuntimeMetadata metadata, ExecutionContext context,
@@ -51,6 +54,7 @@
super(command, salesforceConnection, metadata, context, connectorEnv);
}
+ @SuppressWarnings("unchecked")
@Override
public void execute() throws ConnectorException {
UpdateVisitor visitor = new UpdateVisitor(getMetadata());
@@ -58,14 +62,14 @@
String[] Ids = getIDs(((IUpdate)command).getCriteria(), visitor);
if (null != Ids && Ids.length > 0) {
- List<MessageElement> elements = new ArrayList<MessageElement>();
+ List<JAXBElement> elements = new ArrayList<JAXBElement>();
for (ISetClause clause : ((IUpdate)command).getChanges().getClauses()) {
IElement element = clause.getSymbol();
Element column = element.getMetadataObject();
String val = ((ILiteral) clause.getValue())
.toString();
- MessageElement messageElem = new MessageElement(new QName(
- column.getNameInSource()), Util.stripQutes(val));
+ JAXBElement messageElem = new JAXBElement(new QName(
+ column.getNameInSource()), stringClazz, Util.stripQutes(val));
elements.add(messageElem);
}
@@ -74,8 +78,7 @@
DataPayload data = new DataPayload();
data.setType(visitor.getTableName());
data.setID(Ids[i]);
- data.setMessageElements(elements
- .toArray(new MessageElement[] {}));
+ data.setMessageElements(elements);
updateDataList.add(data);
}
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdatedResult.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdatedResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/UpdatedResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,11 +1,12 @@
package com.metamatrix.connector.salesforce.execution;
import java.util.Calendar;
+import java.util.List;
public class UpdatedResult {
private Calendar latestDateCovered;
- private String[] IDs;
+ private List<String> IDs;
public Calendar getLatestDateCovered() {
return latestDateCovered;
@@ -15,11 +16,11 @@
this.latestDateCovered = latestDateCovered;
}
- public String[] getIDs() {
+ public List<String> getIDs() {
return IDs;
}
- public void setIDs(String[] ids) {
- this.IDs = ids;
+ public void setIDs(List<String> list) {
+ this.IDs = list;
}
}
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/InsertVisitor.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/InsertVisitor.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/InsertVisitor.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -24,9 +24,9 @@
import java.util.ArrayList;
import java.util.List;
+import javax.xml.bind.JAXBElement;
import javax.xml.namespace.QName;
-import org.apache.axis.message.MessageElement;
import org.teiid.connector.api.ConnectorException;
import org.teiid.connector.language.IElement;
import org.teiid.connector.language.IExpression;
@@ -39,8 +39,11 @@
public class InsertVisitor extends CriteriaVisitor {
- List<MessageElement> elements = new ArrayList<MessageElement>();
+ @SuppressWarnings("unchecked")
+ List<JAXBElement> elements = new ArrayList<JAXBElement>();
+ private static Class<?> stringClazz = new String().getClass();
+
public InsertVisitor(RuntimeMetadata metadata) {
super(metadata);
}
@@ -71,10 +74,10 @@
} else {
val = value.toString();
}
-
- MessageElement messageElem = new MessageElement(
- new QName(column.getNameInSource()), val);
- elements.add(messageElem);
+ QName qname = new QName(column.getNameInSource());
+ @SuppressWarnings( "unchecked" )
+ JAXBElement jbe = new JAXBElement( qname, stringClazz, val );
+ elements.add(jbe);
}
} catch (ConnectorException ce) {
@@ -82,8 +85,9 @@
}
}
- public MessageElement[] getMessageElements() {
- return elements.toArray(new MessageElement[0]);
+ @SuppressWarnings("unchecked")
+ public List<JAXBElement> getMessageElements() {
+ return elements;
}
private String stripQutes(String id) {
Modified:
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/SelectVisitor.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/SelectVisitor.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/main/java/com/metamatrix/connector/salesforce/execution/visitors/SelectVisitor.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -21,6 +21,7 @@
*/
package com.metamatrix.connector.salesforce.execution.visitors;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -209,12 +210,12 @@
}
- public String[] getIdInCriteria() throws ConnectorException {
+ public List<String> getIdInCriteria() throws ConnectorException {
assertRetrieveValidated();
List<IExpression> expressions = this.idInCriteria.getRightExpressions();
- String[] result = new String[expressions.size()];
+ List<String> result = new ArrayList<String>(expressions.size());
for(int i = 0; i < expressions.size(); i++) {
- result[i] = getValue(expressions.get(i));
+ result.add(getValue(expressions.get(i)));
}
return result;
}
Modified:
branches/JCA/connectors/connector-salesforce/src/test/java/com/metamatrix/connector/salesforce/execution/visitors/TestVisitors.java
===================================================================
---
branches/JCA/connectors/connector-salesforce/src/test/java/com/metamatrix/connector/salesforce/execution/visitors/TestVisitors.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/connector-salesforce/src/test/java/com/metamatrix/connector/salesforce/execution/visitors/TestVisitors.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -23,6 +23,7 @@
import static org.junit.Assert.*;
+import java.util.Arrays;
import java.util.List;
import org.junit.Test;
@@ -151,7 +152,7 @@
assertTrue(visitor.hasOnlyIdInCriteria());
assertEquals("Account", visitor.getTableName());
assertEquals("Account.id, Account.AccountName, Account.Stuff,
Account.Industry", visitor.getRetrieveFieldList());
- assertEquals(new String[]{"1", "2", "3"},
visitor.getIdInCriteria());
+ assertEquals(Arrays.asList(new String[]{"1", "2", "3"}),
visitor.getIdInCriteria());
}
@Test public void testJoin() throws Exception {
Modified: branches/JCA/connectors/salesforce-api/pom.xml
===================================================================
--- branches/JCA/connectors/salesforce-api/pom.xml 2010-02-19 02:29:42 UTC (rev 1843)
+++ branches/JCA/connectors/salesforce-api/pom.xml 2010-02-19 16:05:32 UTC (rev 1844)
@@ -9,17 +9,6 @@
<groupId>org.jboss.teiid.connectors</groupId>
<name>Salesforce API</name>
<description>The java API for the
Salesforce.com partner web service
API</description>
- <dependencies>
- <dependency>
- <groupId>axis</groupId>
- <artifactId>axis</artifactId>
- <version>1.3</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
+ <dependencies>
</dependencies>
</project>
\ No newline at end of file
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AllowFieldTruncationHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AllowFieldTruncationHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AllowFieldTruncationHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,115 +1,54 @@
-/**
- * AllowFieldTruncationHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class AllowFieldTruncationHeader implements java.io.Serializable {
- private boolean allowFieldTruncation;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
- public AllowFieldTruncationHeader() {
- }
- public AllowFieldTruncationHeader(
- boolean allowFieldTruncation) {
- this.allowFieldTruncation = allowFieldTruncation;
- }
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="allowFieldTruncation"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "allowFieldTruncation"
+})
+@XmlRootElement(name = "AllowFieldTruncationHeader")
+public class AllowFieldTruncationHeader {
+ protected boolean allowFieldTruncation;
/**
- * Gets the allowFieldTruncation value for this AllowFieldTruncationHeader.
+ * Gets the value of the allowFieldTruncation property.
*
- * @return allowFieldTruncation
*/
public boolean isAllowFieldTruncation() {
return allowFieldTruncation;
}
-
/**
- * Sets the allowFieldTruncation value for this AllowFieldTruncationHeader.
+ * Sets the value of the allowFieldTruncation property.
*
- * @param allowFieldTruncation
*/
- public void setAllowFieldTruncation(boolean allowFieldTruncation) {
- this.allowFieldTruncation = allowFieldTruncation;
+ public void setAllowFieldTruncation(boolean value) {
+ this.allowFieldTruncation = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof AllowFieldTruncationHeader)) return false;
- AllowFieldTruncationHeader other = (AllowFieldTruncationHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.allowFieldTruncation == other.isAllowFieldTruncation();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isAllowFieldTruncation() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(AllowFieldTruncationHeader.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">AllowFieldTruncationHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("allowFieldTruncation");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"allowFieldTruncation"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AssignmentRuleHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AssignmentRuleHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/AssignmentRuleHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,155 +1,92 @@
-/**
- * AssignmentRuleHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class AssignmentRuleHeader implements java.io.Serializable {
- private java.lang.String assignmentRuleId;
-
- private java.lang.Boolean useDefaultRule;
-
- public AssignmentRuleHeader() {
- }
-
- public AssignmentRuleHeader(
- java.lang.String assignmentRuleId,
- java.lang.Boolean useDefaultRule) {
- this.assignmentRuleId = assignmentRuleId;
- this.useDefaultRule = useDefaultRule;
- }
-
-
- /**
- * Gets the assignmentRuleId value for this AssignmentRuleHeader.
- *
- * @return assignmentRuleId
- */
- public java.lang.String getAssignmentRuleId() {
- return assignmentRuleId;
- }
-
-
- /**
- * Sets the assignmentRuleId value for this AssignmentRuleHeader.
- *
- * @param assignmentRuleId
- */
- public void setAssignmentRuleId(java.lang.String assignmentRuleId) {
- this.assignmentRuleId = assignmentRuleId;
- }
-
-
- /**
- * Gets the useDefaultRule value for this AssignmentRuleHeader.
- *
- * @return useDefaultRule
- */
- public java.lang.Boolean getUseDefaultRule() {
- return useDefaultRule;
- }
-
-
- /**
- * Sets the useDefaultRule value for this AssignmentRuleHeader.
- *
- * @param useDefaultRule
- */
- public void setUseDefaultRule(java.lang.Boolean useDefaultRule) {
- this.useDefaultRule = useDefaultRule;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof AssignmentRuleHeader)) return false;
- AssignmentRuleHeader other = (AssignmentRuleHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.assignmentRuleId==null && other.getAssignmentRuleId()==null)
||
- (this.assignmentRuleId!=null &&
- this.assignmentRuleId.equals(other.getAssignmentRuleId()))) &&
- ((this.useDefaultRule==null && other.getUseDefaultRule()==null) ||
- (this.useDefaultRule!=null &&
- this.useDefaultRule.equals(other.getUseDefaultRule())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getAssignmentRuleId() != null) {
- _hashCode += getAssignmentRuleId().hashCode();
- }
- if (getUseDefaultRule() != null) {
- _hashCode += getUseDefaultRule().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(AssignmentRuleHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">AssignmentRuleHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("assignmentRuleId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"assignmentRuleId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("useDefaultRule");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"useDefaultRule"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="assignmentRuleId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="useDefaultRule"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "assignmentRuleId",
+ "useDefaultRule"
+})
+@XmlRootElement(name = "AssignmentRuleHeader")
+public class AssignmentRuleHeader {
+
+ @XmlElement(required = true, nillable = true)
+ protected String assignmentRuleId;
+ @XmlElement(required = true, type = Boolean.class, nillable = true)
+ protected Boolean useDefaultRule;
+
+ /**
+ * Gets the value of the assignmentRuleId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAssignmentRuleId() {
+ return assignmentRuleId;
+ }
+
+ /**
+ * Sets the value of the assignmentRuleId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAssignmentRuleId(String value) {
+ this.assignmentRuleId = value;
+ }
+
+ /**
+ * Gets the value of the useDefaultRule property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUseDefaultRule() {
+ return useDefaultRule;
+ }
+
+ /**
+ * Sets the value of the useDefaultRule property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUseDefaultRule(Boolean value) {
+ this.useDefaultRule = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CallOptions.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CallOptions.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CallOptions.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,155 +1,92 @@
-/**
- * CallOptions.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class CallOptions implements java.io.Serializable {
- private java.lang.String client;
-
- private java.lang.String defaultNamespace;
-
- public CallOptions() {
- }
-
- public CallOptions(
- java.lang.String client,
- java.lang.String defaultNamespace) {
- this.client = client;
- this.defaultNamespace = defaultNamespace;
- }
-
-
- /**
- * Gets the client value for this CallOptions.
- *
- * @return client
- */
- public java.lang.String getClient() {
- return client;
- }
-
-
- /**
- * Sets the client value for this CallOptions.
- *
- * @param client
- */
- public void setClient(java.lang.String client) {
- this.client = client;
- }
-
-
- /**
- * Gets the defaultNamespace value for this CallOptions.
- *
- * @return defaultNamespace
- */
- public java.lang.String getDefaultNamespace() {
- return defaultNamespace;
- }
-
-
- /**
- * Sets the defaultNamespace value for this CallOptions.
- *
- * @param defaultNamespace
- */
- public void setDefaultNamespace(java.lang.String defaultNamespace) {
- this.defaultNamespace = defaultNamespace;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof CallOptions)) return false;
- CallOptions other = (CallOptions) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.client==null && other.getClient()==null) ||
- (this.client!=null &&
- this.client.equals(other.getClient()))) &&
- ((this.defaultNamespace==null && other.getDefaultNamespace()==null)
||
- (this.defaultNamespace!=null &&
- this.defaultNamespace.equals(other.getDefaultNamespace())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getClient() != null) {
- _hashCode += getClient().hashCode();
- }
- if (getDefaultNamespace() != null) {
- _hashCode += getDefaultNamespace().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(CallOptions.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">CallOptions"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("client");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "client"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("defaultNamespace");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"defaultNamespace"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="client"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="defaultNamespace"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "client",
+ "defaultNamespace"
+})
+@XmlRootElement(name = "CallOptions")
+public class CallOptions {
+
+ @XmlElement(required = true, nillable = true)
+ protected String client;
+ @XmlElement(required = true, nillable = true)
+ protected String defaultNamespace;
+
+ /**
+ * Gets the value of the client property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getClient() {
+ return client;
+ }
+
+ /**
+ * Sets the value of the client property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setClient(String value) {
+ this.client = value;
+ }
+
+ /**
+ * Gets the value of the defaultNamespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultNamespace() {
+ return defaultNamespace;
+ }
+
+ /**
+ * Sets the value of the defaultNamespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultNamespace(String value) {
+ this.defaultNamespace = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ChildRelationship.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ChildRelationship.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ChildRelationship.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,256 +1,155 @@
-/**
- * ChildRelationship.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class ChildRelationship implements java.io.Serializable {
- private boolean cascadeDelete;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private java.lang.String childSObject;
- private boolean deprecatedAndHidden;
+/**
+ * <p>Java class for ChildRelationship complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ChildRelationship">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="cascadeDelete"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="childSObject"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="deprecatedAndHidden"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="field"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="relationshipName"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ChildRelationship", propOrder = {
+ "cascadeDelete",
+ "childSObject",
+ "deprecatedAndHidden",
+ "field",
+ "relationshipName"
+})
+public class ChildRelationship {
- private java.lang.String field;
+ protected boolean cascadeDelete;
+ @XmlElement(required = true)
+ protected String childSObject;
+ protected boolean deprecatedAndHidden;
+ @XmlElement(required = true)
+ protected String field;
+ protected String relationshipName;
- private java.lang.String relationshipName;
-
- public ChildRelationship() {
- }
-
- public ChildRelationship(
- boolean cascadeDelete,
- java.lang.String childSObject,
- boolean deprecatedAndHidden,
- java.lang.String field,
- java.lang.String relationshipName) {
- this.cascadeDelete = cascadeDelete;
- this.childSObject = childSObject;
- this.deprecatedAndHidden = deprecatedAndHidden;
- this.field = field;
- this.relationshipName = relationshipName;
- }
-
-
/**
- * Gets the cascadeDelete value for this ChildRelationship.
+ * Gets the value of the cascadeDelete property.
*
- * @return cascadeDelete
*/
public boolean isCascadeDelete() {
return cascadeDelete;
}
-
/**
- * Sets the cascadeDelete value for this ChildRelationship.
+ * Sets the value of the cascadeDelete property.
*
- * @param cascadeDelete
*/
- public void setCascadeDelete(boolean cascadeDelete) {
- this.cascadeDelete = cascadeDelete;
+ public void setCascadeDelete(boolean value) {
+ this.cascadeDelete = value;
}
-
/**
- * Gets the childSObject value for this ChildRelationship.
+ * Gets the value of the childSObject property.
*
- * @return childSObject
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getChildSObject() {
+ public String getChildSObject() {
return childSObject;
}
-
/**
- * Sets the childSObject value for this ChildRelationship.
+ * Sets the value of the childSObject property.
*
- * @param childSObject
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setChildSObject(java.lang.String childSObject) {
- this.childSObject = childSObject;
+ public void setChildSObject(String value) {
+ this.childSObject = value;
}
-
/**
- * Gets the deprecatedAndHidden value for this ChildRelationship.
+ * Gets the value of the deprecatedAndHidden property.
*
- * @return deprecatedAndHidden
*/
public boolean isDeprecatedAndHidden() {
return deprecatedAndHidden;
}
-
/**
- * Sets the deprecatedAndHidden value for this ChildRelationship.
+ * Sets the value of the deprecatedAndHidden property.
*
- * @param deprecatedAndHidden
*/
- public void setDeprecatedAndHidden(boolean deprecatedAndHidden) {
- this.deprecatedAndHidden = deprecatedAndHidden;
+ public void setDeprecatedAndHidden(boolean value) {
+ this.deprecatedAndHidden = value;
}
-
/**
- * Gets the field value for this ChildRelationship.
+ * Gets the value of the field property.
*
- * @return field
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getField() {
+ public String getField() {
return field;
}
-
/**
- * Sets the field value for this ChildRelationship.
+ * Sets the value of the field property.
*
- * @param field
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setField(java.lang.String field) {
- this.field = field;
+ public void setField(String value) {
+ this.field = value;
}
-
/**
- * Gets the relationshipName value for this ChildRelationship.
+ * Gets the value of the relationshipName property.
*
- * @return relationshipName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getRelationshipName() {
+ public String getRelationshipName() {
return relationshipName;
}
-
/**
- * Sets the relationshipName value for this ChildRelationship.
+ * Sets the value of the relationshipName property.
*
- * @param relationshipName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setRelationshipName(java.lang.String relationshipName) {
- this.relationshipName = relationshipName;
+ public void setRelationshipName(String value) {
+ this.relationshipName = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ChildRelationship)) return false;
- ChildRelationship other = (ChildRelationship) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.cascadeDelete == other.isCascadeDelete() &&
- ((this.childSObject==null && other.getChildSObject()==null) ||
- (this.childSObject!=null &&
- this.childSObject.equals(other.getChildSObject()))) &&
- this.deprecatedAndHidden == other.isDeprecatedAndHidden() &&
- ((this.field==null && other.getField()==null) ||
- (this.field!=null &&
- this.field.equals(other.getField()))) &&
- ((this.relationshipName==null && other.getRelationshipName()==null)
||
- (this.relationshipName!=null &&
- this.relationshipName.equals(other.getRelationshipName())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isCascadeDelete() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getChildSObject() != null) {
- _hashCode += getChildSObject().hashCode();
- }
- _hashCode += (isDeprecatedAndHidden() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getField() != null) {
- _hashCode += getField().hashCode();
- }
- if (getRelationshipName() != null) {
- _hashCode += getRelationshipName().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ChildRelationship.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ChildRelationship"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("cascadeDelete");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"cascadeDelete"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("childSObject");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"childSObject"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deprecatedAndHidden");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deprecatedAndHidden"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("field");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "field"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("relationshipName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"relationshipName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLead.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLead.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLead.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="leadConverts"
type="{urn:partner.soap.sforce.com}LeadConvert" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "leadConverts"
+})
+@XmlRootElement(name = "convertLead")
+public class ConvertLead {
+
+ protected List<LeadConvert> leadConverts;
+
+ /**
+ * Gets the value of the leadConverts property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
leadConverts property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLeadConverts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LeadConvert }
+ *
+ *
+ */
+ public List<LeadConvert> getLeadConverts() {
+ if (leadConverts == null) {
+ leadConverts = new ArrayList<LeadConvert>();
+ }
+ return this.leadConverts;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLead.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLeadResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLeadResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLeadResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}LeadConvertResult"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "convertLeadResponse")
+public class ConvertLeadResponse {
+
+ protected List<LeadConvertResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LeadConvertResult }
+ *
+ *
+ */
+ public List<LeadConvertResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<LeadConvertResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ConvertLeadResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Create.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Create.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Create.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,70 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjects"
type="{urn:sobject.partner.soap.sforce.com}sObject"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjects"
+})
+@XmlRootElement(name = "create")
+public class Create {
+
+ protected List<SObject> sObjects;
+
+ /**
+ * Gets the value of the sObjects property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sObjects
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSObjects().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SObject }
+ *
+ *
+ */
+ public List<SObject> getSObjects() {
+ if (sObjects == null) {
+ sObjects = new ArrayList<SObject>();
+ }
+ return this.sObjects;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Create.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CreateResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CreateResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CreateResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}SaveResult" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "createResponse")
+public class CreateResponse {
+
+ protected List<SaveResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SaveResult }
+ *
+ *
+ */
+ public List<SaveResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<SaveResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/CreateResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebugLevel.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebugLevel.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebugLevel.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,72 +1,54 @@
-/**
- * DebugLevel.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DebugLevel implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected DebugLevel(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final java.lang.String _None = "None";
- public static final java.lang.String _DebugOnly = "DebugOnly";
- public static final java.lang.String _Db = "Db";
- public static final DebugLevel None = new DebugLevel(_None);
- public static final DebugLevel DebugOnly = new DebugLevel(_DebugOnly);
- public static final DebugLevel Db = new DebugLevel(_Db);
- public java.lang.String getValue() { return _value_;}
- public static DebugLevel fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- DebugLevel enumeration = (DebugLevel)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static DebugLevel fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DebugLevel.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DebugLevel"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DebugLevel.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="DebugLevel">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="None"/>
+ * <enumeration value="DebugOnly"/>
+ * <enumeration value="Db"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "DebugLevel")
+@XmlEnum
+public enum DebugLevel {
+
+ @XmlEnumValue("None")
+ NONE("None"),
+ @XmlEnumValue("DebugOnly")
+ DEBUG_ONLY("DebugOnly"),
+ @XmlEnumValue("Db")
+ DB("Db");
+ private final String value;
+
+ DebugLevel(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static DebugLevel fromValue(String v) {
+ for (DebugLevel c: DebugLevel.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DebuggingHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DebuggingHeader implements java.io.Serializable {
- private com.sforce.soap.partner.DebugLevel debugLevel;
-
- public DebuggingHeader() {
- }
-
- public DebuggingHeader(
- com.sforce.soap.partner.DebugLevel debugLevel) {
- this.debugLevel = debugLevel;
- }
-
-
- /**
- * Gets the debugLevel value for this DebuggingHeader.
- *
- * @return debugLevel
- */
- public com.sforce.soap.partner.DebugLevel getDebugLevel() {
- return debugLevel;
- }
-
-
- /**
- * Sets the debugLevel value for this DebuggingHeader.
- *
- * @param debugLevel
- */
- public void setDebugLevel(com.sforce.soap.partner.DebugLevel debugLevel) {
- this.debugLevel = debugLevel;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DebuggingHeader)) return false;
- DebuggingHeader other = (DebuggingHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.debugLevel==null && other.getDebugLevel()==null) ||
- (this.debugLevel!=null &&
- this.debugLevel.equals(other.getDebugLevel())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getDebugLevel() != null) {
- _hashCode += getDebugLevel().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DebuggingHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">DebuggingHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("debugLevel");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"debugLevel"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DebugLevel"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="debugLevel"
type="{urn:partner.soap.sforce.com}DebugLevel"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "debugLevel"
+})
+@XmlRootElement(name = "DebuggingHeader")
+public class DebuggingHeader {
+
+ @XmlElement(required = true)
+ protected DebugLevel debugLevel;
+
+ /**
+ * Gets the value of the debugLevel property.
+ *
+ * @return
+ * possible object is
+ * {@link DebugLevel }
+ *
+ */
+ public DebugLevel getDebugLevel() {
+ return debugLevel;
+ }
+
+ /**
+ * Sets the value of the debugLevel property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DebugLevel }
+ *
+ */
+ public void setDebugLevel(DebugLevel value) {
+ this.debugLevel = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingInfo.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingInfo.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DebuggingInfo.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DebuggingInfo.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DebuggingInfo implements java.io.Serializable {
- private java.lang.String debugLog;
-
- public DebuggingInfo() {
- }
-
- public DebuggingInfo(
- java.lang.String debugLog) {
- this.debugLog = debugLog;
- }
-
-
- /**
- * Gets the debugLog value for this DebuggingInfo.
- *
- * @return debugLog
- */
- public java.lang.String getDebugLog() {
- return debugLog;
- }
-
-
- /**
- * Sets the debugLog value for this DebuggingInfo.
- *
- * @param debugLog
- */
- public void setDebugLog(java.lang.String debugLog) {
- this.debugLog = debugLog;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DebuggingInfo)) return false;
- DebuggingInfo other = (DebuggingInfo) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.debugLog==null && other.getDebugLog()==null) ||
- (this.debugLog!=null &&
- this.debugLog.equals(other.getDebugLog())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getDebugLog() != null) {
- _hashCode += getDebugLog().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DebuggingInfo.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">DebuggingInfo"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("debugLog");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"debugLog"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="debugLog"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "debugLog"
+})
+@XmlRootElement(name = "DebuggingInfo")
+public class DebuggingInfo {
+
+ @XmlElement(required = true)
+ protected String debugLog;
+
+ /**
+ * Gets the value of the debugLog property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDebugLog() {
+ return debugLog;
+ }
+
+ /**
+ * Sets the value of the debugLog property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDebugLog(String value) {
+ this.debugLog = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Delete.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Delete.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Delete.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ids"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "ids"
+})
+@XmlRootElement(name = "delete")
+public class Delete {
+
+ protected List<String> ids;
+
+ /**
+ * Gets the value of the ids property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ids
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIds() {
+ if (ids == null) {
+ ids = new ArrayList<String>();
+ }
+ return this.ids;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Delete.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DeleteResult" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "deleteResponse")
+public class DeleteResponse {
+
+ protected List<DeleteResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DeleteResult }
+ *
+ *
+ */
+ public List<DeleteResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<DeleteResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeleteResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,205 +1,116 @@
-/**
- * DeleteResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DeleteResult implements java.io.Serializable {
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String id;
-
- private boolean success;
-
- public DeleteResult() {
- }
-
- public DeleteResult(
- com.sforce.soap.partner.Error[] errors,
- java.lang.String id,
- boolean success) {
- this.errors = errors;
- this.id = id;
- this.success = success;
- }
-
-
- /**
- * Gets the errors value for this DeleteResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this DeleteResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the id value for this DeleteResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this DeleteResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the success value for this DeleteResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this DeleteResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DeleteResult)) return false;
- DeleteResult other = (DeleteResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DeleteResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeleteResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DeleteResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DeleteResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DeleteResult", propOrder = {
+ "errors",
+ "id",
+ "success"
+})
+public class DeleteResult {
+
+ @XmlElement(nillable = true)
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeletedRecord.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeletedRecord.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DeletedRecord.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,155 +1,93 @@
-/**
- * DeletedRecord.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DeletedRecord implements java.io.Serializable {
- private java.util.Calendar deletedDate;
-
- private java.lang.String id;
-
- public DeletedRecord() {
- }
-
- public DeletedRecord(
- java.util.Calendar deletedDate,
- java.lang.String id) {
- this.deletedDate = deletedDate;
- this.id = id;
- }
-
-
- /**
- * Gets the deletedDate value for this DeletedRecord.
- *
- * @return deletedDate
- */
- public java.util.Calendar getDeletedDate() {
- return deletedDate;
- }
-
-
- /**
- * Sets the deletedDate value for this DeletedRecord.
- *
- * @param deletedDate
- */
- public void setDeletedDate(java.util.Calendar deletedDate) {
- this.deletedDate = deletedDate;
- }
-
-
- /**
- * Gets the id value for this DeletedRecord.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this DeletedRecord.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DeletedRecord)) return false;
- DeletedRecord other = (DeletedRecord) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.deletedDate==null && other.getDeletedDate()==null) ||
- (this.deletedDate!=null &&
- this.deletedDate.equals(other.getDeletedDate()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getDeletedDate() != null) {
- _hashCode += getDeletedDate().hashCode();
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DeletedRecord.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeletedRecord"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deletedDate");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deletedDate"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for DeletedRecord complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DeletedRecord">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="deletedDate"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DeletedRecord", propOrder = {
+ "deletedDate",
+ "id"
+})
+public class DeletedRecord {
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar deletedDate;
+ @XmlElement(required = true)
+ protected String id;
+
+ /**
+ * Gets the value of the deletedDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getDeletedDate() {
+ return deletedDate;
+ }
+
+ /**
+ * Sets the value of the deletedDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setDeletedDate(XMLGregorianCalendar value) {
+ this.deletedDate = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobal.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobal.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobal.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,34 @@
-/**
- * DescribeGlobal.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeGlobal implements java.io.Serializable {
- public DescribeGlobal() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeGlobal)) return false;
- DescribeGlobal other = (DescribeGlobal) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeGlobal.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeGlobal"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "describeGlobal")
+public class DescribeGlobal {
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DescribeGlobalResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeGlobalResponse implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeGlobalResult result;
-
- public DescribeGlobalResponse() {
- }
-
- public DescribeGlobalResponse(
- com.sforce.soap.partner.DescribeGlobalResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this DescribeGlobalResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.DescribeGlobalResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this DescribeGlobalResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.DescribeGlobalResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeGlobalResponse)) return false;
- DescribeGlobalResponse other = (DescribeGlobalResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeGlobalResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeGlobalResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DescribeGlobalResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "describeGlobalResponse")
+public class DescribeGlobalResponse {
+
+ @XmlElement(required = true)
+ protected DescribeGlobalResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link DescribeGlobalResult }
+ *
+ */
+ public DescribeGlobalResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DescribeGlobalResult }
+ *
+ */
+ public void setResult(DescribeGlobalResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,205 +1,115 @@
-/**
- * DescribeGlobalResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class DescribeGlobalResult implements java.io.Serializable {
- private java.lang.String encoding;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private int maxBatchSize;
- private com.sforce.soap.partner.DescribeGlobalSObjectResult[] sobjects;
+/**
+ * <p>Java class for DescribeGlobalResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeGlobalResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="encoding"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="maxBatchSize"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="sobjects"
type="{urn:partner.soap.sforce.com}DescribeGlobalSObjectResult"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeGlobalResult", propOrder = {
+ "encoding",
+ "maxBatchSize",
+ "sobjects"
+})
+public class DescribeGlobalResult {
- public DescribeGlobalResult() {
- }
+ @XmlElement(required = true, nillable = true)
+ protected String encoding;
+ protected int maxBatchSize;
+ protected List<DescribeGlobalSObjectResult> sobjects;
- public DescribeGlobalResult(
- java.lang.String encoding,
- int maxBatchSize,
- com.sforce.soap.partner.DescribeGlobalSObjectResult[] sobjects) {
- this.encoding = encoding;
- this.maxBatchSize = maxBatchSize;
- this.sobjects = sobjects;
- }
-
-
/**
- * Gets the encoding value for this DescribeGlobalResult.
+ * Gets the value of the encoding property.
*
- * @return encoding
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getEncoding() {
+ public String getEncoding() {
return encoding;
}
-
/**
- * Sets the encoding value for this DescribeGlobalResult.
+ * Sets the value of the encoding property.
*
- * @param encoding
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setEncoding(java.lang.String encoding) {
- this.encoding = encoding;
+ public void setEncoding(String value) {
+ this.encoding = value;
}
-
/**
- * Gets the maxBatchSize value for this DescribeGlobalResult.
+ * Gets the value of the maxBatchSize property.
*
- * @return maxBatchSize
*/
public int getMaxBatchSize() {
return maxBatchSize;
}
-
/**
- * Sets the maxBatchSize value for this DescribeGlobalResult.
+ * Sets the value of the maxBatchSize property.
*
- * @param maxBatchSize
*/
- public void setMaxBatchSize(int maxBatchSize) {
- this.maxBatchSize = maxBatchSize;
+ public void setMaxBatchSize(int value) {
+ this.maxBatchSize = value;
}
-
/**
- * Gets the sobjects value for this DescribeGlobalResult.
+ * Gets the value of the sobjects property.
*
- * @return sobjects
- */
- public com.sforce.soap.partner.DescribeGlobalSObjectResult[] getSobjects() {
- return sobjects;
- }
-
-
- /**
- * Sets the sobjects value for this DescribeGlobalResult.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sobjects
property.
*
- * @param sobjects
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSobjects().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeGlobalSObjectResult }
+ *
+ *
*/
- public void setSobjects(com.sforce.soap.partner.DescribeGlobalSObjectResult[]
sobjects) {
- this.sobjects = sobjects;
- }
-
- public com.sforce.soap.partner.DescribeGlobalSObjectResult getSobjects(int i) {
- return this.sobjects[i];
- }
-
- public void setSobjects(int i, com.sforce.soap.partner.DescribeGlobalSObjectResult
_value) {
- this.sobjects[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeGlobalResult)) return false;
- DescribeGlobalResult other = (DescribeGlobalResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
+ public List<DescribeGlobalSObjectResult> getSobjects() {
+ if (sobjects == null) {
+ sobjects = new ArrayList<DescribeGlobalSObjectResult>();
}
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.encoding==null && other.getEncoding()==null) ||
- (this.encoding!=null &&
- this.encoding.equals(other.getEncoding()))) &&
- this.maxBatchSize == other.getMaxBatchSize() &&
- ((this.sobjects==null && other.getSobjects()==null) ||
- (this.sobjects!=null &&
- java.util.Arrays.equals(this.sobjects, other.getSobjects())));
- __equalsCalc = null;
- return _equals;
+ return this.sobjects;
}
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getEncoding() != null) {
- _hashCode += getEncoding().hashCode();
- }
- _hashCode += getMaxBatchSize();
- if (getSobjects() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getSobjects());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getSobjects(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeGlobalResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("encoding");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"encoding"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("maxBatchSize");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"maxBatchSize"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sobjects");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sobjects"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalSObjectResult"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalSObjectResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalSObjectResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeGlobalSObjectResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,707 +1,431 @@
-/**
- * DescribeGlobalSObjectResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class DescribeGlobalSObjectResult implements java.io.Serializable {
- private boolean activateable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private boolean createable;
- private boolean custom;
+/**
+ * <p>Java class for DescribeGlobalSObjectResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeGlobalSObjectResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="activateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="createable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="custom"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="customSetting"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="deletable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="deprecatedAndHidden"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="keyPrefix"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="labelPlural"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="layoutable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="mergeable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="queryable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="replicateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="retrieveable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="searchable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="triggerable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="undeletable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="updateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeGlobalSObjectResult", propOrder = {
+ "activateable",
+ "createable",
+ "custom",
+ "customSetting",
+ "deletable",
+ "deprecatedAndHidden",
+ "keyPrefix",
+ "label",
+ "labelPlural",
+ "layoutable",
+ "mergeable",
+ "name",
+ "queryable",
+ "replicateable",
+ "retrieveable",
+ "searchable",
+ "triggerable",
+ "undeletable",
+ "updateable"
+})
+public class DescribeGlobalSObjectResult {
- private boolean customSetting;
+ protected boolean activateable;
+ protected boolean createable;
+ protected boolean custom;
+ protected boolean customSetting;
+ protected boolean deletable;
+ protected boolean deprecatedAndHidden;
+ @XmlElement(required = true, nillable = true)
+ protected String keyPrefix;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String labelPlural;
+ protected boolean layoutable;
+ protected boolean mergeable;
+ @XmlElement(required = true)
+ protected String name;
+ protected boolean queryable;
+ protected boolean replicateable;
+ protected boolean retrieveable;
+ protected boolean searchable;
+ protected boolean triggerable;
+ protected boolean undeletable;
+ protected boolean updateable;
- private boolean deletable;
-
- private boolean deprecatedAndHidden;
-
- private java.lang.String keyPrefix;
-
- private java.lang.String label;
-
- private java.lang.String labelPlural;
-
- private boolean layoutable;
-
- private boolean mergeable;
-
- private java.lang.String name;
-
- private boolean queryable;
-
- private boolean replicateable;
-
- private boolean retrieveable;
-
- private boolean searchable;
-
- private boolean triggerable;
-
- private boolean undeletable;
-
- private boolean updateable;
-
- public DescribeGlobalSObjectResult() {
- }
-
- public DescribeGlobalSObjectResult(
- boolean activateable,
- boolean createable,
- boolean custom,
- boolean customSetting,
- boolean deletable,
- boolean deprecatedAndHidden,
- java.lang.String keyPrefix,
- java.lang.String label,
- java.lang.String labelPlural,
- boolean layoutable,
- boolean mergeable,
- java.lang.String name,
- boolean queryable,
- boolean replicateable,
- boolean retrieveable,
- boolean searchable,
- boolean triggerable,
- boolean undeletable,
- boolean updateable) {
- this.activateable = activateable;
- this.createable = createable;
- this.custom = custom;
- this.customSetting = customSetting;
- this.deletable = deletable;
- this.deprecatedAndHidden = deprecatedAndHidden;
- this.keyPrefix = keyPrefix;
- this.label = label;
- this.labelPlural = labelPlural;
- this.layoutable = layoutable;
- this.mergeable = mergeable;
- this.name = name;
- this.queryable = queryable;
- this.replicateable = replicateable;
- this.retrieveable = retrieveable;
- this.searchable = searchable;
- this.triggerable = triggerable;
- this.undeletable = undeletable;
- this.updateable = updateable;
- }
-
-
/**
- * Gets the activateable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the activateable property.
*
- * @return activateable
*/
public boolean isActivateable() {
return activateable;
}
-
/**
- * Sets the activateable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the activateable property.
*
- * @param activateable
*/
- public void setActivateable(boolean activateable) {
- this.activateable = activateable;
+ public void setActivateable(boolean value) {
+ this.activateable = value;
}
-
/**
- * Gets the createable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the createable property.
*
- * @return createable
*/
public boolean isCreateable() {
return createable;
}
-
/**
- * Sets the createable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the createable property.
*
- * @param createable
*/
- public void setCreateable(boolean createable) {
- this.createable = createable;
+ public void setCreateable(boolean value) {
+ this.createable = value;
}
-
/**
- * Gets the custom value for this DescribeGlobalSObjectResult.
+ * Gets the value of the custom property.
*
- * @return custom
*/
public boolean isCustom() {
return custom;
}
-
/**
- * Sets the custom value for this DescribeGlobalSObjectResult.
+ * Sets the value of the custom property.
*
- * @param custom
*/
- public void setCustom(boolean custom) {
- this.custom = custom;
+ public void setCustom(boolean value) {
+ this.custom = value;
}
-
/**
- * Gets the customSetting value for this DescribeGlobalSObjectResult.
+ * Gets the value of the customSetting property.
*
- * @return customSetting
*/
public boolean isCustomSetting() {
return customSetting;
}
-
/**
- * Sets the customSetting value for this DescribeGlobalSObjectResult.
+ * Sets the value of the customSetting property.
*
- * @param customSetting
*/
- public void setCustomSetting(boolean customSetting) {
- this.customSetting = customSetting;
+ public void setCustomSetting(boolean value) {
+ this.customSetting = value;
}
-
/**
- * Gets the deletable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the deletable property.
*
- * @return deletable
*/
public boolean isDeletable() {
return deletable;
}
-
/**
- * Sets the deletable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the deletable property.
*
- * @param deletable
*/
- public void setDeletable(boolean deletable) {
- this.deletable = deletable;
+ public void setDeletable(boolean value) {
+ this.deletable = value;
}
-
/**
- * Gets the deprecatedAndHidden value for this DescribeGlobalSObjectResult.
+ * Gets the value of the deprecatedAndHidden property.
*
- * @return deprecatedAndHidden
*/
public boolean isDeprecatedAndHidden() {
return deprecatedAndHidden;
}
-
/**
- * Sets the deprecatedAndHidden value for this DescribeGlobalSObjectResult.
+ * Sets the value of the deprecatedAndHidden property.
*
- * @param deprecatedAndHidden
*/
- public void setDeprecatedAndHidden(boolean deprecatedAndHidden) {
- this.deprecatedAndHidden = deprecatedAndHidden;
+ public void setDeprecatedAndHidden(boolean value) {
+ this.deprecatedAndHidden = value;
}
-
/**
- * Gets the keyPrefix value for this DescribeGlobalSObjectResult.
+ * Gets the value of the keyPrefix property.
*
- * @return keyPrefix
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getKeyPrefix() {
+ public String getKeyPrefix() {
return keyPrefix;
}
-
/**
- * Sets the keyPrefix value for this DescribeGlobalSObjectResult.
+ * Sets the value of the keyPrefix property.
*
- * @param keyPrefix
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setKeyPrefix(java.lang.String keyPrefix) {
- this.keyPrefix = keyPrefix;
+ public void setKeyPrefix(String value) {
+ this.keyPrefix = value;
}
-
/**
- * Gets the label value for this DescribeGlobalSObjectResult.
+ * Gets the value of the label property.
*
- * @return label
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getLabel() {
+ public String getLabel() {
return label;
}
-
/**
- * Sets the label value for this DescribeGlobalSObjectResult.
+ * Sets the value of the label property.
*
- * @param label
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setLabel(java.lang.String label) {
- this.label = label;
+ public void setLabel(String value) {
+ this.label = value;
}
-
/**
- * Gets the labelPlural value for this DescribeGlobalSObjectResult.
+ * Gets the value of the labelPlural property.
*
- * @return labelPlural
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getLabelPlural() {
+ public String getLabelPlural() {
return labelPlural;
}
-
/**
- * Sets the labelPlural value for this DescribeGlobalSObjectResult.
+ * Sets the value of the labelPlural property.
*
- * @param labelPlural
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setLabelPlural(java.lang.String labelPlural) {
- this.labelPlural = labelPlural;
+ public void setLabelPlural(String value) {
+ this.labelPlural = value;
}
-
/**
- * Gets the layoutable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the layoutable property.
*
- * @return layoutable
*/
public boolean isLayoutable() {
return layoutable;
}
-
/**
- * Sets the layoutable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the layoutable property.
*
- * @param layoutable
*/
- public void setLayoutable(boolean layoutable) {
- this.layoutable = layoutable;
+ public void setLayoutable(boolean value) {
+ this.layoutable = value;
}
-
/**
- * Gets the mergeable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the mergeable property.
*
- * @return mergeable
*/
public boolean isMergeable() {
return mergeable;
}
-
/**
- * Sets the mergeable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the mergeable property.
*
- * @param mergeable
*/
- public void setMergeable(boolean mergeable) {
- this.mergeable = mergeable;
+ public void setMergeable(boolean value) {
+ this.mergeable = value;
}
-
/**
- * Gets the name value for this DescribeGlobalSObjectResult.
+ * Gets the value of the name property.
*
- * @return name
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getName() {
+ public String getName() {
return name;
}
-
/**
- * Sets the name value for this DescribeGlobalSObjectResult.
+ * Sets the value of the name property.
*
- * @param name
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setName(java.lang.String name) {
- this.name = name;
+ public void setName(String value) {
+ this.name = value;
}
-
/**
- * Gets the queryable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the queryable property.
*
- * @return queryable
*/
public boolean isQueryable() {
return queryable;
}
-
/**
- * Sets the queryable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the queryable property.
*
- * @param queryable
*/
- public void setQueryable(boolean queryable) {
- this.queryable = queryable;
+ public void setQueryable(boolean value) {
+ this.queryable = value;
}
-
/**
- * Gets the replicateable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the replicateable property.
*
- * @return replicateable
*/
public boolean isReplicateable() {
return replicateable;
}
-
/**
- * Sets the replicateable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the replicateable property.
*
- * @param replicateable
*/
- public void setReplicateable(boolean replicateable) {
- this.replicateable = replicateable;
+ public void setReplicateable(boolean value) {
+ this.replicateable = value;
}
-
/**
- * Gets the retrieveable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the retrieveable property.
*
- * @return retrieveable
*/
public boolean isRetrieveable() {
return retrieveable;
}
-
/**
- * Sets the retrieveable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the retrieveable property.
*
- * @param retrieveable
*/
- public void setRetrieveable(boolean retrieveable) {
- this.retrieveable = retrieveable;
+ public void setRetrieveable(boolean value) {
+ this.retrieveable = value;
}
-
/**
- * Gets the searchable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the searchable property.
*
- * @return searchable
*/
public boolean isSearchable() {
return searchable;
}
-
/**
- * Sets the searchable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the searchable property.
*
- * @param searchable
*/
- public void setSearchable(boolean searchable) {
- this.searchable = searchable;
+ public void setSearchable(boolean value) {
+ this.searchable = value;
}
-
/**
- * Gets the triggerable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the triggerable property.
*
- * @return triggerable
*/
public boolean isTriggerable() {
return triggerable;
}
-
/**
- * Sets the triggerable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the triggerable property.
*
- * @param triggerable
*/
- public void setTriggerable(boolean triggerable) {
- this.triggerable = triggerable;
+ public void setTriggerable(boolean value) {
+ this.triggerable = value;
}
-
/**
- * Gets the undeletable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the undeletable property.
*
- * @return undeletable
*/
public boolean isUndeletable() {
return undeletable;
}
-
/**
- * Sets the undeletable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the undeletable property.
*
- * @param undeletable
*/
- public void setUndeletable(boolean undeletable) {
- this.undeletable = undeletable;
+ public void setUndeletable(boolean value) {
+ this.undeletable = value;
}
-
/**
- * Gets the updateable value for this DescribeGlobalSObjectResult.
+ * Gets the value of the updateable property.
*
- * @return updateable
*/
public boolean isUpdateable() {
return updateable;
}
-
/**
- * Sets the updateable value for this DescribeGlobalSObjectResult.
+ * Sets the value of the updateable property.
*
- * @param updateable
*/
- public void setUpdateable(boolean updateable) {
- this.updateable = updateable;
+ public void setUpdateable(boolean value) {
+ this.updateable = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeGlobalSObjectResult)) return false;
- DescribeGlobalSObjectResult other = (DescribeGlobalSObjectResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.activateable == other.isActivateable() &&
- this.createable == other.isCreateable() &&
- this.custom == other.isCustom() &&
- this.customSetting == other.isCustomSetting() &&
- this.deletable == other.isDeletable() &&
- this.deprecatedAndHidden == other.isDeprecatedAndHidden() &&
- ((this.keyPrefix==null && other.getKeyPrefix()==null) ||
- (this.keyPrefix!=null &&
- this.keyPrefix.equals(other.getKeyPrefix()))) &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.labelPlural==null && other.getLabelPlural()==null) ||
- (this.labelPlural!=null &&
- this.labelPlural.equals(other.getLabelPlural()))) &&
- this.layoutable == other.isLayoutable() &&
- this.mergeable == other.isMergeable() &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- this.queryable == other.isQueryable() &&
- this.replicateable == other.isReplicateable() &&
- this.retrieveable == other.isRetrieveable() &&
- this.searchable == other.isSearchable() &&
- this.triggerable == other.isTriggerable() &&
- this.undeletable == other.isUndeletable() &&
- this.updateable == other.isUpdateable();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isActivateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isCreateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isCustomSetting() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDeletable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDeprecatedAndHidden() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getKeyPrefix() != null) {
- _hashCode += getKeyPrefix().hashCode();
- }
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getLabelPlural() != null) {
- _hashCode += getLabelPlural().hashCode();
- }
- _hashCode += (isLayoutable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isMergeable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- _hashCode += (isQueryable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isReplicateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isRetrieveable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isSearchable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isTriggerable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isUndeletable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isUpdateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeGlobalSObjectResult.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalSObjectResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("activateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"activateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("createable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"createable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("custom");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "custom"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("customSetting");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"customSetting"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deletable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deletable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deprecatedAndHidden");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deprecatedAndHidden"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("keyPrefix");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"keyPrefix"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("labelPlural");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"labelPlural"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layoutable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("mergeable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"mergeable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("queryable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("replicateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"replicateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("retrieveable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"retrieveable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("searchable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"searchable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("triggerable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"triggerable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("undeletable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"undeletable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("updateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"updateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,327 +1,98 @@
-/**
- * DescribeLayout.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayout implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeLayoutButton[] buttonLayoutSection;
-
- private com.sforce.soap.partner.DescribeLayoutSection[] detailLayoutSections;
-
- private com.sforce.soap.partner.DescribeLayoutSection[] editLayoutSections;
-
- private java.lang.String id;
-
- private com.sforce.soap.partner.RelatedList[] relatedLists;
-
- public DescribeLayout() {
- }
-
- public DescribeLayout(
- com.sforce.soap.partner.DescribeLayoutButton[] buttonLayoutSection,
- com.sforce.soap.partner.DescribeLayoutSection[] detailLayoutSections,
- com.sforce.soap.partner.DescribeLayoutSection[] editLayoutSections,
- java.lang.String id,
- com.sforce.soap.partner.RelatedList[] relatedLists) {
- this.buttonLayoutSection = buttonLayoutSection;
- this.detailLayoutSections = detailLayoutSections;
- this.editLayoutSections = editLayoutSections;
- this.id = id;
- this.relatedLists = relatedLists;
- }
-
-
- /**
- * Gets the buttonLayoutSection value for this DescribeLayout.
- *
- * @return buttonLayoutSection
- */
- public com.sforce.soap.partner.DescribeLayoutButton[] getButtonLayoutSection() {
- return buttonLayoutSection;
- }
-
-
- /**
- * Sets the buttonLayoutSection value for this DescribeLayout.
- *
- * @param buttonLayoutSection
- */
- public void setButtonLayoutSection(com.sforce.soap.partner.DescribeLayoutButton[]
buttonLayoutSection) {
- this.buttonLayoutSection = buttonLayoutSection;
- }
-
-
- /**
- * Gets the detailLayoutSections value for this DescribeLayout.
- *
- * @return detailLayoutSections
- */
- public com.sforce.soap.partner.DescribeLayoutSection[] getDetailLayoutSections() {
- return detailLayoutSections;
- }
-
-
- /**
- * Sets the detailLayoutSections value for this DescribeLayout.
- *
- * @param detailLayoutSections
- */
- public void setDetailLayoutSections(com.sforce.soap.partner.DescribeLayoutSection[]
detailLayoutSections) {
- this.detailLayoutSections = detailLayoutSections;
- }
-
- public com.sforce.soap.partner.DescribeLayoutSection getDetailLayoutSections(int i)
{
- return this.detailLayoutSections[i];
- }
-
- public void setDetailLayoutSections(int i,
com.sforce.soap.partner.DescribeLayoutSection _value) {
- this.detailLayoutSections[i] = _value;
- }
-
-
- /**
- * Gets the editLayoutSections value for this DescribeLayout.
- *
- * @return editLayoutSections
- */
- public com.sforce.soap.partner.DescribeLayoutSection[] getEditLayoutSections() {
- return editLayoutSections;
- }
-
-
- /**
- * Sets the editLayoutSections value for this DescribeLayout.
- *
- * @param editLayoutSections
- */
- public void setEditLayoutSections(com.sforce.soap.partner.DescribeLayoutSection[]
editLayoutSections) {
- this.editLayoutSections = editLayoutSections;
- }
-
- public com.sforce.soap.partner.DescribeLayoutSection getEditLayoutSections(int i) {
- return this.editLayoutSections[i];
- }
-
- public void setEditLayoutSections(int i,
com.sforce.soap.partner.DescribeLayoutSection _value) {
- this.editLayoutSections[i] = _value;
- }
-
-
- /**
- * Gets the id value for this DescribeLayout.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this DescribeLayout.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the relatedLists value for this DescribeLayout.
- *
- * @return relatedLists
- */
- public com.sforce.soap.partner.RelatedList[] getRelatedLists() {
- return relatedLists;
- }
-
-
- /**
- * Sets the relatedLists value for this DescribeLayout.
- *
- * @param relatedLists
- */
- public void setRelatedLists(com.sforce.soap.partner.RelatedList[] relatedLists) {
- this.relatedLists = relatedLists;
- }
-
- public com.sforce.soap.partner.RelatedList getRelatedLists(int i) {
- return this.relatedLists[i];
- }
-
- public void setRelatedLists(int i, com.sforce.soap.partner.RelatedList _value) {
- this.relatedLists[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayout)) return false;
- DescribeLayout other = (DescribeLayout) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.buttonLayoutSection==null &&
other.getButtonLayoutSection()==null) ||
- (this.buttonLayoutSection!=null &&
- java.util.Arrays.equals(this.buttonLayoutSection,
other.getButtonLayoutSection()))) &&
- ((this.detailLayoutSections==null &&
other.getDetailLayoutSections()==null) ||
- (this.detailLayoutSections!=null &&
- java.util.Arrays.equals(this.detailLayoutSections,
other.getDetailLayoutSections()))) &&
- ((this.editLayoutSections==null &&
other.getEditLayoutSections()==null) ||
- (this.editLayoutSections!=null &&
- java.util.Arrays.equals(this.editLayoutSections,
other.getEditLayoutSections()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- ((this.relatedLists==null && other.getRelatedLists()==null) ||
- (this.relatedLists!=null &&
- java.util.Arrays.equals(this.relatedLists, other.getRelatedLists())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getButtonLayoutSection() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getButtonLayoutSection());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getButtonLayoutSection(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getDetailLayoutSections() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getDetailLayoutSections());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getDetailLayoutSections(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getEditLayoutSections() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getEditLayoutSections());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getEditLayoutSections(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- if (getRelatedLists() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getRelatedLists());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getRelatedLists(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayout.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayout"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("buttonLayoutSection");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"buttonLayoutSection"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutButton"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setItemQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"detailButtons"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("detailLayoutSections");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"detailLayoutSections"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutSection"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("editLayoutSections");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"editLayoutSections"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutSection"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("relatedLists");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"relatedLists"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedList"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjectType"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="recordTypeIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjectType",
+ "recordTypeIds"
+})
+@XmlRootElement(name = "describeLayout")
+public class DescribeLayout {
+
+ @XmlElement(required = true)
+ protected String sObjectType;
+ protected List<String> recordTypeIds;
+
+ /**
+ * Gets the value of the sObjectType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSObjectType() {
+ return sObjectType;
+ }
+
+ /**
+ * Sets the value of the sObjectType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSObjectType(String value) {
+ this.sObjectType = value;
+ }
+
+ /**
+ * Gets the value of the recordTypeIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
recordTypeIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRecordTypeIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getRecordTypeIds() {
+ if (recordTypeIds == null) {
+ recordTypeIds = new ArrayList<String>();
+ }
+ return this.recordTypeIds;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout2.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout2.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout2.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,187 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayout complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayout">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="buttonLayoutSection"
type="{urn:partner.soap.sforce.com}DescribeLayoutButtonSection"
minOccurs="0"/>
+ * <element name="detailLayoutSections"
type="{urn:partner.soap.sforce.com}DescribeLayoutSection"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="editLayoutSections"
type="{urn:partner.soap.sforce.com}DescribeLayoutSection"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="relatedLists"
type="{urn:partner.soap.sforce.com}RelatedList" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayout", propOrder = {
+ "buttonLayoutSection",
+ "detailLayoutSections",
+ "editLayoutSections",
+ "id",
+ "relatedLists"
+})
+public class DescribeLayout2 {
+
+ protected DescribeLayoutButtonSection buttonLayoutSection;
+ protected List<DescribeLayoutSection> detailLayoutSections;
+ protected List<DescribeLayoutSection> editLayoutSections;
+ @XmlElement(required = true)
+ protected String id;
+ protected List<RelatedList> relatedLists;
+
+ /**
+ * Gets the value of the buttonLayoutSection property.
+ *
+ * @return
+ * possible object is
+ * {@link DescribeLayoutButtonSection }
+ *
+ */
+ public DescribeLayoutButtonSection getButtonLayoutSection() {
+ return buttonLayoutSection;
+ }
+
+ /**
+ * Sets the value of the buttonLayoutSection property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DescribeLayoutButtonSection }
+ *
+ */
+ public void setButtonLayoutSection(DescribeLayoutButtonSection value) {
+ this.buttonLayoutSection = value;
+ }
+
+ /**
+ * Gets the value of the detailLayoutSections property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
detailLayoutSections property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDetailLayoutSections().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayoutSection }
+ *
+ *
+ */
+ public List<DescribeLayoutSection> getDetailLayoutSections() {
+ if (detailLayoutSections == null) {
+ detailLayoutSections = new ArrayList<DescribeLayoutSection>();
+ }
+ return this.detailLayoutSections;
+ }
+
+ /**
+ * Gets the value of the editLayoutSections property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
editLayoutSections property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEditLayoutSections().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayoutSection }
+ *
+ *
+ */
+ public List<DescribeLayoutSection> getEditLayoutSections() {
+ if (editLayoutSections == null) {
+ editLayoutSections = new ArrayList<DescribeLayoutSection>();
+ }
+ return this.editLayoutSections;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the relatedLists property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
relatedLists property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRelatedLists().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link RelatedList }
+ *
+ *
+ */
+ public List<RelatedList> getRelatedLists() {
+ if (relatedLists == null) {
+ relatedLists = new ArrayList<RelatedList>();
+ }
+ return this.relatedLists;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayout2.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButton.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButton.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButton.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,187 +1,109 @@
-/**
- * DescribeLayoutButton.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutButton implements java.io.Serializable {
- private boolean custom;
-
- private java.lang.String label;
-
- private java.lang.String name;
-
- public DescribeLayoutButton() {
- }
-
- public DescribeLayoutButton(
- boolean custom,
- java.lang.String label,
- java.lang.String name) {
- this.custom = custom;
- this.label = label;
- this.name = name;
- }
-
-
- /**
- * Gets the custom value for this DescribeLayoutButton.
- *
- * @return custom
- */
- public boolean isCustom() {
- return custom;
- }
-
-
- /**
- * Sets the custom value for this DescribeLayoutButton.
- *
- * @param custom
- */
- public void setCustom(boolean custom) {
- this.custom = custom;
- }
-
-
- /**
- * Gets the label value for this DescribeLayoutButton.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this DescribeLayoutButton.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the name value for this DescribeLayoutButton.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this DescribeLayoutButton.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutButton)) return false;
- DescribeLayoutButton other = (DescribeLayoutButton) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.custom == other.isCustom() &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutButton.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutButton"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("custom");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "custom"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutButton complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutButton">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="custom"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutButton", propOrder = {
+ "custom",
+ "label",
+ "name"
+})
+public class DescribeLayoutButton {
+
+ protected boolean custom;
+ @XmlElement(required = true, nillable = true)
+ protected String label;
+ @XmlElement(required = true, nillable = true)
+ protected String name;
+
+ /**
+ * Gets the value of the custom property.
+ *
+ */
+ public boolean isCustom() {
+ return custom;
+ }
+
+ /**
+ * Sets the value of the custom property.
+ *
+ */
+ public void setCustom(boolean value) {
+ this.custom = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButtonSection.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButtonSection.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButtonSection.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutButtonSection complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutButtonSection">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="detailButtons"
type="{urn:partner.soap.sforce.com}DescribeLayoutButton"
maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutButtonSection", propOrder = {
+ "detailButtons"
+})
+public class DescribeLayoutButtonSection {
+
+ @XmlElement(required = true)
+ protected List<DescribeLayoutButton> detailButtons;
+
+ /**
+ * Gets the value of the detailButtons property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
detailButtons property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDetailButtons().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayoutButton }
+ *
+ *
+ */
+ public List<DescribeLayoutButton> getDetailButtons() {
+ if (detailButtons == null) {
+ detailButtons = new ArrayList<DescribeLayoutButton>();
+ }
+ return this.detailButtons;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutButtonSection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutComponent.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutComponent.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutComponent.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,219 +1,128 @@
-/**
- * DescribeLayoutComponent.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutComponent implements java.io.Serializable {
- private int displayLines;
-
- private int tabOrder;
-
- private com.sforce.soap.partner.LayoutComponentType type;
-
- private java.lang.String value;
-
- public DescribeLayoutComponent() {
- }
-
- public DescribeLayoutComponent(
- int displayLines,
- int tabOrder,
- com.sforce.soap.partner.LayoutComponentType type,
- java.lang.String value) {
- this.displayLines = displayLines;
- this.tabOrder = tabOrder;
- this.type = type;
- this.value = value;
- }
-
-
- /**
- * Gets the displayLines value for this DescribeLayoutComponent.
- *
- * @return displayLines
- */
- public int getDisplayLines() {
- return displayLines;
- }
-
-
- /**
- * Sets the displayLines value for this DescribeLayoutComponent.
- *
- * @param displayLines
- */
- public void setDisplayLines(int displayLines) {
- this.displayLines = displayLines;
- }
-
-
- /**
- * Gets the tabOrder value for this DescribeLayoutComponent.
- *
- * @return tabOrder
- */
- public int getTabOrder() {
- return tabOrder;
- }
-
-
- /**
- * Sets the tabOrder value for this DescribeLayoutComponent.
- *
- * @param tabOrder
- */
- public void setTabOrder(int tabOrder) {
- this.tabOrder = tabOrder;
- }
-
-
- /**
- * Gets the type value for this DescribeLayoutComponent.
- *
- * @return type
- */
- public com.sforce.soap.partner.LayoutComponentType getType() {
- return type;
- }
-
-
- /**
- * Sets the type value for this DescribeLayoutComponent.
- *
- * @param type
- */
- public void setType(com.sforce.soap.partner.LayoutComponentType type) {
- this.type = type;
- }
-
-
- /**
- * Gets the value value for this DescribeLayoutComponent.
- *
- * @return value
- */
- public java.lang.String getValue() {
- return value;
- }
-
-
- /**
- * Sets the value value for this DescribeLayoutComponent.
- *
- * @param value
- */
- public void setValue(java.lang.String value) {
- this.value = value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutComponent)) return false;
- DescribeLayoutComponent other = (DescribeLayoutComponent) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.displayLines == other.getDisplayLines() &&
- this.tabOrder == other.getTabOrder() &&
- ((this.type==null && other.getType()==null) ||
- (this.type!=null &&
- this.type.equals(other.getType()))) &&
- ((this.value==null && other.getValue()==null) ||
- (this.value!=null &&
- this.value.equals(other.getValue())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += getDisplayLines();
- _hashCode += getTabOrder();
- if (getType() != null) {
- _hashCode += getType().hashCode();
- }
- if (getValue() != null) {
- _hashCode += getValue().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutComponent.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutComponent"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("displayLines");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"displayLines"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("tabOrder");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"tabOrder"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("type");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "type"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutComponentType"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("value");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "value"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutComponent complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutComponent">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="displayLines"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="tabOrder"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="type"
type="{urn:partner.soap.sforce.com}layoutComponentType"/>
+ * <element name="value"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutComponent", propOrder = {
+ "displayLines",
+ "tabOrder",
+ "type",
+ "value"
+})
+public class DescribeLayoutComponent {
+
+ protected int displayLines;
+ protected int tabOrder;
+ @XmlElement(required = true)
+ protected LayoutComponentType type;
+ @XmlElement(required = true)
+ protected String value;
+
+ /**
+ * Gets the value of the displayLines property.
+ *
+ */
+ public int getDisplayLines() {
+ return displayLines;
+ }
+
+ /**
+ * Sets the value of the displayLines property.
+ *
+ */
+ public void setDisplayLines(int value) {
+ this.displayLines = value;
+ }
+
+ /**
+ * Gets the value of the tabOrder property.
+ *
+ */
+ public int getTabOrder() {
+ return tabOrder;
+ }
+
+ /**
+ * Sets the value of the tabOrder property.
+ *
+ */
+ public void setTabOrder(int value) {
+ this.tabOrder = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link LayoutComponentType }
+ *
+ */
+ public LayoutComponentType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link LayoutComponentType }
+ *
+ */
+ public void setType(LayoutComponentType value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutItem.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutItem.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutItem.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,269 +1,153 @@
-/**
- * DescribeLayoutItem.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutItem implements java.io.Serializable {
- private boolean editable;
-
- private java.lang.String label;
-
- private com.sforce.soap.partner.DescribeLayoutComponent[] layoutComponents;
-
- private boolean placeholder;
-
- private boolean required;
-
- public DescribeLayoutItem() {
- }
-
- public DescribeLayoutItem(
- boolean editable,
- java.lang.String label,
- com.sforce.soap.partner.DescribeLayoutComponent[] layoutComponents,
- boolean placeholder,
- boolean required) {
- this.editable = editable;
- this.label = label;
- this.layoutComponents = layoutComponents;
- this.placeholder = placeholder;
- this.required = required;
- }
-
-
- /**
- * Gets the editable value for this DescribeLayoutItem.
- *
- * @return editable
- */
- public boolean isEditable() {
- return editable;
- }
-
-
- /**
- * Sets the editable value for this DescribeLayoutItem.
- *
- * @param editable
- */
- public void setEditable(boolean editable) {
- this.editable = editable;
- }
-
-
- /**
- * Gets the label value for this DescribeLayoutItem.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this DescribeLayoutItem.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the layoutComponents value for this DescribeLayoutItem.
- *
- * @return layoutComponents
- */
- public com.sforce.soap.partner.DescribeLayoutComponent[] getLayoutComponents() {
- return layoutComponents;
- }
-
-
- /**
- * Sets the layoutComponents value for this DescribeLayoutItem.
- *
- * @param layoutComponents
- */
- public void setLayoutComponents(com.sforce.soap.partner.DescribeLayoutComponent[]
layoutComponents) {
- this.layoutComponents = layoutComponents;
- }
-
- public com.sforce.soap.partner.DescribeLayoutComponent getLayoutComponents(int i) {
- return this.layoutComponents[i];
- }
-
- public void setLayoutComponents(int i,
com.sforce.soap.partner.DescribeLayoutComponent _value) {
- this.layoutComponents[i] = _value;
- }
-
-
- /**
- * Gets the placeholder value for this DescribeLayoutItem.
- *
- * @return placeholder
- */
- public boolean isPlaceholder() {
- return placeholder;
- }
-
-
- /**
- * Sets the placeholder value for this DescribeLayoutItem.
- *
- * @param placeholder
- */
- public void setPlaceholder(boolean placeholder) {
- this.placeholder = placeholder;
- }
-
-
- /**
- * Gets the required value for this DescribeLayoutItem.
- *
- * @return required
- */
- public boolean isRequired() {
- return required;
- }
-
-
- /**
- * Sets the required value for this DescribeLayoutItem.
- *
- * @param required
- */
- public void setRequired(boolean required) {
- this.required = required;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutItem)) return false;
- DescribeLayoutItem other = (DescribeLayoutItem) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.editable == other.isEditable() &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.layoutComponents==null && other.getLayoutComponents()==null)
||
- (this.layoutComponents!=null &&
- java.util.Arrays.equals(this.layoutComponents,
other.getLayoutComponents()))) &&
- this.placeholder == other.isPlaceholder() &&
- this.required == other.isRequired();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isEditable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getLayoutComponents() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getLayoutComponents());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getLayoutComponents(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isPlaceholder() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isRequired() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutItem.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutItem"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("editable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"editable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layoutComponents");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutComponents"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutComponent"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("placeholder");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"placeholder"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("required");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"required"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutItem complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutItem">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="editable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="layoutComponents"
type="{urn:partner.soap.sforce.com}DescribeLayoutComponent"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="placeholder"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="required"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutItem", propOrder = {
+ "editable",
+ "label",
+ "layoutComponents",
+ "placeholder",
+ "required"
+})
+public class DescribeLayoutItem {
+
+ protected boolean editable;
+ @XmlElement(required = true, nillable = true)
+ protected String label;
+ protected List<DescribeLayoutComponent> layoutComponents;
+ protected boolean placeholder;
+ protected boolean required;
+
+ /**
+ * Gets the value of the editable property.
+ *
+ */
+ public boolean isEditable() {
+ return editable;
+ }
+
+ /**
+ * Sets the value of the editable property.
+ *
+ */
+ public void setEditable(boolean value) {
+ this.editable = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the layoutComponents property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
layoutComponents property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLayoutComponents().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayoutComponent }
+ *
+ *
+ */
+ public List<DescribeLayoutComponent> getLayoutComponents() {
+ if (layoutComponents == null) {
+ layoutComponents = new ArrayList<DescribeLayoutComponent>();
+ }
+ return this.layoutComponents;
+ }
+
+ /**
+ * Gets the value of the placeholder property.
+ *
+ */
+ public boolean isPlaceholder() {
+ return placeholder;
+ }
+
+ /**
+ * Sets the value of the placeholder property.
+ *
+ */
+ public void setPlaceholder(boolean value) {
+ this.placeholder = value;
+ }
+
+ /**
+ * Gets the value of the required property.
+ *
+ */
+ public boolean isRequired() {
+ return required;
+ }
+
+ /**
+ * Sets the value of the required property.
+ *
+ */
+ public void setRequired(boolean value) {
+ this.required = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DescribeLayoutResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutResponse implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeLayoutResult result;
-
- public DescribeLayoutResponse() {
- }
-
- public DescribeLayoutResponse(
- com.sforce.soap.partner.DescribeLayoutResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this DescribeLayoutResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.DescribeLayoutResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this DescribeLayoutResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.DescribeLayoutResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutResponse)) return false;
- DescribeLayoutResponse other = (DescribeLayoutResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeLayoutResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutResult"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DescribeLayoutResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "describeLayoutResponse")
+public class DescribeLayoutResponse {
+
+ @XmlElement(required = true, nillable = true)
+ protected DescribeLayoutResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link DescribeLayoutResult }
+ *
+ */
+ public DescribeLayoutResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DescribeLayoutResult }
+ *
+ */
+ public void setResult(DescribeLayoutResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,222 +1,120 @@
-/**
- * DescribeLayoutResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutResult implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeLayout[] layouts;
-
- private com.sforce.soap.partner.RecordTypeMapping[] recordTypeMappings;
-
- private boolean recordTypeSelectorRequired;
-
- public DescribeLayoutResult() {
- }
-
- public DescribeLayoutResult(
- com.sforce.soap.partner.DescribeLayout[] layouts,
- com.sforce.soap.partner.RecordTypeMapping[] recordTypeMappings,
- boolean recordTypeSelectorRequired) {
- this.layouts = layouts;
- this.recordTypeMappings = recordTypeMappings;
- this.recordTypeSelectorRequired = recordTypeSelectorRequired;
- }
-
-
- /**
- * Gets the layouts value for this DescribeLayoutResult.
- *
- * @return layouts
- */
- public com.sforce.soap.partner.DescribeLayout[] getLayouts() {
- return layouts;
- }
-
-
- /**
- * Sets the layouts value for this DescribeLayoutResult.
- *
- * @param layouts
- */
- public void setLayouts(com.sforce.soap.partner.DescribeLayout[] layouts) {
- this.layouts = layouts;
- }
-
- public com.sforce.soap.partner.DescribeLayout getLayouts(int i) {
- return this.layouts[i];
- }
-
- public void setLayouts(int i, com.sforce.soap.partner.DescribeLayout _value) {
- this.layouts[i] = _value;
- }
-
-
- /**
- * Gets the recordTypeMappings value for this DescribeLayoutResult.
- *
- * @return recordTypeMappings
- */
- public com.sforce.soap.partner.RecordTypeMapping[] getRecordTypeMappings() {
- return recordTypeMappings;
- }
-
-
- /**
- * Sets the recordTypeMappings value for this DescribeLayoutResult.
- *
- * @param recordTypeMappings
- */
- public void setRecordTypeMappings(com.sforce.soap.partner.RecordTypeMapping[]
recordTypeMappings) {
- this.recordTypeMappings = recordTypeMappings;
- }
-
- public com.sforce.soap.partner.RecordTypeMapping getRecordTypeMappings(int i) {
- return this.recordTypeMappings[i];
- }
-
- public void setRecordTypeMappings(int i, com.sforce.soap.partner.RecordTypeMapping
_value) {
- this.recordTypeMappings[i] = _value;
- }
-
-
- /**
- * Gets the recordTypeSelectorRequired value for this DescribeLayoutResult.
- *
- * @return recordTypeSelectorRequired
- */
- public boolean isRecordTypeSelectorRequired() {
- return recordTypeSelectorRequired;
- }
-
-
- /**
- * Sets the recordTypeSelectorRequired value for this DescribeLayoutResult.
- *
- * @param recordTypeSelectorRequired
- */
- public void setRecordTypeSelectorRequired(boolean recordTypeSelectorRequired) {
- this.recordTypeSelectorRequired = recordTypeSelectorRequired;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutResult)) return false;
- DescribeLayoutResult other = (DescribeLayoutResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.layouts==null && other.getLayouts()==null) ||
- (this.layouts!=null &&
- java.util.Arrays.equals(this.layouts, other.getLayouts()))) &&
- ((this.recordTypeMappings==null &&
other.getRecordTypeMappings()==null) ||
- (this.recordTypeMappings!=null &&
- java.util.Arrays.equals(this.recordTypeMappings,
other.getRecordTypeMappings()))) &&
- this.recordTypeSelectorRequired == other.isRecordTypeSelectorRequired();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getLayouts() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getLayouts());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getLayouts(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getRecordTypeMappings() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getRecordTypeMappings());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getRecordTypeMappings(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isRecordTypeSelectorRequired() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layouts");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "layouts"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayout"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordTypeMappings");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeMappings"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RecordTypeMapping"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordTypeSelectorRequired");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeSelectorRequired"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="layouts"
type="{urn:partner.soap.sforce.com}DescribeLayout"
maxOccurs="unbounded"/>
+ * <element name="recordTypeMappings"
type="{urn:partner.soap.sforce.com}RecordTypeMapping"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="recordTypeSelectorRequired"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutResult", propOrder = {
+ "layouts",
+ "recordTypeMappings",
+ "recordTypeSelectorRequired"
+})
+public class DescribeLayoutResult {
+
+ @XmlElement(required = true)
+ protected List<DescribeLayout2> layouts;
+ protected List<RecordTypeMapping> recordTypeMappings;
+ protected boolean recordTypeSelectorRequired;
+
+ /**
+ * Gets the value of the layouts property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the layouts
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLayouts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayout2 }
+ *
+ *
+ */
+ public List<DescribeLayout2> getLayouts() {
+ if (layouts == null) {
+ layouts = new ArrayList<DescribeLayout2>();
+ }
+ return this.layouts;
+ }
+
+ /**
+ * Gets the value of the recordTypeMappings property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
recordTypeMappings property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRecordTypeMappings().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link RecordTypeMapping }
+ *
+ *
+ */
+ public List<RecordTypeMapping> getRecordTypeMappings() {
+ if (recordTypeMappings == null) {
+ recordTypeMappings = new ArrayList<RecordTypeMapping>();
+ }
+ return this.recordTypeMappings;
+ }
+
+ /**
+ * Gets the value of the recordTypeSelectorRequired property.
+ *
+ */
+ public boolean isRecordTypeSelectorRequired() {
+ return recordTypeSelectorRequired;
+ }
+
+ /**
+ * Sets the value of the recordTypeSelectorRequired property.
+ *
+ */
+ public void setRecordTypeSelectorRequired(boolean value) {
+ this.recordTypeSelectorRequired = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutRow.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutRow.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutRow.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,168 +1,88 @@
-/**
- * DescribeLayoutRow.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutRow implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeLayoutItem[] layoutItems;
-
- private int numItems;
-
- public DescribeLayoutRow() {
- }
-
- public DescribeLayoutRow(
- com.sforce.soap.partner.DescribeLayoutItem[] layoutItems,
- int numItems) {
- this.layoutItems = layoutItems;
- this.numItems = numItems;
- }
-
-
- /**
- * Gets the layoutItems value for this DescribeLayoutRow.
- *
- * @return layoutItems
- */
- public com.sforce.soap.partner.DescribeLayoutItem[] getLayoutItems() {
- return layoutItems;
- }
-
-
- /**
- * Sets the layoutItems value for this DescribeLayoutRow.
- *
- * @param layoutItems
- */
- public void setLayoutItems(com.sforce.soap.partner.DescribeLayoutItem[] layoutItems)
{
- this.layoutItems = layoutItems;
- }
-
- public com.sforce.soap.partner.DescribeLayoutItem getLayoutItems(int i) {
- return this.layoutItems[i];
- }
-
- public void setLayoutItems(int i, com.sforce.soap.partner.DescribeLayoutItem _value)
{
- this.layoutItems[i] = _value;
- }
-
-
- /**
- * Gets the numItems value for this DescribeLayoutRow.
- *
- * @return numItems
- */
- public int getNumItems() {
- return numItems;
- }
-
-
- /**
- * Sets the numItems value for this DescribeLayoutRow.
- *
- * @param numItems
- */
- public void setNumItems(int numItems) {
- this.numItems = numItems;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutRow)) return false;
- DescribeLayoutRow other = (DescribeLayoutRow) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.layoutItems==null && other.getLayoutItems()==null) ||
- (this.layoutItems!=null &&
- java.util.Arrays.equals(this.layoutItems, other.getLayoutItems())))
&&
- this.numItems == other.getNumItems();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getLayoutItems() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getLayoutItems());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getLayoutItems(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += getNumItems();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutRow.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutRow"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layoutItems");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutItems"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutItem"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("numItems");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"numItems"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutRow complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutRow">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="layoutItems"
type="{urn:partner.soap.sforce.com}DescribeLayoutItem"
maxOccurs="unbounded"/>
+ * <element name="numItems"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutRow", propOrder = {
+ "layoutItems",
+ "numItems"
+})
+public class DescribeLayoutRow {
+
+ @XmlElement(required = true)
+ protected List<DescribeLayoutItem> layoutItems;
+ protected int numItems;
+
+ /**
+ * Gets the value of the layoutItems property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the layoutItems
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLayoutItems().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayoutItem }
+ *
+ *
+ */
+ public List<DescribeLayoutItem> getLayoutItems() {
+ if (layoutItems == null) {
+ layoutItems = new ArrayList<DescribeLayoutItem>();
+ }
+ return this.layoutItems;
+ }
+
+ /**
+ * Gets the value of the numItems property.
+ *
+ */
+ public int getNumItems() {
+ return numItems;
+ }
+
+ /**
+ * Sets the value of the numItems property.
+ *
+ */
+ public void setNumItems(int value) {
+ this.numItems = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutSection.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutSection.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutSection.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,300 +1,173 @@
-/**
- * DescribeLayoutSection.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutSection implements java.io.Serializable {
- private int columns;
-
- private java.lang.String heading;
-
- private com.sforce.soap.partner.DescribeLayoutRow[] layoutRows;
-
- private int rows;
-
- private boolean useCollapsibleSection;
-
- private boolean useHeading;
-
- public DescribeLayoutSection() {
- }
-
- public DescribeLayoutSection(
- int columns,
- java.lang.String heading,
- com.sforce.soap.partner.DescribeLayoutRow[] layoutRows,
- int rows,
- boolean useCollapsibleSection,
- boolean useHeading) {
- this.columns = columns;
- this.heading = heading;
- this.layoutRows = layoutRows;
- this.rows = rows;
- this.useCollapsibleSection = useCollapsibleSection;
- this.useHeading = useHeading;
- }
-
-
- /**
- * Gets the columns value for this DescribeLayoutSection.
- *
- * @return columns
- */
- public int getColumns() {
- return columns;
- }
-
-
- /**
- * Sets the columns value for this DescribeLayoutSection.
- *
- * @param columns
- */
- public void setColumns(int columns) {
- this.columns = columns;
- }
-
-
- /**
- * Gets the heading value for this DescribeLayoutSection.
- *
- * @return heading
- */
- public java.lang.String getHeading() {
- return heading;
- }
-
-
- /**
- * Sets the heading value for this DescribeLayoutSection.
- *
- * @param heading
- */
- public void setHeading(java.lang.String heading) {
- this.heading = heading;
- }
-
-
- /**
- * Gets the layoutRows value for this DescribeLayoutSection.
- *
- * @return layoutRows
- */
- public com.sforce.soap.partner.DescribeLayoutRow[] getLayoutRows() {
- return layoutRows;
- }
-
-
- /**
- * Sets the layoutRows value for this DescribeLayoutSection.
- *
- * @param layoutRows
- */
- public void setLayoutRows(com.sforce.soap.partner.DescribeLayoutRow[] layoutRows) {
- this.layoutRows = layoutRows;
- }
-
- public com.sforce.soap.partner.DescribeLayoutRow getLayoutRows(int i) {
- return this.layoutRows[i];
- }
-
- public void setLayoutRows(int i, com.sforce.soap.partner.DescribeLayoutRow _value) {
- this.layoutRows[i] = _value;
- }
-
-
- /**
- * Gets the rows value for this DescribeLayoutSection.
- *
- * @return rows
- */
- public int getRows() {
- return rows;
- }
-
-
- /**
- * Sets the rows value for this DescribeLayoutSection.
- *
- * @param rows
- */
- public void setRows(int rows) {
- this.rows = rows;
- }
-
-
- /**
- * Gets the useCollapsibleSection value for this DescribeLayoutSection.
- *
- * @return useCollapsibleSection
- */
- public boolean isUseCollapsibleSection() {
- return useCollapsibleSection;
- }
-
-
- /**
- * Sets the useCollapsibleSection value for this DescribeLayoutSection.
- *
- * @param useCollapsibleSection
- */
- public void setUseCollapsibleSection(boolean useCollapsibleSection) {
- this.useCollapsibleSection = useCollapsibleSection;
- }
-
-
- /**
- * Gets the useHeading value for this DescribeLayoutSection.
- *
- * @return useHeading
- */
- public boolean isUseHeading() {
- return useHeading;
- }
-
-
- /**
- * Sets the useHeading value for this DescribeLayoutSection.
- *
- * @param useHeading
- */
- public void setUseHeading(boolean useHeading) {
- this.useHeading = useHeading;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutSection)) return false;
- DescribeLayoutSection other = (DescribeLayoutSection) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.columns == other.getColumns() &&
- ((this.heading==null && other.getHeading()==null) ||
- (this.heading!=null &&
- this.heading.equals(other.getHeading()))) &&
- ((this.layoutRows==null && other.getLayoutRows()==null) ||
- (this.layoutRows!=null &&
- java.util.Arrays.equals(this.layoutRows, other.getLayoutRows())))
&&
- this.rows == other.getRows() &&
- this.useCollapsibleSection == other.isUseCollapsibleSection() &&
- this.useHeading == other.isUseHeading();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += getColumns();
- if (getHeading() != null) {
- _hashCode += getHeading().hashCode();
- }
- if (getLayoutRows() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getLayoutRows());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getLayoutRows(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += getRows();
- _hashCode += (isUseCollapsibleSection() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- _hashCode += (isUseHeading() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutSection.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutSection"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("columns");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "columns"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("heading");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "heading"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layoutRows");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutRows"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutRow"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("rows");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "rows"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("useCollapsibleSection");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"useCollapsibleSection"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("useHeading");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"useHeading"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeLayoutSection complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeLayoutSection">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="columns"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="heading"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="layoutRows"
type="{urn:partner.soap.sforce.com}DescribeLayoutRow"
maxOccurs="unbounded"/>
+ * <element name="rows"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="useCollapsibleSection"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="useHeading"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeLayoutSection", propOrder = {
+ "columns",
+ "heading",
+ "layoutRows",
+ "rows",
+ "useCollapsibleSection",
+ "useHeading"
+})
+public class DescribeLayoutSection {
+
+ protected int columns;
+ @XmlElement(required = true)
+ protected String heading;
+ @XmlElement(required = true)
+ protected List<DescribeLayoutRow> layoutRows;
+ protected int rows;
+ protected boolean useCollapsibleSection;
+ protected boolean useHeading;
+
+ /**
+ * Gets the value of the columns property.
+ *
+ */
+ public int getColumns() {
+ return columns;
+ }
+
+ /**
+ * Sets the value of the columns property.
+ *
+ */
+ public void setColumns(int value) {
+ this.columns = value;
+ }
+
+ /**
+ * Gets the value of the heading property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHeading() {
+ return heading;
+ }
+
+ /**
+ * Sets the value of the heading property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHeading(String value) {
+ this.heading = value;
+ }
+
+ /**
+ * Gets the value of the layoutRows property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the layoutRows
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLayoutRows().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeLayoutRow }
+ *
+ *
+ */
+ public List<DescribeLayoutRow> getLayoutRows() {
+ if (layoutRows == null) {
+ layoutRows = new ArrayList<DescribeLayoutRow>();
+ }
+ return this.layoutRows;
+ }
+
+ /**
+ * Gets the value of the rows property.
+ *
+ */
+ public int getRows() {
+ return rows;
+ }
+
+ /**
+ * Sets the value of the rows property.
+ *
+ */
+ public void setRows(int value) {
+ this.rows = value;
+ }
+
+ /**
+ * Gets the value of the useCollapsibleSection property.
+ *
+ */
+ public boolean isUseCollapsibleSection() {
+ return useCollapsibleSection;
+ }
+
+ /**
+ * Sets the value of the useCollapsibleSection property.
+ *
+ */
+ public void setUseCollapsibleSection(boolean value) {
+ this.useCollapsibleSection = value;
+ }
+
+ /**
+ * Gets the value of the useHeading property.
+ *
+ */
+ public boolean isUseHeading() {
+ return useHeading;
+ }
+
+ /**
+ * Sets the value of the useHeading property.
+ *
+ */
+ public void setUseHeading(boolean value) {
+ this.useHeading = value;
+ }
+
+}
Deleted:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutType0.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutType0.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeLayoutType0.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,173 +0,0 @@
-/**
- * DescribeLayoutType0.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeLayoutType0 implements java.io.Serializable {
- private java.lang.String sObjectType;
-
- private java.lang.String[] recordTypeIds;
-
- public DescribeLayoutType0() {
- }
-
- public DescribeLayoutType0(
- java.lang.String sObjectType,
- java.lang.String[] recordTypeIds) {
- this.sObjectType = sObjectType;
- this.recordTypeIds = recordTypeIds;
- }
-
-
- /**
- * Gets the sObjectType value for this DescribeLayoutType0.
- *
- * @return sObjectType
- */
- public java.lang.String getSObjectType() {
- return sObjectType;
- }
-
-
- /**
- * Sets the sObjectType value for this DescribeLayoutType0.
- *
- * @param sObjectType
- */
- public void setSObjectType(java.lang.String sObjectType) {
- this.sObjectType = sObjectType;
- }
-
-
- /**
- * Gets the recordTypeIds value for this DescribeLayoutType0.
- *
- * @return recordTypeIds
- */
- public java.lang.String[] getRecordTypeIds() {
- return recordTypeIds;
- }
-
-
- /**
- * Sets the recordTypeIds value for this DescribeLayoutType0.
- *
- * @param recordTypeIds
- */
- public void setRecordTypeIds(java.lang.String[] recordTypeIds) {
- this.recordTypeIds = recordTypeIds;
- }
-
- public java.lang.String getRecordTypeIds(int i) {
- return this.recordTypeIds[i];
- }
-
- public void setRecordTypeIds(int i, java.lang.String _value) {
- this.recordTypeIds[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeLayoutType0)) return false;
- DescribeLayoutType0 other = (DescribeLayoutType0) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.sObjectType==null && other.getSObjectType()==null) ||
- (this.sObjectType!=null &&
- this.sObjectType.equals(other.getSObjectType()))) &&
- ((this.recordTypeIds==null && other.getRecordTypeIds()==null) ||
- (this.recordTypeIds!=null &&
- java.util.Arrays.equals(this.recordTypeIds, other.getRecordTypeIds())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSObjectType() != null) {
- _hashCode += getSObjectType().hashCode();
- }
- if (getRecordTypeIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getRecordTypeIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getRecordTypeIds(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeLayoutType0.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeLayout"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("SObjectType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordTypeIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObject.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObject.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObject.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DescribeSObject.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSObject implements java.io.Serializable {
- private java.lang.String sObjectType;
-
- public DescribeSObject() {
- }
-
- public DescribeSObject(
- java.lang.String sObjectType) {
- this.sObjectType = sObjectType;
- }
-
-
- /**
- * Gets the sObjectType value for this DescribeSObject.
- *
- * @return sObjectType
- */
- public java.lang.String getSObjectType() {
- return sObjectType;
- }
-
-
- /**
- * Sets the sObjectType value for this DescribeSObject.
- *
- * @param sObjectType
- */
- public void setSObjectType(java.lang.String sObjectType) {
- this.sObjectType = sObjectType;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSObject)) return false;
- DescribeSObject other = (DescribeSObject) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.sObjectType==null && other.getSObjectType()==null) ||
- (this.sObjectType!=null &&
- this.sObjectType.equals(other.getSObjectType())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSObjectType() != null) {
- _hashCode += getSObjectType().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSObject.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSObject"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("SObjectType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjectType"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjectType"
+})
+@XmlRootElement(name = "describeSObject")
+public class DescribeSObject {
+
+ @XmlElement(required = true)
+ protected String sObjectType;
+
+ /**
+ * Gets the value of the sObjectType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSObjectType() {
+ return sObjectType;
+ }
+
+ /**
+ * Sets the value of the sObjectType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSObjectType(String value) {
+ this.sObjectType = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DescribeSObjectResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSObjectResponse implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeSObjectResult result;
-
- public DescribeSObjectResponse() {
- }
-
- public DescribeSObjectResponse(
- com.sforce.soap.partner.DescribeSObjectResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this DescribeSObjectResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.DescribeSObjectResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this DescribeSObjectResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.DescribeSObjectResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSObjectResponse)) return false;
- DescribeSObjectResponse other = (DescribeSObjectResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSObjectResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSObjectResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSObjectResult"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DescribeSObjectResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "describeSObjectResponse")
+public class DescribeSObjectResponse {
+
+ @XmlElement(required = true, nillable = true)
+ protected DescribeSObjectResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link DescribeSObjectResult }
+ *
+ */
+ public DescribeSObjectResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DescribeSObjectResult }
+ *
+ */
+ public void setResult(DescribeSObjectResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,982 +1,622 @@
-/**
- * DescribeSObjectResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class DescribeSObjectResult implements java.io.Serializable {
- private boolean activateable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private com.sforce.soap.partner.ChildRelationship[] childRelationships;
- private boolean createable;
+/**
+ * <p>Java class for DescribeSObjectResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeSObjectResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="activateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="childRelationships"
type="{urn:partner.soap.sforce.com}ChildRelationship"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="createable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="custom"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="customSetting"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="deletable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="deprecatedAndHidden"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="fields"
type="{urn:partner.soap.sforce.com}Field" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="keyPrefix"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="labelPlural"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="layoutable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="mergeable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="queryable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="recordTypeInfos"
type="{urn:partner.soap.sforce.com}RecordTypeInfo"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="replicateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="retrieveable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="searchable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="triggerable"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="undeletable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="updateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="urlDetail"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="urlEdit"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="urlNew"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeSObjectResult", propOrder = {
+ "activateable",
+ "childRelationships",
+ "createable",
+ "custom",
+ "customSetting",
+ "deletable",
+ "deprecatedAndHidden",
+ "fields",
+ "keyPrefix",
+ "label",
+ "labelPlural",
+ "layoutable",
+ "mergeable",
+ "name",
+ "queryable",
+ "recordTypeInfos",
+ "replicateable",
+ "retrieveable",
+ "searchable",
+ "triggerable",
+ "undeletable",
+ "updateable",
+ "urlDetail",
+ "urlEdit",
+ "urlNew"
+})
+public class DescribeSObjectResult {
- private boolean custom;
+ protected boolean activateable;
+ protected List<ChildRelationship> childRelationships;
+ protected boolean createable;
+ protected boolean custom;
+ protected boolean customSetting;
+ protected boolean deletable;
+ protected boolean deprecatedAndHidden;
+ @XmlElement(nillable = true)
+ protected List<Field> fields;
+ @XmlElement(required = true, nillable = true)
+ protected String keyPrefix;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String labelPlural;
+ protected boolean layoutable;
+ protected boolean mergeable;
+ @XmlElement(required = true)
+ protected String name;
+ protected boolean queryable;
+ protected List<RecordTypeInfo> recordTypeInfos;
+ protected boolean replicateable;
+ protected boolean retrieveable;
+ protected boolean searchable;
+ protected Boolean triggerable;
+ protected boolean undeletable;
+ protected boolean updateable;
+ @XmlElement(required = true, nillable = true)
+ protected String urlDetail;
+ @XmlElement(required = true, nillable = true)
+ protected String urlEdit;
+ @XmlElement(required = true, nillable = true)
+ protected String urlNew;
- private boolean customSetting;
-
- private boolean deletable;
-
- private boolean deprecatedAndHidden;
-
- private com.sforce.soap.partner.Field[] fields;
-
- private java.lang.String keyPrefix;
-
- private java.lang.String label;
-
- private java.lang.String labelPlural;
-
- private boolean layoutable;
-
- private boolean mergeable;
-
- private java.lang.String name;
-
- private boolean queryable;
-
- private com.sforce.soap.partner.RecordTypeInfo[] recordTypeInfos;
-
- private boolean replicateable;
-
- private boolean retrieveable;
-
- private boolean searchable;
-
- private java.lang.Boolean triggerable;
-
- private boolean undeletable;
-
- private boolean updateable;
-
- private java.lang.String urlDetail;
-
- private java.lang.String urlEdit;
-
- private java.lang.String urlNew;
-
- public DescribeSObjectResult() {
- }
-
- public DescribeSObjectResult(
- boolean activateable,
- com.sforce.soap.partner.ChildRelationship[] childRelationships,
- boolean createable,
- boolean custom,
- boolean customSetting,
- boolean deletable,
- boolean deprecatedAndHidden,
- com.sforce.soap.partner.Field[] fields,
- java.lang.String keyPrefix,
- java.lang.String label,
- java.lang.String labelPlural,
- boolean layoutable,
- boolean mergeable,
- java.lang.String name,
- boolean queryable,
- com.sforce.soap.partner.RecordTypeInfo[] recordTypeInfos,
- boolean replicateable,
- boolean retrieveable,
- boolean searchable,
- java.lang.Boolean triggerable,
- boolean undeletable,
- boolean updateable,
- java.lang.String urlDetail,
- java.lang.String urlEdit,
- java.lang.String urlNew) {
- this.activateable = activateable;
- this.childRelationships = childRelationships;
- this.createable = createable;
- this.custom = custom;
- this.customSetting = customSetting;
- this.deletable = deletable;
- this.deprecatedAndHidden = deprecatedAndHidden;
- this.fields = fields;
- this.keyPrefix = keyPrefix;
- this.label = label;
- this.labelPlural = labelPlural;
- this.layoutable = layoutable;
- this.mergeable = mergeable;
- this.name = name;
- this.queryable = queryable;
- this.recordTypeInfos = recordTypeInfos;
- this.replicateable = replicateable;
- this.retrieveable = retrieveable;
- this.searchable = searchable;
- this.triggerable = triggerable;
- this.undeletable = undeletable;
- this.updateable = updateable;
- this.urlDetail = urlDetail;
- this.urlEdit = urlEdit;
- this.urlNew = urlNew;
- }
-
-
/**
- * Gets the activateable value for this DescribeSObjectResult.
+ * Gets the value of the activateable property.
*
- * @return activateable
*/
public boolean isActivateable() {
return activateable;
}
-
/**
- * Sets the activateable value for this DescribeSObjectResult.
+ * Sets the value of the activateable property.
*
- * @param activateable
*/
- public void setActivateable(boolean activateable) {
- this.activateable = activateable;
+ public void setActivateable(boolean value) {
+ this.activateable = value;
}
-
/**
- * Gets the childRelationships value for this DescribeSObjectResult.
+ * Gets the value of the childRelationships property.
*
- * @return childRelationships
- */
- public com.sforce.soap.partner.ChildRelationship[] getChildRelationships() {
- return childRelationships;
- }
-
-
- /**
- * Sets the childRelationships value for this DescribeSObjectResult.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
childRelationships property.
*
- * @param childRelationships
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getChildRelationships().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ChildRelationship }
+ *
+ *
*/
- public void setChildRelationships(com.sforce.soap.partner.ChildRelationship[]
childRelationships) {
- this.childRelationships = childRelationships;
+ public List<ChildRelationship> getChildRelationships() {
+ if (childRelationships == null) {
+ childRelationships = new ArrayList<ChildRelationship>();
+ }
+ return this.childRelationships;
}
- public com.sforce.soap.partner.ChildRelationship getChildRelationships(int i) {
- return this.childRelationships[i];
- }
-
- public void setChildRelationships(int i, com.sforce.soap.partner.ChildRelationship
_value) {
- this.childRelationships[i] = _value;
- }
-
-
/**
- * Gets the createable value for this DescribeSObjectResult.
+ * Gets the value of the createable property.
*
- * @return createable
*/
public boolean isCreateable() {
return createable;
}
-
/**
- * Sets the createable value for this DescribeSObjectResult.
+ * Sets the value of the createable property.
*
- * @param createable
*/
- public void setCreateable(boolean createable) {
- this.createable = createable;
+ public void setCreateable(boolean value) {
+ this.createable = value;
}
-
/**
- * Gets the custom value for this DescribeSObjectResult.
+ * Gets the value of the custom property.
*
- * @return custom
*/
public boolean isCustom() {
return custom;
}
-
/**
- * Sets the custom value for this DescribeSObjectResult.
+ * Sets the value of the custom property.
*
- * @param custom
*/
- public void setCustom(boolean custom) {
- this.custom = custom;
+ public void setCustom(boolean value) {
+ this.custom = value;
}
-
/**
- * Gets the customSetting value for this DescribeSObjectResult.
+ * Gets the value of the customSetting property.
*
- * @return customSetting
*/
public boolean isCustomSetting() {
return customSetting;
}
-
/**
- * Sets the customSetting value for this DescribeSObjectResult.
+ * Sets the value of the customSetting property.
*
- * @param customSetting
*/
- public void setCustomSetting(boolean customSetting) {
- this.customSetting = customSetting;
+ public void setCustomSetting(boolean value) {
+ this.customSetting = value;
}
-
/**
- * Gets the deletable value for this DescribeSObjectResult.
+ * Gets the value of the deletable property.
*
- * @return deletable
*/
public boolean isDeletable() {
return deletable;
}
-
/**
- * Sets the deletable value for this DescribeSObjectResult.
+ * Sets the value of the deletable property.
*
- * @param deletable
*/
- public void setDeletable(boolean deletable) {
- this.deletable = deletable;
+ public void setDeletable(boolean value) {
+ this.deletable = value;
}
-
/**
- * Gets the deprecatedAndHidden value for this DescribeSObjectResult.
+ * Gets the value of the deprecatedAndHidden property.
*
- * @return deprecatedAndHidden
*/
public boolean isDeprecatedAndHidden() {
return deprecatedAndHidden;
}
-
/**
- * Sets the deprecatedAndHidden value for this DescribeSObjectResult.
+ * Sets the value of the deprecatedAndHidden property.
*
- * @param deprecatedAndHidden
*/
- public void setDeprecatedAndHidden(boolean deprecatedAndHidden) {
- this.deprecatedAndHidden = deprecatedAndHidden;
+ public void setDeprecatedAndHidden(boolean value) {
+ this.deprecatedAndHidden = value;
}
-
/**
- * Gets the fields value for this DescribeSObjectResult.
+ * Gets the value of the fields property.
*
- * @return fields
- */
- public com.sforce.soap.partner.Field[] getFields() {
- return fields;
- }
-
-
- /**
- * Sets the fields value for this DescribeSObjectResult.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the fields
property.
*
- * @param fields
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFields().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Field }
+ *
+ *
*/
- public void setFields(com.sforce.soap.partner.Field[] fields) {
- this.fields = fields;
+ public List<Field> getFields() {
+ if (fields == null) {
+ fields = new ArrayList<Field>();
+ }
+ return this.fields;
}
- public com.sforce.soap.partner.Field getFields(int i) {
- return this.fields[i];
- }
-
- public void setFields(int i, com.sforce.soap.partner.Field _value) {
- this.fields[i] = _value;
- }
-
-
/**
- * Gets the keyPrefix value for this DescribeSObjectResult.
+ * Gets the value of the keyPrefix property.
*
- * @return keyPrefix
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getKeyPrefix() {
+ public String getKeyPrefix() {
return keyPrefix;
}
-
/**
- * Sets the keyPrefix value for this DescribeSObjectResult.
+ * Sets the value of the keyPrefix property.
*
- * @param keyPrefix
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setKeyPrefix(java.lang.String keyPrefix) {
- this.keyPrefix = keyPrefix;
+ public void setKeyPrefix(String value) {
+ this.keyPrefix = value;
}
-
/**
- * Gets the label value for this DescribeSObjectResult.
+ * Gets the value of the label property.
*
- * @return label
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getLabel() {
+ public String getLabel() {
return label;
}
-
/**
- * Sets the label value for this DescribeSObjectResult.
+ * Sets the value of the label property.
*
- * @param label
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setLabel(java.lang.String label) {
- this.label = label;
+ public void setLabel(String value) {
+ this.label = value;
}
-
/**
- * Gets the labelPlural value for this DescribeSObjectResult.
+ * Gets the value of the labelPlural property.
*
- * @return labelPlural
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getLabelPlural() {
+ public String getLabelPlural() {
return labelPlural;
}
-
/**
- * Sets the labelPlural value for this DescribeSObjectResult.
+ * Sets the value of the labelPlural property.
*
- * @param labelPlural
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setLabelPlural(java.lang.String labelPlural) {
- this.labelPlural = labelPlural;
+ public void setLabelPlural(String value) {
+ this.labelPlural = value;
}
-
/**
- * Gets the layoutable value for this DescribeSObjectResult.
+ * Gets the value of the layoutable property.
*
- * @return layoutable
*/
public boolean isLayoutable() {
return layoutable;
}
-
/**
- * Sets the layoutable value for this DescribeSObjectResult.
+ * Sets the value of the layoutable property.
*
- * @param layoutable
*/
- public void setLayoutable(boolean layoutable) {
- this.layoutable = layoutable;
+ public void setLayoutable(boolean value) {
+ this.layoutable = value;
}
-
/**
- * Gets the mergeable value for this DescribeSObjectResult.
+ * Gets the value of the mergeable property.
*
- * @return mergeable
*/
public boolean isMergeable() {
return mergeable;
}
-
/**
- * Sets the mergeable value for this DescribeSObjectResult.
+ * Sets the value of the mergeable property.
*
- * @param mergeable
*/
- public void setMergeable(boolean mergeable) {
- this.mergeable = mergeable;
+ public void setMergeable(boolean value) {
+ this.mergeable = value;
}
-
/**
- * Gets the name value for this DescribeSObjectResult.
+ * Gets the value of the name property.
*
- * @return name
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getName() {
+ public String getName() {
return name;
}
-
/**
- * Sets the name value for this DescribeSObjectResult.
+ * Sets the value of the name property.
*
- * @param name
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setName(java.lang.String name) {
- this.name = name;
+ public void setName(String value) {
+ this.name = value;
}
-
/**
- * Gets the queryable value for this DescribeSObjectResult.
+ * Gets the value of the queryable property.
*
- * @return queryable
*/
public boolean isQueryable() {
return queryable;
}
-
/**
- * Sets the queryable value for this DescribeSObjectResult.
+ * Sets the value of the queryable property.
*
- * @param queryable
*/
- public void setQueryable(boolean queryable) {
- this.queryable = queryable;
+ public void setQueryable(boolean value) {
+ this.queryable = value;
}
-
/**
- * Gets the recordTypeInfos value for this DescribeSObjectResult.
+ * Gets the value of the recordTypeInfos property.
*
- * @return recordTypeInfos
- */
- public com.sforce.soap.partner.RecordTypeInfo[] getRecordTypeInfos() {
- return recordTypeInfos;
- }
-
-
- /**
- * Sets the recordTypeInfos value for this DescribeSObjectResult.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
recordTypeInfos property.
*
- * @param recordTypeInfos
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRecordTypeInfos().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link RecordTypeInfo }
+ *
+ *
*/
- public void setRecordTypeInfos(com.sforce.soap.partner.RecordTypeInfo[]
recordTypeInfos) {
- this.recordTypeInfos = recordTypeInfos;
+ public List<RecordTypeInfo> getRecordTypeInfos() {
+ if (recordTypeInfos == null) {
+ recordTypeInfos = new ArrayList<RecordTypeInfo>();
+ }
+ return this.recordTypeInfos;
}
- public com.sforce.soap.partner.RecordTypeInfo getRecordTypeInfos(int i) {
- return this.recordTypeInfos[i];
- }
-
- public void setRecordTypeInfos(int i, com.sforce.soap.partner.RecordTypeInfo _value)
{
- this.recordTypeInfos[i] = _value;
- }
-
-
/**
- * Gets the replicateable value for this DescribeSObjectResult.
+ * Gets the value of the replicateable property.
*
- * @return replicateable
*/
public boolean isReplicateable() {
return replicateable;
}
-
/**
- * Sets the replicateable value for this DescribeSObjectResult.
+ * Sets the value of the replicateable property.
*
- * @param replicateable
*/
- public void setReplicateable(boolean replicateable) {
- this.replicateable = replicateable;
+ public void setReplicateable(boolean value) {
+ this.replicateable = value;
}
-
/**
- * Gets the retrieveable value for this DescribeSObjectResult.
+ * Gets the value of the retrieveable property.
*
- * @return retrieveable
*/
public boolean isRetrieveable() {
return retrieveable;
}
-
/**
- * Sets the retrieveable value for this DescribeSObjectResult.
+ * Sets the value of the retrieveable property.
*
- * @param retrieveable
*/
- public void setRetrieveable(boolean retrieveable) {
- this.retrieveable = retrieveable;
+ public void setRetrieveable(boolean value) {
+ this.retrieveable = value;
}
-
/**
- * Gets the searchable value for this DescribeSObjectResult.
+ * Gets the value of the searchable property.
*
- * @return searchable
*/
public boolean isSearchable() {
return searchable;
}
-
/**
- * Sets the searchable value for this DescribeSObjectResult.
+ * Sets the value of the searchable property.
*
- * @param searchable
*/
- public void setSearchable(boolean searchable) {
- this.searchable = searchable;
+ public void setSearchable(boolean value) {
+ this.searchable = value;
}
-
/**
- * Gets the triggerable value for this DescribeSObjectResult.
+ * Gets the value of the triggerable property.
*
- * @return triggerable
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getTriggerable() {
+ public Boolean isTriggerable() {
return triggerable;
}
-
/**
- * Sets the triggerable value for this DescribeSObjectResult.
+ * Sets the value of the triggerable property.
*
- * @param triggerable
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setTriggerable(java.lang.Boolean triggerable) {
- this.triggerable = triggerable;
+ public void setTriggerable(Boolean value) {
+ this.triggerable = value;
}
-
/**
- * Gets the undeletable value for this DescribeSObjectResult.
+ * Gets the value of the undeletable property.
*
- * @return undeletable
*/
public boolean isUndeletable() {
return undeletable;
}
-
/**
- * Sets the undeletable value for this DescribeSObjectResult.
+ * Sets the value of the undeletable property.
*
- * @param undeletable
*/
- public void setUndeletable(boolean undeletable) {
- this.undeletable = undeletable;
+ public void setUndeletable(boolean value) {
+ this.undeletable = value;
}
-
/**
- * Gets the updateable value for this DescribeSObjectResult.
+ * Gets the value of the updateable property.
*
- * @return updateable
*/
public boolean isUpdateable() {
return updateable;
}
-
/**
- * Sets the updateable value for this DescribeSObjectResult.
+ * Sets the value of the updateable property.
*
- * @param updateable
*/
- public void setUpdateable(boolean updateable) {
- this.updateable = updateable;
+ public void setUpdateable(boolean value) {
+ this.updateable = value;
}
-
/**
- * Gets the urlDetail value for this DescribeSObjectResult.
+ * Gets the value of the urlDetail property.
*
- * @return urlDetail
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUrlDetail() {
+ public String getUrlDetail() {
return urlDetail;
}
-
/**
- * Sets the urlDetail value for this DescribeSObjectResult.
+ * Sets the value of the urlDetail property.
*
- * @param urlDetail
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUrlDetail(java.lang.String urlDetail) {
- this.urlDetail = urlDetail;
+ public void setUrlDetail(String value) {
+ this.urlDetail = value;
}
-
/**
- * Gets the urlEdit value for this DescribeSObjectResult.
+ * Gets the value of the urlEdit property.
*
- * @return urlEdit
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUrlEdit() {
+ public String getUrlEdit() {
return urlEdit;
}
-
/**
- * Sets the urlEdit value for this DescribeSObjectResult.
+ * Sets the value of the urlEdit property.
*
- * @param urlEdit
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUrlEdit(java.lang.String urlEdit) {
- this.urlEdit = urlEdit;
+ public void setUrlEdit(String value) {
+ this.urlEdit = value;
}
-
/**
- * Gets the urlNew value for this DescribeSObjectResult.
+ * Gets the value of the urlNew property.
*
- * @return urlNew
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUrlNew() {
+ public String getUrlNew() {
return urlNew;
}
-
/**
- * Sets the urlNew value for this DescribeSObjectResult.
+ * Sets the value of the urlNew property.
*
- * @param urlNew
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUrlNew(java.lang.String urlNew) {
- this.urlNew = urlNew;
+ public void setUrlNew(String value) {
+ this.urlNew = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSObjectResult)) return false;
- DescribeSObjectResult other = (DescribeSObjectResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.activateable == other.isActivateable() &&
- ((this.childRelationships==null &&
other.getChildRelationships()==null) ||
- (this.childRelationships!=null &&
- java.util.Arrays.equals(this.childRelationships,
other.getChildRelationships()))) &&
- this.createable == other.isCreateable() &&
- this.custom == other.isCustom() &&
- this.customSetting == other.isCustomSetting() &&
- this.deletable == other.isDeletable() &&
- this.deprecatedAndHidden == other.isDeprecatedAndHidden() &&
- ((this.fields==null && other.getFields()==null) ||
- (this.fields!=null &&
- java.util.Arrays.equals(this.fields, other.getFields()))) &&
- ((this.keyPrefix==null && other.getKeyPrefix()==null) ||
- (this.keyPrefix!=null &&
- this.keyPrefix.equals(other.getKeyPrefix()))) &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.labelPlural==null && other.getLabelPlural()==null) ||
- (this.labelPlural!=null &&
- this.labelPlural.equals(other.getLabelPlural()))) &&
- this.layoutable == other.isLayoutable() &&
- this.mergeable == other.isMergeable() &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- this.queryable == other.isQueryable() &&
- ((this.recordTypeInfos==null && other.getRecordTypeInfos()==null) ||
- (this.recordTypeInfos!=null &&
- java.util.Arrays.equals(this.recordTypeInfos, other.getRecordTypeInfos())))
&&
- this.replicateable == other.isReplicateable() &&
- this.retrieveable == other.isRetrieveable() &&
- this.searchable == other.isSearchable() &&
- ((this.triggerable==null && other.getTriggerable()==null) ||
- (this.triggerable!=null &&
- this.triggerable.equals(other.getTriggerable()))) &&
- this.undeletable == other.isUndeletable() &&
- this.updateable == other.isUpdateable() &&
- ((this.urlDetail==null && other.getUrlDetail()==null) ||
- (this.urlDetail!=null &&
- this.urlDetail.equals(other.getUrlDetail()))) &&
- ((this.urlEdit==null && other.getUrlEdit()==null) ||
- (this.urlEdit!=null &&
- this.urlEdit.equals(other.getUrlEdit()))) &&
- ((this.urlNew==null && other.getUrlNew()==null) ||
- (this.urlNew!=null &&
- this.urlNew.equals(other.getUrlNew())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isActivateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getChildRelationships() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getChildRelationships());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getChildRelationships(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isCreateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isCustomSetting() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDeletable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDeprecatedAndHidden() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getFields() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getFields());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getFields(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getKeyPrefix() != null) {
- _hashCode += getKeyPrefix().hashCode();
- }
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getLabelPlural() != null) {
- _hashCode += getLabelPlural().hashCode();
- }
- _hashCode += (isLayoutable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isMergeable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- _hashCode += (isQueryable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getRecordTypeInfos() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getRecordTypeInfos());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getRecordTypeInfos(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isReplicateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isRetrieveable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isSearchable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getTriggerable() != null) {
- _hashCode += getTriggerable().hashCode();
- }
- _hashCode += (isUndeletable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isUpdateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getUrlDetail() != null) {
- _hashCode += getUrlDetail().hashCode();
- }
- if (getUrlEdit() != null) {
- _hashCode += getUrlEdit().hashCode();
- }
- if (getUrlNew() != null) {
- _hashCode += getUrlNew().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSObjectResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSObjectResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("activateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"activateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("childRelationships");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"childRelationships"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ChildRelationship"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("createable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"createable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("custom");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "custom"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("customSetting");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"customSetting"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deletable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deletable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deprecatedAndHidden");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deprecatedAndHidden"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fields");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "fields"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Field"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("keyPrefix");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"keyPrefix"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("labelPlural");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"labelPlural"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layoutable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("mergeable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"mergeable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("queryable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordTypeInfos");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeInfos"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RecordTypeInfo"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("replicateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"replicateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("retrieveable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"retrieveable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("searchable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"searchable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("triggerable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"triggerable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("undeletable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"undeletable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("updateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"updateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("urlDetail");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"urlDetail"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("urlEdit");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "urlEdit"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("urlNew");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "urlNew"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjects.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjects.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjects.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjectType"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="100"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjectType"
+})
+@XmlRootElement(name = "describeSObjects")
+public class DescribeSObjects {
+
+ protected List<String> sObjectType;
+
+ /**
+ * Gets the value of the sObjectType property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sObjectType
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSObjectType().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getSObjectType() {
+ if (sObjectType == null) {
+ sObjectType = new ArrayList<String>();
+ }
+ return this.sObjectType;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjects.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectsResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectsResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectsResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,71 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DescribeSObjectResult"
maxOccurs="100" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "describeSObjectsResponse")
+public class DescribeSObjectsResponse {
+
+ @XmlElement(nillable = true)
+ protected List<DescribeSObjectResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeSObjectResult }
+ *
+ *
+ */
+ public List<DescribeSObjectResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<DescribeSObjectResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSObjectsResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayout.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayout.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayout.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,34 @@
-/**
- * DescribeSoftphoneLayout.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayout implements java.io.Serializable {
- public DescribeSoftphoneLayout() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayout)) return false;
- DescribeSoftphoneLayout other = (DescribeSoftphoneLayout) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayout.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSoftphoneLayout"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "describeSoftphoneLayout")
+public class DescribeSoftphoneLayout {
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutCallType.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutCallType.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutCallType.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,226 +1,129 @@
-/**
- * DescribeSoftphoneLayoutCallType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayoutCallType implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField[] infoFields;
-
- private java.lang.String name;
-
- private com.sforce.soap.partner.DescribeSoftphoneLayoutSection[] sections;
-
- public DescribeSoftphoneLayoutCallType() {
- }
-
- public DescribeSoftphoneLayoutCallType(
- com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField[] infoFields,
- java.lang.String name,
- com.sforce.soap.partner.DescribeSoftphoneLayoutSection[] sections) {
- this.infoFields = infoFields;
- this.name = name;
- this.sections = sections;
- }
-
-
- /**
- * Gets the infoFields value for this DescribeSoftphoneLayoutCallType.
- *
- * @return infoFields
- */
- public com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField[] getInfoFields() {
- return infoFields;
- }
-
-
- /**
- * Sets the infoFields value for this DescribeSoftphoneLayoutCallType.
- *
- * @param infoFields
- */
- public void setInfoFields(com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField[]
infoFields) {
- this.infoFields = infoFields;
- }
-
- public com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField getInfoFields(int i)
{
- return this.infoFields[i];
- }
-
- public void setInfoFields(int i,
com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField _value) {
- this.infoFields[i] = _value;
- }
-
-
- /**
- * Gets the name value for this DescribeSoftphoneLayoutCallType.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this DescribeSoftphoneLayoutCallType.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
-
- /**
- * Gets the sections value for this DescribeSoftphoneLayoutCallType.
- *
- * @return sections
- */
- public com.sforce.soap.partner.DescribeSoftphoneLayoutSection[] getSections() {
- return sections;
- }
-
-
- /**
- * Sets the sections value for this DescribeSoftphoneLayoutCallType.
- *
- * @param sections
- */
- public void setSections(com.sforce.soap.partner.DescribeSoftphoneLayoutSection[]
sections) {
- this.sections = sections;
- }
-
- public com.sforce.soap.partner.DescribeSoftphoneLayoutSection getSections(int i) {
- return this.sections[i];
- }
-
- public void setSections(int i, com.sforce.soap.partner.DescribeSoftphoneLayoutSection
_value) {
- this.sections[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayoutCallType)) return false;
- DescribeSoftphoneLayoutCallType other = (DescribeSoftphoneLayoutCallType) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.infoFields==null && other.getInfoFields()==null) ||
- (this.infoFields!=null &&
- java.util.Arrays.equals(this.infoFields, other.getInfoFields())))
&&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- ((this.sections==null && other.getSections()==null) ||
- (this.sections!=null &&
- java.util.Arrays.equals(this.sections, other.getSections())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getInfoFields() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getInfoFields());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getInfoFields(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- if (getSections() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getSections());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getSections(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayoutCallType.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutCallType"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("infoFields");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"infoFields"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutInfoField"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sections");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sections"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutSection"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeSoftphoneLayoutCallType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeSoftphoneLayoutCallType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="infoFields"
type="{urn:partner.soap.sforce.com}DescribeSoftphoneLayoutInfoField"
maxOccurs="unbounded"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sections"
type="{urn:partner.soap.sforce.com}DescribeSoftphoneLayoutSection"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeSoftphoneLayoutCallType", propOrder = {
+ "infoFields",
+ "name",
+ "sections"
+})
+public class DescribeSoftphoneLayoutCallType {
+
+ @XmlElement(required = true)
+ protected List<DescribeSoftphoneLayoutInfoField> infoFields;
+ @XmlElement(required = true)
+ protected String name;
+ protected List<DescribeSoftphoneLayoutSection> sections;
+
+ /**
+ * Gets the value of the infoFields property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the infoFields
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInfoFields().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeSoftphoneLayoutInfoField }
+ *
+ *
+ */
+ public List<DescribeSoftphoneLayoutInfoField> getInfoFields() {
+ if (infoFields == null) {
+ infoFields = new ArrayList<DescribeSoftphoneLayoutInfoField>();
+ }
+ return this.infoFields;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the sections property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sections
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSections().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeSoftphoneLayoutSection }
+ *
+ *
+ */
+ public List<DescribeSoftphoneLayoutSection> getSections() {
+ if (sections == null) {
+ sections = new ArrayList<DescribeSoftphoneLayoutSection>();
+ }
+ return this.sections;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutInfoField.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutInfoField.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutInfoField.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,62 @@
-/**
- * DescribeSoftphoneLayoutInfoField.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayoutInfoField implements java.io.Serializable {
- private java.lang.String name;
-
- public DescribeSoftphoneLayoutInfoField() {
- }
-
- public DescribeSoftphoneLayoutInfoField(
- java.lang.String name) {
- this.name = name;
- }
-
-
- /**
- * Gets the name value for this DescribeSoftphoneLayoutInfoField.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this DescribeSoftphoneLayoutInfoField.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayoutInfoField)) return false;
- DescribeSoftphoneLayoutInfoField other = (DescribeSoftphoneLayoutInfoField) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayoutInfoField.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutInfoField"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeSoftphoneLayoutInfoField complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeSoftphoneLayoutInfoField">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeSoftphoneLayoutInfoField", propOrder = {
+ "name"
+})
+public class DescribeSoftphoneLayoutInfoField {
+
+ @XmlElement(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutItem.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutItem.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutItem.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,62 @@
-/**
- * DescribeSoftphoneLayoutItem.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayoutItem implements java.io.Serializable {
- private java.lang.String itemApiName;
-
- public DescribeSoftphoneLayoutItem() {
- }
-
- public DescribeSoftphoneLayoutItem(
- java.lang.String itemApiName) {
- this.itemApiName = itemApiName;
- }
-
-
- /**
- * Gets the itemApiName value for this DescribeSoftphoneLayoutItem.
- *
- * @return itemApiName
- */
- public java.lang.String getItemApiName() {
- return itemApiName;
- }
-
-
- /**
- * Sets the itemApiName value for this DescribeSoftphoneLayoutItem.
- *
- * @param itemApiName
- */
- public void setItemApiName(java.lang.String itemApiName) {
- this.itemApiName = itemApiName;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayoutItem)) return false;
- DescribeSoftphoneLayoutItem other = (DescribeSoftphoneLayoutItem) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.itemApiName==null && other.getItemApiName()==null) ||
- (this.itemApiName!=null &&
- this.itemApiName.equals(other.getItemApiName())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getItemApiName() != null) {
- _hashCode += getItemApiName().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayoutItem.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutItem"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("itemApiName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"itemApiName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeSoftphoneLayoutItem complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeSoftphoneLayoutItem">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="itemApiName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeSoftphoneLayoutItem", propOrder = {
+ "itemApiName"
+})
+public class DescribeSoftphoneLayoutItem {
+
+ @XmlElement(required = true)
+ protected String itemApiName;
+
+ /**
+ * Gets the value of the itemApiName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getItemApiName() {
+ return itemApiName;
+ }
+
+ /**
+ * Sets the value of the itemApiName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setItemApiName(String value) {
+ this.itemApiName = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * DescribeSoftphoneLayoutResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayoutResponse implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeSoftphoneLayoutResult result;
-
- public DescribeSoftphoneLayoutResponse() {
- }
-
- public DescribeSoftphoneLayoutResponse(
- com.sforce.soap.partner.DescribeSoftphoneLayoutResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this DescribeSoftphoneLayoutResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.DescribeSoftphoneLayoutResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this DescribeSoftphoneLayoutResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.DescribeSoftphoneLayoutResult result)
{
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayoutResponse)) return false;
- DescribeSoftphoneLayoutResponse other = (DescribeSoftphoneLayoutResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayoutResponse.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSoftphoneLayoutResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutResult"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DescribeSoftphoneLayoutResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "describeSoftphoneLayoutResponse")
+public class DescribeSoftphoneLayoutResponse {
+
+ @XmlElement(required = true, nillable = true)
+ protected DescribeSoftphoneLayoutResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link DescribeSoftphoneLayoutResult }
+ *
+ */
+ public DescribeSoftphoneLayoutResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link DescribeSoftphoneLayoutResult }
+ *
+ */
+ public void setResult(DescribeSoftphoneLayoutResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,208 +1,125 @@
-/**
- * DescribeSoftphoneLayoutResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayoutResult implements java.io.Serializable {
- private com.sforce.soap.partner.DescribeSoftphoneLayoutCallType[] callTypes;
-
- private java.lang.String id;
-
- private java.lang.String name;
-
- public DescribeSoftphoneLayoutResult() {
- }
-
- public DescribeSoftphoneLayoutResult(
- com.sforce.soap.partner.DescribeSoftphoneLayoutCallType[] callTypes,
- java.lang.String id,
- java.lang.String name) {
- this.callTypes = callTypes;
- this.id = id;
- this.name = name;
- }
-
-
- /**
- * Gets the callTypes value for this DescribeSoftphoneLayoutResult.
- *
- * @return callTypes
- */
- public com.sforce.soap.partner.DescribeSoftphoneLayoutCallType[] getCallTypes() {
- return callTypes;
- }
-
-
- /**
- * Sets the callTypes value for this DescribeSoftphoneLayoutResult.
- *
- * @param callTypes
- */
- public void setCallTypes(com.sforce.soap.partner.DescribeSoftphoneLayoutCallType[]
callTypes) {
- this.callTypes = callTypes;
- }
-
- public com.sforce.soap.partner.DescribeSoftphoneLayoutCallType getCallTypes(int i) {
- return this.callTypes[i];
- }
-
- public void setCallTypes(int i,
com.sforce.soap.partner.DescribeSoftphoneLayoutCallType _value) {
- this.callTypes[i] = _value;
- }
-
-
- /**
- * Gets the id value for this DescribeSoftphoneLayoutResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this DescribeSoftphoneLayoutResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the name value for this DescribeSoftphoneLayoutResult.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this DescribeSoftphoneLayoutResult.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayoutResult)) return false;
- DescribeSoftphoneLayoutResult other = (DescribeSoftphoneLayoutResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.callTypes==null && other.getCallTypes()==null) ||
- (this.callTypes!=null &&
- java.util.Arrays.equals(this.callTypes, other.getCallTypes()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getCallTypes() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getCallTypes());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getCallTypes(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayoutResult.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("callTypes");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"callTypes"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutCallType"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeSoftphoneLayoutResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeSoftphoneLayoutResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="callTypes"
type="{urn:partner.soap.sforce.com}DescribeSoftphoneLayoutCallType"
maxOccurs="unbounded"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeSoftphoneLayoutResult", propOrder = {
+ "callTypes",
+ "id",
+ "name"
+})
+public class DescribeSoftphoneLayoutResult {
+
+ @XmlElement(required = true)
+ protected List<DescribeSoftphoneLayoutCallType> callTypes;
+ @XmlElement(required = true)
+ protected String id;
+ @XmlElement(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the callTypes property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the callTypes
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCallTypes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeSoftphoneLayoutCallType }
+ *
+ *
+ */
+ public List<DescribeSoftphoneLayoutCallType> getCallTypes() {
+ if (callTypes == null) {
+ callTypes = new ArrayList<DescribeSoftphoneLayoutCallType>();
+ }
+ return this.callTypes;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutSection.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutSection.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeSoftphoneLayoutSection.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,172 +1,97 @@
-/**
- * DescribeSoftphoneLayoutSection.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeSoftphoneLayoutSection implements java.io.Serializable {
- private java.lang.String entityApiName;
-
- private com.sforce.soap.partner.DescribeSoftphoneLayoutItem[] items;
-
- public DescribeSoftphoneLayoutSection() {
- }
-
- public DescribeSoftphoneLayoutSection(
- java.lang.String entityApiName,
- com.sforce.soap.partner.DescribeSoftphoneLayoutItem[] items) {
- this.entityApiName = entityApiName;
- this.items = items;
- }
-
-
- /**
- * Gets the entityApiName value for this DescribeSoftphoneLayoutSection.
- *
- * @return entityApiName
- */
- public java.lang.String getEntityApiName() {
- return entityApiName;
- }
-
-
- /**
- * Sets the entityApiName value for this DescribeSoftphoneLayoutSection.
- *
- * @param entityApiName
- */
- public void setEntityApiName(java.lang.String entityApiName) {
- this.entityApiName = entityApiName;
- }
-
-
- /**
- * Gets the items value for this DescribeSoftphoneLayoutSection.
- *
- * @return items
- */
- public com.sforce.soap.partner.DescribeSoftphoneLayoutItem[] getItems() {
- return items;
- }
-
-
- /**
- * Sets the items value for this DescribeSoftphoneLayoutSection.
- *
- * @param items
- */
- public void setItems(com.sforce.soap.partner.DescribeSoftphoneLayoutItem[] items) {
- this.items = items;
- }
-
- public com.sforce.soap.partner.DescribeSoftphoneLayoutItem getItems(int i) {
- return this.items[i];
- }
-
- public void setItems(int i, com.sforce.soap.partner.DescribeSoftphoneLayoutItem
_value) {
- this.items[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeSoftphoneLayoutSection)) return false;
- DescribeSoftphoneLayoutSection other = (DescribeSoftphoneLayoutSection) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.entityApiName==null && other.getEntityApiName()==null) ||
- (this.entityApiName!=null &&
- this.entityApiName.equals(other.getEntityApiName()))) &&
- ((this.items==null && other.getItems()==null) ||
- (this.items!=null &&
- java.util.Arrays.equals(this.items, other.getItems())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getEntityApiName() != null) {
- _hashCode += getEntityApiName().hashCode();
- }
- if (getItems() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getItems());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getItems(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeSoftphoneLayoutSection.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutSection"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("entityApiName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"entityApiName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("items");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "items"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutItem"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeSoftphoneLayoutSection complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeSoftphoneLayoutSection">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="entityApiName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="items"
type="{urn:partner.soap.sforce.com}DescribeSoftphoneLayoutItem"
maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeSoftphoneLayoutSection", propOrder = {
+ "entityApiName",
+ "items"
+})
+public class DescribeSoftphoneLayoutSection {
+
+ @XmlElement(required = true)
+ protected String entityApiName;
+ @XmlElement(required = true)
+ protected List<DescribeSoftphoneLayoutItem> items;
+
+ /**
+ * Gets the value of the entityApiName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEntityApiName() {
+ return entityApiName;
+ }
+
+ /**
+ * Sets the value of the entityApiName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEntityApiName(String value) {
+ this.entityApiName = value;
+ }
+
+ /**
+ * Gets the value of the items property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the items
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getItems().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeSoftphoneLayoutItem }
+ *
+ *
+ */
+ public List<DescribeSoftphoneLayoutItem> getItems() {
+ if (items == null) {
+ items = new ArrayList<DescribeSoftphoneLayoutItem>();
+ }
+ return this.items;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTab.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTab.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTab.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,295 +1,193 @@
-/**
- * DescribeTab.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeTab implements java.io.Serializable {
- private boolean custom;
-
- private java.lang.String iconUrl;
-
- private java.lang.String label;
-
- private java.lang.String miniIconUrl;
-
- private java.lang.String sobjectName;
-
- private java.lang.String url;
-
- public DescribeTab() {
- }
-
- public DescribeTab(
- boolean custom,
- java.lang.String iconUrl,
- java.lang.String label,
- java.lang.String miniIconUrl,
- java.lang.String sobjectName,
- java.lang.String url) {
- this.custom = custom;
- this.iconUrl = iconUrl;
- this.label = label;
- this.miniIconUrl = miniIconUrl;
- this.sobjectName = sobjectName;
- this.url = url;
- }
-
-
- /**
- * Gets the custom value for this DescribeTab.
- *
- * @return custom
- */
- public boolean isCustom() {
- return custom;
- }
-
-
- /**
- * Sets the custom value for this DescribeTab.
- *
- * @param custom
- */
- public void setCustom(boolean custom) {
- this.custom = custom;
- }
-
-
- /**
- * Gets the iconUrl value for this DescribeTab.
- *
- * @return iconUrl
- */
- public java.lang.String getIconUrl() {
- return iconUrl;
- }
-
-
- /**
- * Sets the iconUrl value for this DescribeTab.
- *
- * @param iconUrl
- */
- public void setIconUrl(java.lang.String iconUrl) {
- this.iconUrl = iconUrl;
- }
-
-
- /**
- * Gets the label value for this DescribeTab.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this DescribeTab.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the miniIconUrl value for this DescribeTab.
- *
- * @return miniIconUrl
- */
- public java.lang.String getMiniIconUrl() {
- return miniIconUrl;
- }
-
-
- /**
- * Sets the miniIconUrl value for this DescribeTab.
- *
- * @param miniIconUrl
- */
- public void setMiniIconUrl(java.lang.String miniIconUrl) {
- this.miniIconUrl = miniIconUrl;
- }
-
-
- /**
- * Gets the sobjectName value for this DescribeTab.
- *
- * @return sobjectName
- */
- public java.lang.String getSobjectName() {
- return sobjectName;
- }
-
-
- /**
- * Sets the sobjectName value for this DescribeTab.
- *
- * @param sobjectName
- */
- public void setSobjectName(java.lang.String sobjectName) {
- this.sobjectName = sobjectName;
- }
-
-
- /**
- * Gets the url value for this DescribeTab.
- *
- * @return url
- */
- public java.lang.String getUrl() {
- return url;
- }
-
-
- /**
- * Sets the url value for this DescribeTab.
- *
- * @param url
- */
- public void setUrl(java.lang.String url) {
- this.url = url;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeTab)) return false;
- DescribeTab other = (DescribeTab) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.custom == other.isCustom() &&
- ((this.iconUrl==null && other.getIconUrl()==null) ||
- (this.iconUrl!=null &&
- this.iconUrl.equals(other.getIconUrl()))) &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.miniIconUrl==null && other.getMiniIconUrl()==null) ||
- (this.miniIconUrl!=null &&
- this.miniIconUrl.equals(other.getMiniIconUrl()))) &&
- ((this.sobjectName==null && other.getSobjectName()==null) ||
- (this.sobjectName!=null &&
- this.sobjectName.equals(other.getSobjectName()))) &&
- ((this.url==null && other.getUrl()==null) ||
- (this.url!=null &&
- this.url.equals(other.getUrl())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getIconUrl() != null) {
- _hashCode += getIconUrl().hashCode();
- }
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getMiniIconUrl() != null) {
- _hashCode += getMiniIconUrl().hashCode();
- }
- if (getSobjectName() != null) {
- _hashCode += getSobjectName().hashCode();
- }
- if (getUrl() != null) {
- _hashCode += getUrl().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeTab.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTab"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("custom");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "custom"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("iconUrl");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "iconUrl"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("miniIconUrl");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"miniIconUrl"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sobjectName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sobjectName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("url");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "url"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeTab complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeTab">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="custom"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="iconUrl"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="miniIconUrl"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sobjectName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="url"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeTab", propOrder = {
+ "custom",
+ "iconUrl",
+ "label",
+ "miniIconUrl",
+ "sobjectName",
+ "url"
+})
+public class DescribeTab {
+
+ protected boolean custom;
+ @XmlElement(required = true)
+ protected String iconUrl;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String miniIconUrl;
+ @XmlElement(required = true, nillable = true)
+ protected String sobjectName;
+ @XmlElement(required = true)
+ protected String url;
+
+ /**
+ * Gets the value of the custom property.
+ *
+ */
+ public boolean isCustom() {
+ return custom;
+ }
+
+ /**
+ * Sets the value of the custom property.
+ *
+ */
+ public void setCustom(boolean value) {
+ this.custom = value;
+ }
+
+ /**
+ * Gets the value of the iconUrl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getIconUrl() {
+ return iconUrl;
+ }
+
+ /**
+ * Sets the value of the iconUrl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIconUrl(String value) {
+ this.iconUrl = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the miniIconUrl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMiniIconUrl() {
+ return miniIconUrl;
+ }
+
+ /**
+ * Sets the value of the miniIconUrl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMiniIconUrl(String value) {
+ this.miniIconUrl = value;
+ }
+
+ /**
+ * Gets the value of the sobjectName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSobjectName() {
+ return sobjectName;
+ }
+
+ /**
+ * Sets the value of the sobjectName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSobjectName(String value) {
+ this.sobjectName = value;
+ }
+
+ /**
+ * Gets the value of the url property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUrl() {
+ return url;
+ }
+
+ /**
+ * Sets the value of the url property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUrl(String value) {
+ this.url = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabSetResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabSetResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabSetResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,278 +1,170 @@
-/**
- * DescribeTabSetResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeTabSetResult implements java.io.Serializable {
- private java.lang.String label;
-
- private java.lang.String logoUrl;
-
- private java.lang.String namespace;
-
- private boolean selected;
-
- private com.sforce.soap.partner.DescribeTab[] tabs;
-
- public DescribeTabSetResult() {
- }
-
- public DescribeTabSetResult(
- java.lang.String label,
- java.lang.String logoUrl,
- java.lang.String namespace,
- boolean selected,
- com.sforce.soap.partner.DescribeTab[] tabs) {
- this.label = label;
- this.logoUrl = logoUrl;
- this.namespace = namespace;
- this.selected = selected;
- this.tabs = tabs;
- }
-
-
- /**
- * Gets the label value for this DescribeTabSetResult.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this DescribeTabSetResult.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the logoUrl value for this DescribeTabSetResult.
- *
- * @return logoUrl
- */
- public java.lang.String getLogoUrl() {
- return logoUrl;
- }
-
-
- /**
- * Sets the logoUrl value for this DescribeTabSetResult.
- *
- * @param logoUrl
- */
- public void setLogoUrl(java.lang.String logoUrl) {
- this.logoUrl = logoUrl;
- }
-
-
- /**
- * Gets the namespace value for this DescribeTabSetResult.
- *
- * @return namespace
- */
- public java.lang.String getNamespace() {
- return namespace;
- }
-
-
- /**
- * Sets the namespace value for this DescribeTabSetResult.
- *
- * @param namespace
- */
- public void setNamespace(java.lang.String namespace) {
- this.namespace = namespace;
- }
-
-
- /**
- * Gets the selected value for this DescribeTabSetResult.
- *
- * @return selected
- */
- public boolean isSelected() {
- return selected;
- }
-
-
- /**
- * Sets the selected value for this DescribeTabSetResult.
- *
- * @param selected
- */
- public void setSelected(boolean selected) {
- this.selected = selected;
- }
-
-
- /**
- * Gets the tabs value for this DescribeTabSetResult.
- *
- * @return tabs
- */
- public com.sforce.soap.partner.DescribeTab[] getTabs() {
- return tabs;
- }
-
-
- /**
- * Sets the tabs value for this DescribeTabSetResult.
- *
- * @param tabs
- */
- public void setTabs(com.sforce.soap.partner.DescribeTab[] tabs) {
- this.tabs = tabs;
- }
-
- public com.sforce.soap.partner.DescribeTab getTabs(int i) {
- return this.tabs[i];
- }
-
- public void setTabs(int i, com.sforce.soap.partner.DescribeTab _value) {
- this.tabs[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeTabSetResult)) return false;
- DescribeTabSetResult other = (DescribeTabSetResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.logoUrl==null && other.getLogoUrl()==null) ||
- (this.logoUrl!=null &&
- this.logoUrl.equals(other.getLogoUrl()))) &&
- ((this.namespace==null && other.getNamespace()==null) ||
- (this.namespace!=null &&
- this.namespace.equals(other.getNamespace()))) &&
- this.selected == other.isSelected() &&
- ((this.tabs==null && other.getTabs()==null) ||
- (this.tabs!=null &&
- java.util.Arrays.equals(this.tabs, other.getTabs())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getLogoUrl() != null) {
- _hashCode += getLogoUrl().hashCode();
- }
- if (getNamespace() != null) {
- _hashCode += getNamespace().hashCode();
- }
- _hashCode += (isSelected() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getTabs() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getTabs());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getTabs(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeTabSetResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTabSetResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("logoUrl");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "logoUrl"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("namespace");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"namespace"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("selected");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"selected"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("tabs");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "tabs"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTab"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DescribeTabSetResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="DescribeTabSetResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="logoUrl"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="namespace"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="selected"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="tabs"
type="{urn:partner.soap.sforce.com}DescribeTab" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "DescribeTabSetResult", propOrder = {
+ "label",
+ "logoUrl",
+ "namespace",
+ "selected",
+ "tabs"
+})
+public class DescribeTabSetResult {
+
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String logoUrl;
+ protected String namespace;
+ protected boolean selected;
+ protected List<DescribeTab> tabs;
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the logoUrl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLogoUrl() {
+ return logoUrl;
+ }
+
+ /**
+ * Sets the value of the logoUrl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLogoUrl(String value) {
+ this.logoUrl = value;
+ }
+
+ /**
+ * Gets the value of the namespace property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNamespace() {
+ return namespace;
+ }
+
+ /**
+ * Sets the value of the namespace property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNamespace(String value) {
+ this.namespace = value;
+ }
+
+ /**
+ * Gets the value of the selected property.
+ *
+ */
+ public boolean isSelected() {
+ return selected;
+ }
+
+ /**
+ * Sets the value of the selected property.
+ *
+ */
+ public void setSelected(boolean value) {
+ this.selected = value;
+ }
+
+ /**
+ * Gets the value of the tabs property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the tabs
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTabs().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeTab }
+ *
+ *
+ */
+ public List<DescribeTab> getTabs() {
+ if (tabs == null) {
+ tabs = new ArrayList<DescribeTab>();
+ }
+ return this.tabs;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabs.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabs.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabs.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,34 @@
-/**
- * DescribeTabs.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class DescribeTabs implements java.io.Serializable {
- public DescribeTabs() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof DescribeTabs)) return false;
- DescribeTabs other = (DescribeTabs) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(DescribeTabs.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeTabs"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "describeTabs")
+public class DescribeTabs {
+
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabsResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabsResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabsResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,71 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}DescribeTabSetResult"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "describeTabsResponse")
+public class DescribeTabsResponse {
+
+ @XmlElement(nillable = true)
+ protected List<DescribeTabSetResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DescribeTabSetResult }
+ *
+ *
+ */
+ public List<DescribeTabSetResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<DescribeTabSetResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/DescribeTabsResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Email.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Email.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Email.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,335 +1,235 @@
-/**
- * Email.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Email implements java.io.Serializable {
- private java.lang.Boolean bccSender;
-
- private com.sforce.soap.partner.EmailPriority emailPriority;
-
- private java.lang.String replyTo;
-
- private java.lang.Boolean saveAsActivity;
-
- private java.lang.String senderDisplayName;
-
- private java.lang.String subject;
-
- private java.lang.Boolean useSignature;
-
- public Email() {
- }
-
- public Email(
- java.lang.Boolean bccSender,
- com.sforce.soap.partner.EmailPriority emailPriority,
- java.lang.String replyTo,
- java.lang.Boolean saveAsActivity,
- java.lang.String senderDisplayName,
- java.lang.String subject,
- java.lang.Boolean useSignature) {
- this.bccSender = bccSender;
- this.emailPriority = emailPriority;
- this.replyTo = replyTo;
- this.saveAsActivity = saveAsActivity;
- this.senderDisplayName = senderDisplayName;
- this.subject = subject;
- this.useSignature = useSignature;
- }
-
-
- /**
- * Gets the bccSender value for this Email.
- *
- * @return bccSender
- */
- public java.lang.Boolean getBccSender() {
- return bccSender;
- }
-
-
- /**
- * Sets the bccSender value for this Email.
- *
- * @param bccSender
- */
- public void setBccSender(java.lang.Boolean bccSender) {
- this.bccSender = bccSender;
- }
-
-
- /**
- * Gets the emailPriority value for this Email.
- *
- * @return emailPriority
- */
- public com.sforce.soap.partner.EmailPriority getEmailPriority() {
- return emailPriority;
- }
-
-
- /**
- * Sets the emailPriority value for this Email.
- *
- * @param emailPriority
- */
- public void setEmailPriority(com.sforce.soap.partner.EmailPriority emailPriority) {
- this.emailPriority = emailPriority;
- }
-
-
- /**
- * Gets the replyTo value for this Email.
- *
- * @return replyTo
- */
- public java.lang.String getReplyTo() {
- return replyTo;
- }
-
-
- /**
- * Sets the replyTo value for this Email.
- *
- * @param replyTo
- */
- public void setReplyTo(java.lang.String replyTo) {
- this.replyTo = replyTo;
- }
-
-
- /**
- * Gets the saveAsActivity value for this Email.
- *
- * @return saveAsActivity
- */
- public java.lang.Boolean getSaveAsActivity() {
- return saveAsActivity;
- }
-
-
- /**
- * Sets the saveAsActivity value for this Email.
- *
- * @param saveAsActivity
- */
- public void setSaveAsActivity(java.lang.Boolean saveAsActivity) {
- this.saveAsActivity = saveAsActivity;
- }
-
-
- /**
- * Gets the senderDisplayName value for this Email.
- *
- * @return senderDisplayName
- */
- public java.lang.String getSenderDisplayName() {
- return senderDisplayName;
- }
-
-
- /**
- * Sets the senderDisplayName value for this Email.
- *
- * @param senderDisplayName
- */
- public void setSenderDisplayName(java.lang.String senderDisplayName) {
- this.senderDisplayName = senderDisplayName;
- }
-
-
- /**
- * Gets the subject value for this Email.
- *
- * @return subject
- */
- public java.lang.String getSubject() {
- return subject;
- }
-
-
- /**
- * Sets the subject value for this Email.
- *
- * @param subject
- */
- public void setSubject(java.lang.String subject) {
- this.subject = subject;
- }
-
-
- /**
- * Gets the useSignature value for this Email.
- *
- * @return useSignature
- */
- public java.lang.Boolean getUseSignature() {
- return useSignature;
- }
-
-
- /**
- * Sets the useSignature value for this Email.
- *
- * @param useSignature
- */
- public void setUseSignature(java.lang.Boolean useSignature) {
- this.useSignature = useSignature;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Email)) return false;
- Email other = (Email) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.bccSender==null && other.getBccSender()==null) ||
- (this.bccSender!=null &&
- this.bccSender.equals(other.getBccSender()))) &&
- ((this.emailPriority==null && other.getEmailPriority()==null) ||
- (this.emailPriority!=null &&
- this.emailPriority.equals(other.getEmailPriority()))) &&
- ((this.replyTo==null && other.getReplyTo()==null) ||
- (this.replyTo!=null &&
- this.replyTo.equals(other.getReplyTo()))) &&
- ((this.saveAsActivity==null && other.getSaveAsActivity()==null) ||
- (this.saveAsActivity!=null &&
- this.saveAsActivity.equals(other.getSaveAsActivity()))) &&
- ((this.senderDisplayName==null && other.getSenderDisplayName()==null)
||
- (this.senderDisplayName!=null &&
- this.senderDisplayName.equals(other.getSenderDisplayName()))) &&
- ((this.subject==null && other.getSubject()==null) ||
- (this.subject!=null &&
- this.subject.equals(other.getSubject()))) &&
- ((this.useSignature==null && other.getUseSignature()==null) ||
- (this.useSignature!=null &&
- this.useSignature.equals(other.getUseSignature())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getBccSender() != null) {
- _hashCode += getBccSender().hashCode();
- }
- if (getEmailPriority() != null) {
- _hashCode += getEmailPriority().hashCode();
- }
- if (getReplyTo() != null) {
- _hashCode += getReplyTo().hashCode();
- }
- if (getSaveAsActivity() != null) {
- _hashCode += getSaveAsActivity().hashCode();
- }
- if (getSenderDisplayName() != null) {
- _hashCode += getSenderDisplayName().hashCode();
- }
- if (getSubject() != null) {
- _hashCode += getSubject().hashCode();
- }
- if (getUseSignature() != null) {
- _hashCode += getUseSignature().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Email.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Email"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("bccSender");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"bccSender"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("emailPriority");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"emailPriority"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmailPriority"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("replyTo");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "replyTo"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("saveAsActivity");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"saveAsActivity"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("senderDisplayName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"senderDisplayName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("subject");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "subject"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("useSignature");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"useSignature"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Email complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="Email">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="bccSender"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="emailPriority"
type="{urn:partner.soap.sforce.com}EmailPriority"/>
+ * <element name="replyTo"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="saveAsActivity"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="senderDisplayName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="subject"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="useSignature"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Email", propOrder = {
+ "bccSender",
+ "emailPriority",
+ "replyTo",
+ "saveAsActivity",
+ "senderDisplayName",
+ "subject",
+ "useSignature"
+})
+@XmlSeeAlso({
+ SingleEmailMessage.class,
+ MassEmailMessage.class
+})
+public class Email {
+
+ @XmlElement(required = true, type = Boolean.class, nillable = true)
+ protected Boolean bccSender;
+ @XmlElement(required = true, nillable = true)
+ protected EmailPriority emailPriority;
+ @XmlElement(required = true, nillable = true)
+ protected String replyTo;
+ @XmlElement(required = true, type = Boolean.class, nillable = true)
+ protected Boolean saveAsActivity;
+ @XmlElement(required = true, nillable = true)
+ protected String senderDisplayName;
+ @XmlElement(required = true, nillable = true)
+ protected String subject;
+ @XmlElement(required = true, type = Boolean.class, nillable = true)
+ protected Boolean useSignature;
+
+ /**
+ * Gets the value of the bccSender property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isBccSender() {
+ return bccSender;
+ }
+
+ /**
+ * Sets the value of the bccSender property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setBccSender(Boolean value) {
+ this.bccSender = value;
+ }
+
+ /**
+ * Gets the value of the emailPriority property.
+ *
+ * @return
+ * possible object is
+ * {@link EmailPriority }
+ *
+ */
+ public EmailPriority getEmailPriority() {
+ return emailPriority;
+ }
+
+ /**
+ * Sets the value of the emailPriority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EmailPriority }
+ *
+ */
+ public void setEmailPriority(EmailPriority value) {
+ this.emailPriority = value;
+ }
+
+ /**
+ * Gets the value of the replyTo property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReplyTo() {
+ return replyTo;
+ }
+
+ /**
+ * Sets the value of the replyTo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReplyTo(String value) {
+ this.replyTo = value;
+ }
+
+ /**
+ * Gets the value of the saveAsActivity property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isSaveAsActivity() {
+ return saveAsActivity;
+ }
+
+ /**
+ * Sets the value of the saveAsActivity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSaveAsActivity(Boolean value) {
+ this.saveAsActivity = value;
+ }
+
+ /**
+ * Gets the value of the senderDisplayName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSenderDisplayName() {
+ return senderDisplayName;
+ }
+
+ /**
+ * Sets the value of the senderDisplayName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSenderDisplayName(String value) {
+ this.senderDisplayName = value;
+ }
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSubject() {
+ return subject;
+ }
+
+ /**
+ * Sets the value of the subject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSubject(String value) {
+ this.subject = value;
+ }
+
+ /**
+ * Gets the value of the useSignature property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUseSignature() {
+ return useSignature;
+ }
+
+ /**
+ * Sets the value of the useSignature property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUseSignature(Boolean value) {
+ this.useSignature = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailFileAttachment.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailFileAttachment.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailFileAttachment.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,238 +1,147 @@
-/**
- * EmailFileAttachment.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class EmailFileAttachment implements java.io.Serializable {
- private byte[] body;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
- private java.lang.String contentType;
- private java.lang.String fileName;
+/**
+ * <p>Java class for EmailFileAttachment complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="EmailFileAttachment">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="body"
type="{http://www.w3.org/2001/XMLSchema}base64Binary"
minOccurs="0"/>
+ * <element name="contentType"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="fileName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="inline"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EmailFileAttachment", propOrder = {
+ "body",
+ "contentType",
+ "fileName",
+ "inline"
+})
+public class EmailFileAttachment {
- private java.lang.Boolean inline;
+ @XmlElementRef(name = "body", namespace =
"urn:partner.soap.sforce.com", type = JAXBElement.class)
+ protected JAXBElement<byte[]> body;
+ @XmlElementRef(name = "contentType", namespace =
"urn:partner.soap.sforce.com", type = JAXBElement.class)
+ protected JAXBElement<String> contentType;
+ @XmlElement(required = true)
+ protected String fileName;
+ protected Boolean inline;
- public EmailFileAttachment() {
- }
-
- public EmailFileAttachment(
- byte[] body,
- java.lang.String contentType,
- java.lang.String fileName,
- java.lang.Boolean inline) {
- this.body = body;
- this.contentType = contentType;
- this.fileName = fileName;
- this.inline = inline;
- }
-
-
/**
- * Gets the body value for this EmailFileAttachment.
+ * Gets the value of the body property.
*
- * @return body
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
+ *
*/
- public byte[] getBody() {
+ public JAXBElement<byte[]> getBody() {
return body;
}
-
/**
- * Sets the body value for this EmailFileAttachment.
+ * Sets the value of the body property.
*
- * @param body
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link byte[]}{@code >}
+ *
*/
- public void setBody(byte[] body) {
- this.body = body;
+ public void setBody(JAXBElement<byte[]> value) {
+ this.body = ((JAXBElement<byte[]> ) value);
}
-
/**
- * Gets the contentType value for this EmailFileAttachment.
+ * Gets the value of the contentType property.
*
- * @return contentType
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public java.lang.String getContentType() {
+ public JAXBElement<String> getContentType() {
return contentType;
}
-
/**
- * Sets the contentType value for this EmailFileAttachment.
+ * Sets the value of the contentType property.
*
- * @param contentType
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public void setContentType(java.lang.String contentType) {
- this.contentType = contentType;
+ public void setContentType(JAXBElement<String> value) {
+ this.contentType = ((JAXBElement<String> ) value);
}
-
/**
- * Gets the fileName value for this EmailFileAttachment.
+ * Gets the value of the fileName property.
*
- * @return fileName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getFileName() {
+ public String getFileName() {
return fileName;
}
-
/**
- * Sets the fileName value for this EmailFileAttachment.
+ * Sets the value of the fileName property.
*
- * @param fileName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setFileName(java.lang.String fileName) {
- this.fileName = fileName;
+ public void setFileName(String value) {
+ this.fileName = value;
}
-
/**
- * Gets the inline value for this EmailFileAttachment.
+ * Gets the value of the inline property.
*
- * @return inline
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getInline() {
+ public Boolean isInline() {
return inline;
}
-
/**
- * Sets the inline value for this EmailFileAttachment.
+ * Sets the value of the inline property.
*
- * @param inline
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setInline(java.lang.Boolean inline) {
- this.inline = inline;
+ public void setInline(Boolean value) {
+ this.inline = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof EmailFileAttachment)) return false;
- EmailFileAttachment other = (EmailFileAttachment) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.body==null && other.getBody()==null) ||
- (this.body!=null &&
- java.util.Arrays.equals(this.body, other.getBody()))) &&
- ((this.contentType==null && other.getContentType()==null) ||
- (this.contentType!=null &&
- this.contentType.equals(other.getContentType()))) &&
- ((this.fileName==null && other.getFileName()==null) ||
- (this.fileName!=null &&
- this.fileName.equals(other.getFileName()))) &&
- ((this.inline==null && other.getInline()==null) ||
- (this.inline!=null &&
- this.inline.equals(other.getInline())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getBody() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getBody());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getBody(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getContentType() != null) {
- _hashCode += getContentType().hashCode();
- }
- if (getFileName() != null) {
- _hashCode += getFileName().hashCode();
- }
- if (getInline() != null) {
- _hashCode += getInline().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(EmailFileAttachment.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmailFileAttachment"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("body");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "body"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"base64Binary"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("contentType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"contentType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fileName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"fileName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("inline");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "inline"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,179 +1,92 @@
-/**
- * EmailHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class EmailHeader implements java.io.Serializable {
- private boolean triggerAutoResponseEmail;
-
- private boolean triggerOtherEmail;
-
- private boolean triggerUserEmail;
-
- public EmailHeader() {
- }
-
- public EmailHeader(
- boolean triggerAutoResponseEmail,
- boolean triggerOtherEmail,
- boolean triggerUserEmail) {
- this.triggerAutoResponseEmail = triggerAutoResponseEmail;
- this.triggerOtherEmail = triggerOtherEmail;
- this.triggerUserEmail = triggerUserEmail;
- }
-
-
- /**
- * Gets the triggerAutoResponseEmail value for this EmailHeader.
- *
- * @return triggerAutoResponseEmail
- */
- public boolean isTriggerAutoResponseEmail() {
- return triggerAutoResponseEmail;
- }
-
-
- /**
- * Sets the triggerAutoResponseEmail value for this EmailHeader.
- *
- * @param triggerAutoResponseEmail
- */
- public void setTriggerAutoResponseEmail(boolean triggerAutoResponseEmail) {
- this.triggerAutoResponseEmail = triggerAutoResponseEmail;
- }
-
-
- /**
- * Gets the triggerOtherEmail value for this EmailHeader.
- *
- * @return triggerOtherEmail
- */
- public boolean isTriggerOtherEmail() {
- return triggerOtherEmail;
- }
-
-
- /**
- * Sets the triggerOtherEmail value for this EmailHeader.
- *
- * @param triggerOtherEmail
- */
- public void setTriggerOtherEmail(boolean triggerOtherEmail) {
- this.triggerOtherEmail = triggerOtherEmail;
- }
-
-
- /**
- * Gets the triggerUserEmail value for this EmailHeader.
- *
- * @return triggerUserEmail
- */
- public boolean isTriggerUserEmail() {
- return triggerUserEmail;
- }
-
-
- /**
- * Sets the triggerUserEmail value for this EmailHeader.
- *
- * @param triggerUserEmail
- */
- public void setTriggerUserEmail(boolean triggerUserEmail) {
- this.triggerUserEmail = triggerUserEmail;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof EmailHeader)) return false;
- EmailHeader other = (EmailHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.triggerAutoResponseEmail == other.isTriggerAutoResponseEmail()
&&
- this.triggerOtherEmail == other.isTriggerOtherEmail() &&
- this.triggerUserEmail == other.isTriggerUserEmail();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isTriggerAutoResponseEmail() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- _hashCode += (isTriggerOtherEmail() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isTriggerUserEmail() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(EmailHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">EmailHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("triggerAutoResponseEmail");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"triggerAutoResponseEmail"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("triggerOtherEmail");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"triggerOtherEmail"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("triggerUserEmail");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"triggerUserEmail"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="triggerAutoResponseEmail"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="triggerOtherEmail"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="triggerUserEmail"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "triggerAutoResponseEmail",
+ "triggerOtherEmail",
+ "triggerUserEmail"
+})
+@XmlRootElement(name = "EmailHeader")
+public class EmailHeader {
+
+ protected boolean triggerAutoResponseEmail;
+ protected boolean triggerOtherEmail;
+ protected boolean triggerUserEmail;
+
+ /**
+ * Gets the value of the triggerAutoResponseEmail property.
+ *
+ */
+ public boolean isTriggerAutoResponseEmail() {
+ return triggerAutoResponseEmail;
+ }
+
+ /**
+ * Sets the value of the triggerAutoResponseEmail property.
+ *
+ */
+ public void setTriggerAutoResponseEmail(boolean value) {
+ this.triggerAutoResponseEmail = value;
+ }
+
+ /**
+ * Gets the value of the triggerOtherEmail property.
+ *
+ */
+ public boolean isTriggerOtherEmail() {
+ return triggerOtherEmail;
+ }
+
+ /**
+ * Sets the value of the triggerOtherEmail property.
+ *
+ */
+ public void setTriggerOtherEmail(boolean value) {
+ this.triggerOtherEmail = value;
+ }
+
+ /**
+ * Gets the value of the triggerUserEmail property.
+ *
+ */
+ public boolean isTriggerUserEmail() {
+ return triggerUserEmail;
+ }
+
+ /**
+ * Sets the value of the triggerUserEmail property.
+ *
+ */
+ public void setTriggerUserEmail(boolean value) {
+ this.triggerUserEmail = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailPriority.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailPriority.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmailPriority.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,76 +1,60 @@
-/**
- * EmailPriority.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class EmailPriority implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected EmailPriority(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final java.lang.String _Highest = "Highest";
- public static final java.lang.String _High = "High";
- public static final java.lang.String _Normal = "Normal";
- public static final java.lang.String _Low = "Low";
- public static final java.lang.String _Lowest = "Lowest";
- public static final EmailPriority Highest = new EmailPriority(_Highest);
- public static final EmailPriority High = new EmailPriority(_High);
- public static final EmailPriority Normal = new EmailPriority(_Normal);
- public static final EmailPriority Low = new EmailPriority(_Low);
- public static final EmailPriority Lowest = new EmailPriority(_Lowest);
- public java.lang.String getValue() { return _value_;}
- public static EmailPriority fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- EmailPriority enumeration = (EmailPriority)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static EmailPriority fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(EmailPriority.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmailPriority"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EmailPriority.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="EmailPriority">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="Highest"/>
+ * <enumeration value="High"/>
+ * <enumeration value="Normal"/>
+ * <enumeration value="Low"/>
+ * <enumeration value="Lowest"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "EmailPriority")
+@XmlEnum
+public enum EmailPriority {
+
+ @XmlEnumValue("Highest")
+ HIGHEST("Highest"),
+ @XmlEnumValue("High")
+ HIGH("High"),
+ @XmlEnumValue("Normal")
+ NORMAL("Normal"),
+ @XmlEnumValue("Low")
+ LOW("Low"),
+ @XmlEnumValue("Lowest")
+ LOWEST("Lowest");
+ private final String value;
+
+ EmailPriority(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EmailPriority fromValue(String v) {
+ for (EmailPriority c: EmailPriority.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBin.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBin.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBin.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,71 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ids"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "ids"
+})
+@XmlRootElement(name = "emptyRecycleBin")
+public class EmptyRecycleBin {
+
+ @XmlElement(required = true)
+ protected List<String> ids;
+
+ /**
+ * Gets the value of the ids property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ids
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIds() {
+ if (ids == null) {
+ ids = new ArrayList<String>();
+ }
+ return this.ids;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,71 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}EmptyRecycleBinResult"
maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "emptyRecycleBinResponse")
+public class EmptyRecycleBinResponse {
+
+ @XmlElement(required = true)
+ protected List<EmptyRecycleBinResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EmptyRecycleBinResult }
+ *
+ *
+ */
+ public List<EmptyRecycleBinResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<EmptyRecycleBinResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/EmptyRecycleBinResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,205 +1,115 @@
-/**
- * EmptyRecycleBinResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class EmptyRecycleBinResult implements java.io.Serializable {
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String id;
-
- private boolean success;
-
- public EmptyRecycleBinResult() {
- }
-
- public EmptyRecycleBinResult(
- com.sforce.soap.partner.Error[] errors,
- java.lang.String id,
- boolean success) {
- this.errors = errors;
- this.id = id;
- this.success = success;
- }
-
-
- /**
- * Gets the errors value for this EmptyRecycleBinResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this EmptyRecycleBinResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the id value for this EmptyRecycleBinResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this EmptyRecycleBinResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the success value for this EmptyRecycleBinResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this EmptyRecycleBinResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof EmptyRecycleBinResult)) return false;
- EmptyRecycleBinResult other = (EmptyRecycleBinResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(EmptyRecycleBinResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmptyRecycleBinResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EmptyRecycleBinResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="EmptyRecycleBinResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EmptyRecycleBinResult", propOrder = {
+ "errors",
+ "id",
+ "success"
+})
+public class EmptyRecycleBinResult {
+
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Error.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Error.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Error.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,209 +1,125 @@
-/**
- * Error.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Error implements java.io.Serializable {
- private java.lang.String[] fields;
-
- private java.lang.String message;
-
- private com.sforce.soap.partner.StatusCode statusCode;
-
- public Error() {
- }
-
- public Error(
- java.lang.String[] fields,
- java.lang.String message,
- com.sforce.soap.partner.StatusCode statusCode) {
- this.fields = fields;
- this.message = message;
- this.statusCode = statusCode;
- }
-
-
- /**
- * Gets the fields value for this Error.
- *
- * @return fields
- */
- public java.lang.String[] getFields() {
- return fields;
- }
-
-
- /**
- * Sets the fields value for this Error.
- *
- * @param fields
- */
- public void setFields(java.lang.String[] fields) {
- this.fields = fields;
- }
-
- public java.lang.String getFields(int i) {
- return this.fields[i];
- }
-
- public void setFields(int i, java.lang.String _value) {
- this.fields[i] = _value;
- }
-
-
- /**
- * Gets the message value for this Error.
- *
- * @return message
- */
- public java.lang.String getMessage() {
- return message;
- }
-
-
- /**
- * Sets the message value for this Error.
- *
- * @param message
- */
- public void setMessage(java.lang.String message) {
- this.message = message;
- }
-
-
- /**
- * Gets the statusCode value for this Error.
- *
- * @return statusCode
- */
- public com.sforce.soap.partner.StatusCode getStatusCode() {
- return statusCode;
- }
-
-
- /**
- * Sets the statusCode value for this Error.
- *
- * @param statusCode
- */
- public void setStatusCode(com.sforce.soap.partner.StatusCode statusCode) {
- this.statusCode = statusCode;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Error)) return false;
- Error other = (Error) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.fields==null && other.getFields()==null) ||
- (this.fields!=null &&
- java.util.Arrays.equals(this.fields, other.getFields()))) &&
- ((this.message==null && other.getMessage()==null) ||
- (this.message!=null &&
- this.message.equals(other.getMessage()))) &&
- ((this.statusCode==null && other.getStatusCode()==null) ||
- (this.statusCode!=null &&
- this.statusCode.equals(other.getStatusCode())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getFields() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getFields());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getFields(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getMessage() != null) {
- _hashCode += getMessage().hashCode();
- }
- if (getStatusCode() != null) {
- _hashCode += getStatusCode().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Error.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fields");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "fields"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("message");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "message"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("statusCode");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"statusCode"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"StatusCode"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Error complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="Error">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fields"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="message"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="statusCode"
type="{urn:partner.soap.sforce.com}StatusCode"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Error", propOrder = {
+ "fields",
+ "message",
+ "statusCode"
+})
+public class Error {
+
+ @XmlElement(nillable = true)
+ protected List<String> fields;
+ @XmlElement(required = true)
+ protected String message;
+ @XmlElement(required = true)
+ protected StatusCode statusCode;
+
+ /**
+ * Gets the value of the fields property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the fields
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFields().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getFields() {
+ if (fields == null) {
+ fields = new ArrayList<String>();
+ }
+ return this.fields;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the statusCode property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusCode }
+ *
+ */
+ public StatusCode getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusCode }
+ *
+ */
+ public void setStatusCode(StatusCode value) {
+ this.statusCode = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Field.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Field.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Field.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,1387 +1,899 @@
-/**
- * Field.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class Field implements java.io.Serializable {
- private boolean autoNumber;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private int byteLength;
- private boolean calculated;
+/**
+ * <p>Java class for Field complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="Field">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="autoNumber"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="byteLength"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="calculated"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="calculatedFormula"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="caseSensitive"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="controllerName"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="createable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="custom"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="defaultValueFormula"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="defaultedOnCreate"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="dependentPicklist"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="deprecatedAndHidden"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="digits"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="externalId"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="filterable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="htmlFormatted"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="idLookup"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="inlineHelpText"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="length"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="nameField"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="namePointing"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="nillable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="picklistValues"
type="{urn:partner.soap.sforce.com}PicklistEntry"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="precision"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="referenceTo"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="relationshipName"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="relationshipOrder"
type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * <element name="restrictedPicklist"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="scale"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="soapType"
type="{urn:partner.soap.sforce.com}soapType"/>
+ * <element name="sortable"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="type"
type="{urn:partner.soap.sforce.com}fieldType"/>
+ * <element name="unique"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="updateable"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="writeRequiresMasterRead"
type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Field", propOrder = {
+ "autoNumber",
+ "byteLength",
+ "calculated",
+ "calculatedFormula",
+ "caseSensitive",
+ "controllerName",
+ "createable",
+ "custom",
+ "defaultValueFormula",
+ "defaultedOnCreate",
+ "dependentPicklist",
+ "deprecatedAndHidden",
+ "digits",
+ "externalId",
+ "filterable",
+ "htmlFormatted",
+ "idLookup",
+ "inlineHelpText",
+ "label",
+ "length",
+ "name",
+ "nameField",
+ "namePointing",
+ "nillable",
+ "picklistValues",
+ "precision",
+ "referenceTo",
+ "relationshipName",
+ "relationshipOrder",
+ "restrictedPicklist",
+ "scale",
+ "soapType",
+ "sortable",
+ "type",
+ "unique",
+ "updateable",
+ "writeRequiresMasterRead"
+})
+public class Field {
- private java.lang.String calculatedFormula;
+ protected boolean autoNumber;
+ protected int byteLength;
+ protected boolean calculated;
+ protected String calculatedFormula;
+ protected boolean caseSensitive;
+ protected String controllerName;
+ protected boolean createable;
+ protected boolean custom;
+ protected String defaultValueFormula;
+ protected boolean defaultedOnCreate;
+ protected Boolean dependentPicklist;
+ protected boolean deprecatedAndHidden;
+ protected int digits;
+ protected Boolean externalId;
+ protected boolean filterable;
+ protected Boolean htmlFormatted;
+ protected boolean idLookup;
+ protected String inlineHelpText;
+ @XmlElement(required = true)
+ protected String label;
+ protected int length;
+ @XmlElement(required = true)
+ protected String name;
+ protected boolean nameField;
+ protected Boolean namePointing;
+ protected boolean nillable;
+ @XmlElement(nillable = true)
+ protected List<PicklistEntry> picklistValues;
+ protected int precision;
+ @XmlElement(nillable = true)
+ protected List<String> referenceTo;
+ protected String relationshipName;
+ protected Integer relationshipOrder;
+ protected boolean restrictedPicklist;
+ protected int scale;
+ @XmlElement(required = true)
+ protected SoapType soapType;
+ protected Boolean sortable;
+ @XmlElement(required = true)
+ protected FieldType type;
+ protected boolean unique;
+ protected boolean updateable;
+ protected Boolean writeRequiresMasterRead;
- private boolean caseSensitive;
-
- private java.lang.String controllerName;
-
- private boolean createable;
-
- private boolean custom;
-
- private java.lang.String defaultValueFormula;
-
- private boolean defaultedOnCreate;
-
- private java.lang.Boolean dependentPicklist;
-
- private boolean deprecatedAndHidden;
-
- private int digits;
-
- private java.lang.Boolean externalId;
-
- private boolean filterable;
-
- private java.lang.Boolean htmlFormatted;
-
- private boolean idLookup;
-
- private java.lang.String inlineHelpText;
-
- private java.lang.String label;
-
- private int length;
-
- private java.lang.String name;
-
- private boolean nameField;
-
- private java.lang.Boolean namePointing;
-
- private boolean nillable;
-
- private com.sforce.soap.partner.PicklistEntry[] picklistValues;
-
- private int precision;
-
- private java.lang.String[] referenceTo;
-
- private java.lang.String relationshipName;
-
- private java.lang.Integer relationshipOrder;
-
- private boolean restrictedPicklist;
-
- private int scale;
-
- private com.sforce.soap.partner.SoapType soapType;
-
- private java.lang.Boolean sortable;
-
- private com.sforce.soap.partner.FieldType type;
-
- private boolean unique;
-
- private boolean updateable;
-
- private java.lang.Boolean writeRequiresMasterRead;
-
- public Field() {
- }
-
- public Field(
- boolean autoNumber,
- int byteLength,
- boolean calculated,
- java.lang.String calculatedFormula,
- boolean caseSensitive,
- java.lang.String controllerName,
- boolean createable,
- boolean custom,
- java.lang.String defaultValueFormula,
- boolean defaultedOnCreate,
- java.lang.Boolean dependentPicklist,
- boolean deprecatedAndHidden,
- int digits,
- java.lang.Boolean externalId,
- boolean filterable,
- java.lang.Boolean htmlFormatted,
- boolean idLookup,
- java.lang.String inlineHelpText,
- java.lang.String label,
- int length,
- java.lang.String name,
- boolean nameField,
- java.lang.Boolean namePointing,
- boolean nillable,
- com.sforce.soap.partner.PicklistEntry[] picklistValues,
- int precision,
- java.lang.String[] referenceTo,
- java.lang.String relationshipName,
- java.lang.Integer relationshipOrder,
- boolean restrictedPicklist,
- int scale,
- com.sforce.soap.partner.SoapType soapType,
- java.lang.Boolean sortable,
- com.sforce.soap.partner.FieldType type,
- boolean unique,
- boolean updateable,
- java.lang.Boolean writeRequiresMasterRead) {
- this.autoNumber = autoNumber;
- this.byteLength = byteLength;
- this.calculated = calculated;
- this.calculatedFormula = calculatedFormula;
- this.caseSensitive = caseSensitive;
- this.controllerName = controllerName;
- this.createable = createable;
- this.custom = custom;
- this.defaultValueFormula = defaultValueFormula;
- this.defaultedOnCreate = defaultedOnCreate;
- this.dependentPicklist = dependentPicklist;
- this.deprecatedAndHidden = deprecatedAndHidden;
- this.digits = digits;
- this.externalId = externalId;
- this.filterable = filterable;
- this.htmlFormatted = htmlFormatted;
- this.idLookup = idLookup;
- this.inlineHelpText = inlineHelpText;
- this.label = label;
- this.length = length;
- this.name = name;
- this.nameField = nameField;
- this.namePointing = namePointing;
- this.nillable = nillable;
- this.picklistValues = picklistValues;
- this.precision = precision;
- this.referenceTo = referenceTo;
- this.relationshipName = relationshipName;
- this.relationshipOrder = relationshipOrder;
- this.restrictedPicklist = restrictedPicklist;
- this.scale = scale;
- this.soapType = soapType;
- this.sortable = sortable;
- this.type = type;
- this.unique = unique;
- this.updateable = updateable;
- this.writeRequiresMasterRead = writeRequiresMasterRead;
- }
-
-
/**
- * Gets the autoNumber value for this Field.
+ * Gets the value of the autoNumber property.
*
- * @return autoNumber
*/
public boolean isAutoNumber() {
return autoNumber;
}
-
/**
- * Sets the autoNumber value for this Field.
+ * Sets the value of the autoNumber property.
*
- * @param autoNumber
*/
- public void setAutoNumber(boolean autoNumber) {
- this.autoNumber = autoNumber;
+ public void setAutoNumber(boolean value) {
+ this.autoNumber = value;
}
-
/**
- * Gets the byteLength value for this Field.
+ * Gets the value of the byteLength property.
*
- * @return byteLength
*/
public int getByteLength() {
return byteLength;
}
-
/**
- * Sets the byteLength value for this Field.
+ * Sets the value of the byteLength property.
*
- * @param byteLength
*/
- public void setByteLength(int byteLength) {
- this.byteLength = byteLength;
+ public void setByteLength(int value) {
+ this.byteLength = value;
}
-
/**
- * Gets the calculated value for this Field.
+ * Gets the value of the calculated property.
*
- * @return calculated
*/
public boolean isCalculated() {
return calculated;
}
-
/**
- * Sets the calculated value for this Field.
+ * Sets the value of the calculated property.
*
- * @param calculated
*/
- public void setCalculated(boolean calculated) {
- this.calculated = calculated;
+ public void setCalculated(boolean value) {
+ this.calculated = value;
}
-
/**
- * Gets the calculatedFormula value for this Field.
+ * Gets the value of the calculatedFormula property.
*
- * @return calculatedFormula
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getCalculatedFormula() {
+ public String getCalculatedFormula() {
return calculatedFormula;
}
-
/**
- * Sets the calculatedFormula value for this Field.
+ * Sets the value of the calculatedFormula property.
*
- * @param calculatedFormula
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setCalculatedFormula(java.lang.String calculatedFormula) {
- this.calculatedFormula = calculatedFormula;
+ public void setCalculatedFormula(String value) {
+ this.calculatedFormula = value;
}
-
/**
- * Gets the caseSensitive value for this Field.
+ * Gets the value of the caseSensitive property.
*
- * @return caseSensitive
*/
public boolean isCaseSensitive() {
return caseSensitive;
}
-
/**
- * Sets the caseSensitive value for this Field.
+ * Sets the value of the caseSensitive property.
*
- * @param caseSensitive
*/
- public void setCaseSensitive(boolean caseSensitive) {
- this.caseSensitive = caseSensitive;
+ public void setCaseSensitive(boolean value) {
+ this.caseSensitive = value;
}
-
/**
- * Gets the controllerName value for this Field.
+ * Gets the value of the controllerName property.
*
- * @return controllerName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getControllerName() {
+ public String getControllerName() {
return controllerName;
}
-
/**
- * Sets the controllerName value for this Field.
+ * Sets the value of the controllerName property.
*
- * @param controllerName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setControllerName(java.lang.String controllerName) {
- this.controllerName = controllerName;
+ public void setControllerName(String value) {
+ this.controllerName = value;
}
-
/**
- * Gets the createable value for this Field.
+ * Gets the value of the createable property.
*
- * @return createable
*/
public boolean isCreateable() {
return createable;
}
-
/**
- * Sets the createable value for this Field.
+ * Sets the value of the createable property.
*
- * @param createable
*/
- public void setCreateable(boolean createable) {
- this.createable = createable;
+ public void setCreateable(boolean value) {
+ this.createable = value;
}
-
/**
- * Gets the custom value for this Field.
+ * Gets the value of the custom property.
*
- * @return custom
*/
public boolean isCustom() {
return custom;
}
-
/**
- * Sets the custom value for this Field.
+ * Sets the value of the custom property.
*
- * @param custom
*/
- public void setCustom(boolean custom) {
- this.custom = custom;
+ public void setCustom(boolean value) {
+ this.custom = value;
}
-
/**
- * Gets the defaultValueFormula value for this Field.
+ * Gets the value of the defaultValueFormula property.
*
- * @return defaultValueFormula
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getDefaultValueFormula() {
+ public String getDefaultValueFormula() {
return defaultValueFormula;
}
-
/**
- * Sets the defaultValueFormula value for this Field.
+ * Sets the value of the defaultValueFormula property.
*
- * @param defaultValueFormula
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setDefaultValueFormula(java.lang.String defaultValueFormula) {
- this.defaultValueFormula = defaultValueFormula;
+ public void setDefaultValueFormula(String value) {
+ this.defaultValueFormula = value;
}
-
/**
- * Gets the defaultedOnCreate value for this Field.
+ * Gets the value of the defaultedOnCreate property.
*
- * @return defaultedOnCreate
*/
public boolean isDefaultedOnCreate() {
return defaultedOnCreate;
}
-
/**
- * Sets the defaultedOnCreate value for this Field.
+ * Sets the value of the defaultedOnCreate property.
*
- * @param defaultedOnCreate
*/
- public void setDefaultedOnCreate(boolean defaultedOnCreate) {
- this.defaultedOnCreate = defaultedOnCreate;
+ public void setDefaultedOnCreate(boolean value) {
+ this.defaultedOnCreate = value;
}
-
/**
- * Gets the dependentPicklist value for this Field.
+ * Gets the value of the dependentPicklist property.
*
- * @return dependentPicklist
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getDependentPicklist() {
+ public Boolean isDependentPicklist() {
return dependentPicklist;
}
-
/**
- * Sets the dependentPicklist value for this Field.
+ * Sets the value of the dependentPicklist property.
*
- * @param dependentPicklist
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setDependentPicklist(java.lang.Boolean dependentPicklist) {
- this.dependentPicklist = dependentPicklist;
+ public void setDependentPicklist(Boolean value) {
+ this.dependentPicklist = value;
}
-
/**
- * Gets the deprecatedAndHidden value for this Field.
+ * Gets the value of the deprecatedAndHidden property.
*
- * @return deprecatedAndHidden
*/
public boolean isDeprecatedAndHidden() {
return deprecatedAndHidden;
}
-
/**
- * Sets the deprecatedAndHidden value for this Field.
+ * Sets the value of the deprecatedAndHidden property.
*
- * @param deprecatedAndHidden
*/
- public void setDeprecatedAndHidden(boolean deprecatedAndHidden) {
- this.deprecatedAndHidden = deprecatedAndHidden;
+ public void setDeprecatedAndHidden(boolean value) {
+ this.deprecatedAndHidden = value;
}
-
/**
- * Gets the digits value for this Field.
+ * Gets the value of the digits property.
*
- * @return digits
*/
public int getDigits() {
return digits;
}
-
/**
- * Sets the digits value for this Field.
+ * Sets the value of the digits property.
*
- * @param digits
*/
- public void setDigits(int digits) {
- this.digits = digits;
+ public void setDigits(int value) {
+ this.digits = value;
}
-
/**
- * Gets the externalId value for this Field.
+ * Gets the value of the externalId property.
*
- * @return externalId
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getExternalId() {
+ public Boolean isExternalId() {
return externalId;
}
-
/**
- * Sets the externalId value for this Field.
+ * Sets the value of the externalId property.
*
- * @param externalId
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setExternalId(java.lang.Boolean externalId) {
- this.externalId = externalId;
+ public void setExternalId(Boolean value) {
+ this.externalId = value;
}
-
/**
- * Gets the filterable value for this Field.
+ * Gets the value of the filterable property.
*
- * @return filterable
*/
public boolean isFilterable() {
return filterable;
}
-
/**
- * Sets the filterable value for this Field.
+ * Sets the value of the filterable property.
*
- * @param filterable
*/
- public void setFilterable(boolean filterable) {
- this.filterable = filterable;
+ public void setFilterable(boolean value) {
+ this.filterable = value;
}
-
/**
- * Gets the htmlFormatted value for this Field.
+ * Gets the value of the htmlFormatted property.
*
- * @return htmlFormatted
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getHtmlFormatted() {
+ public Boolean isHtmlFormatted() {
return htmlFormatted;
}
-
/**
- * Sets the htmlFormatted value for this Field.
+ * Sets the value of the htmlFormatted property.
*
- * @param htmlFormatted
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setHtmlFormatted(java.lang.Boolean htmlFormatted) {
- this.htmlFormatted = htmlFormatted;
+ public void setHtmlFormatted(Boolean value) {
+ this.htmlFormatted = value;
}
-
/**
- * Gets the idLookup value for this Field.
+ * Gets the value of the idLookup property.
*
- * @return idLookup
*/
public boolean isIdLookup() {
return idLookup;
}
-
/**
- * Sets the idLookup value for this Field.
+ * Sets the value of the idLookup property.
*
- * @param idLookup
*/
- public void setIdLookup(boolean idLookup) {
- this.idLookup = idLookup;
+ public void setIdLookup(boolean value) {
+ this.idLookup = value;
}
-
/**
- * Gets the inlineHelpText value for this Field.
+ * Gets the value of the inlineHelpText property.
*
- * @return inlineHelpText
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getInlineHelpText() {
+ public String getInlineHelpText() {
return inlineHelpText;
}
-
/**
- * Sets the inlineHelpText value for this Field.
+ * Sets the value of the inlineHelpText property.
*
- * @param inlineHelpText
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setInlineHelpText(java.lang.String inlineHelpText) {
- this.inlineHelpText = inlineHelpText;
+ public void setInlineHelpText(String value) {
+ this.inlineHelpText = value;
}
-
/**
- * Gets the label value for this Field.
+ * Gets the value of the label property.
*
- * @return label
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getLabel() {
+ public String getLabel() {
return label;
}
-
/**
- * Sets the label value for this Field.
+ * Sets the value of the label property.
*
- * @param label
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setLabel(java.lang.String label) {
- this.label = label;
+ public void setLabel(String value) {
+ this.label = value;
}
-
/**
- * Gets the length value for this Field.
+ * Gets the value of the length property.
*
- * @return length
*/
public int getLength() {
return length;
}
-
/**
- * Sets the length value for this Field.
+ * Sets the value of the length property.
*
- * @param length
*/
- public void setLength(int length) {
- this.length = length;
+ public void setLength(int value) {
+ this.length = value;
}
-
/**
- * Gets the name value for this Field.
+ * Gets the value of the name property.
*
- * @return name
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getName() {
+ public String getName() {
return name;
}
-
/**
- * Sets the name value for this Field.
+ * Sets the value of the name property.
*
- * @param name
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setName(java.lang.String name) {
- this.name = name;
+ public void setName(String value) {
+ this.name = value;
}
-
/**
- * Gets the nameField value for this Field.
+ * Gets the value of the nameField property.
*
- * @return nameField
*/
public boolean isNameField() {
return nameField;
}
-
/**
- * Sets the nameField value for this Field.
+ * Sets the value of the nameField property.
*
- * @param nameField
*/
- public void setNameField(boolean nameField) {
- this.nameField = nameField;
+ public void setNameField(boolean value) {
+ this.nameField = value;
}
-
/**
- * Gets the namePointing value for this Field.
+ * Gets the value of the namePointing property.
*
- * @return namePointing
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getNamePointing() {
+ public Boolean isNamePointing() {
return namePointing;
}
-
/**
- * Sets the namePointing value for this Field.
+ * Sets the value of the namePointing property.
*
- * @param namePointing
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setNamePointing(java.lang.Boolean namePointing) {
- this.namePointing = namePointing;
+ public void setNamePointing(Boolean value) {
+ this.namePointing = value;
}
-
/**
- * Gets the nillable value for this Field.
+ * Gets the value of the nillable property.
*
- * @return nillable
*/
public boolean isNillable() {
return nillable;
}
-
/**
- * Sets the nillable value for this Field.
+ * Sets the value of the nillable property.
*
- * @param nillable
*/
- public void setNillable(boolean nillable) {
- this.nillable = nillable;
+ public void setNillable(boolean value) {
+ this.nillable = value;
}
-
/**
- * Gets the picklistValues value for this Field.
+ * Gets the value of the picklistValues property.
*
- * @return picklistValues
- */
- public com.sforce.soap.partner.PicklistEntry[] getPicklistValues() {
- return picklistValues;
- }
-
-
- /**
- * Sets the picklistValues value for this Field.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
picklistValues property.
*
- * @param picklistValues
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPicklistValues().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PicklistEntry }
+ *
+ *
*/
- public void setPicklistValues(com.sforce.soap.partner.PicklistEntry[] picklistValues)
{
- this.picklistValues = picklistValues;
+ public List<PicklistEntry> getPicklistValues() {
+ if (picklistValues == null) {
+ picklistValues = new ArrayList<PicklistEntry>();
+ }
+ return this.picklistValues;
}
- public com.sforce.soap.partner.PicklistEntry getPicklistValues(int i) {
- return this.picklistValues[i];
- }
-
- public void setPicklistValues(int i, com.sforce.soap.partner.PicklistEntry _value) {
- this.picklistValues[i] = _value;
- }
-
-
/**
- * Gets the precision value for this Field.
+ * Gets the value of the precision property.
*
- * @return precision
*/
public int getPrecision() {
return precision;
}
-
/**
- * Sets the precision value for this Field.
+ * Sets the value of the precision property.
*
- * @param precision
*/
- public void setPrecision(int precision) {
- this.precision = precision;
+ public void setPrecision(int value) {
+ this.precision = value;
}
-
/**
- * Gets the referenceTo value for this Field.
+ * Gets the value of the referenceTo property.
*
- * @return referenceTo
- */
- public java.lang.String[] getReferenceTo() {
- return referenceTo;
- }
-
-
- /**
- * Sets the referenceTo value for this Field.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the referenceTo
property.
*
- * @param referenceTo
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getReferenceTo().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
*/
- public void setReferenceTo(java.lang.String[] referenceTo) {
- this.referenceTo = referenceTo;
+ public List<String> getReferenceTo() {
+ if (referenceTo == null) {
+ referenceTo = new ArrayList<String>();
+ }
+ return this.referenceTo;
}
- public java.lang.String getReferenceTo(int i) {
- return this.referenceTo[i];
- }
-
- public void setReferenceTo(int i, java.lang.String _value) {
- this.referenceTo[i] = _value;
- }
-
-
/**
- * Gets the relationshipName value for this Field.
+ * Gets the value of the relationshipName property.
*
- * @return relationshipName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getRelationshipName() {
+ public String getRelationshipName() {
return relationshipName;
}
-
/**
- * Sets the relationshipName value for this Field.
+ * Sets the value of the relationshipName property.
*
- * @param relationshipName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setRelationshipName(java.lang.String relationshipName) {
- this.relationshipName = relationshipName;
+ public void setRelationshipName(String value) {
+ this.relationshipName = value;
}
-
/**
- * Gets the relationshipOrder value for this Field.
+ * Gets the value of the relationshipOrder property.
*
- * @return relationshipOrder
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
*/
- public java.lang.Integer getRelationshipOrder() {
+ public Integer getRelationshipOrder() {
return relationshipOrder;
}
-
/**
- * Sets the relationshipOrder value for this Field.
+ * Sets the value of the relationshipOrder property.
*
- * @param relationshipOrder
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
*/
- public void setRelationshipOrder(java.lang.Integer relationshipOrder) {
- this.relationshipOrder = relationshipOrder;
+ public void setRelationshipOrder(Integer value) {
+ this.relationshipOrder = value;
}
-
/**
- * Gets the restrictedPicklist value for this Field.
+ * Gets the value of the restrictedPicklist property.
*
- * @return restrictedPicklist
*/
public boolean isRestrictedPicklist() {
return restrictedPicklist;
}
-
/**
- * Sets the restrictedPicklist value for this Field.
+ * Sets the value of the restrictedPicklist property.
*
- * @param restrictedPicklist
*/
- public void setRestrictedPicklist(boolean restrictedPicklist) {
- this.restrictedPicklist = restrictedPicklist;
+ public void setRestrictedPicklist(boolean value) {
+ this.restrictedPicklist = value;
}
-
/**
- * Gets the scale value for this Field.
+ * Gets the value of the scale property.
*
- * @return scale
*/
public int getScale() {
return scale;
}
-
/**
- * Sets the scale value for this Field.
+ * Sets the value of the scale property.
*
- * @param scale
*/
- public void setScale(int scale) {
- this.scale = scale;
+ public void setScale(int value) {
+ this.scale = value;
}
-
/**
- * Gets the soapType value for this Field.
+ * Gets the value of the soapType property.
*
- * @return soapType
+ * @return
+ * possible object is
+ * {@link SoapType }
+ *
*/
- public com.sforce.soap.partner.SoapType getSoapType() {
+ public SoapType getSoapType() {
return soapType;
}
-
/**
- * Sets the soapType value for this Field.
+ * Sets the value of the soapType property.
*
- * @param soapType
+ * @param value
+ * allowed object is
+ * {@link SoapType }
+ *
*/
- public void setSoapType(com.sforce.soap.partner.SoapType soapType) {
- this.soapType = soapType;
+ public void setSoapType(SoapType value) {
+ this.soapType = value;
}
-
/**
- * Gets the sortable value for this Field.
+ * Gets the value of the sortable property.
*
- * @return sortable
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getSortable() {
+ public Boolean isSortable() {
return sortable;
}
-
/**
- * Sets the sortable value for this Field.
+ * Sets the value of the sortable property.
*
- * @param sortable
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setSortable(java.lang.Boolean sortable) {
- this.sortable = sortable;
+ public void setSortable(Boolean value) {
+ this.sortable = value;
}
-
/**
- * Gets the type value for this Field.
+ * Gets the value of the type property.
*
- * @return type
+ * @return
+ * possible object is
+ * {@link FieldType }
+ *
*/
- public com.sforce.soap.partner.FieldType getType() {
+ public FieldType getType() {
return type;
}
-
/**
- * Sets the type value for this Field.
+ * Sets the value of the type property.
*
- * @param type
+ * @param value
+ * allowed object is
+ * {@link FieldType }
+ *
*/
- public void setType(com.sforce.soap.partner.FieldType type) {
- this.type = type;
+ public void setType(FieldType value) {
+ this.type = value;
}
-
/**
- * Gets the unique value for this Field.
+ * Gets the value of the unique property.
*
- * @return unique
*/
public boolean isUnique() {
return unique;
}
-
/**
- * Sets the unique value for this Field.
+ * Sets the value of the unique property.
*
- * @param unique
*/
- public void setUnique(boolean unique) {
- this.unique = unique;
+ public void setUnique(boolean value) {
+ this.unique = value;
}
-
/**
- * Gets the updateable value for this Field.
+ * Gets the value of the updateable property.
*
- * @return updateable
*/
public boolean isUpdateable() {
return updateable;
}
-
/**
- * Sets the updateable value for this Field.
+ * Sets the value of the updateable property.
*
- * @param updateable
*/
- public void setUpdateable(boolean updateable) {
- this.updateable = updateable;
+ public void setUpdateable(boolean value) {
+ this.updateable = value;
}
-
/**
- * Gets the writeRequiresMasterRead value for this Field.
+ * Gets the value of the writeRequiresMasterRead property.
*
- * @return writeRequiresMasterRead
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
*/
- public java.lang.Boolean getWriteRequiresMasterRead() {
+ public Boolean isWriteRequiresMasterRead() {
return writeRequiresMasterRead;
}
-
/**
- * Sets the writeRequiresMasterRead value for this Field.
+ * Sets the value of the writeRequiresMasterRead property.
*
- * @param writeRequiresMasterRead
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
*/
- public void setWriteRequiresMasterRead(java.lang.Boolean writeRequiresMasterRead) {
- this.writeRequiresMasterRead = writeRequiresMasterRead;
+ public void setWriteRequiresMasterRead(Boolean value) {
+ this.writeRequiresMasterRead = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Field)) return false;
- Field other = (Field) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.autoNumber == other.isAutoNumber() &&
- this.byteLength == other.getByteLength() &&
- this.calculated == other.isCalculated() &&
- ((this.calculatedFormula==null && other.getCalculatedFormula()==null)
||
- (this.calculatedFormula!=null &&
- this.calculatedFormula.equals(other.getCalculatedFormula()))) &&
- this.caseSensitive == other.isCaseSensitive() &&
- ((this.controllerName==null && other.getControllerName()==null) ||
- (this.controllerName!=null &&
- this.controllerName.equals(other.getControllerName()))) &&
- this.createable == other.isCreateable() &&
- this.custom == other.isCustom() &&
- ((this.defaultValueFormula==null &&
other.getDefaultValueFormula()==null) ||
- (this.defaultValueFormula!=null &&
- this.defaultValueFormula.equals(other.getDefaultValueFormula())))
&&
- this.defaultedOnCreate == other.isDefaultedOnCreate() &&
- ((this.dependentPicklist==null && other.getDependentPicklist()==null)
||
- (this.dependentPicklist!=null &&
- this.dependentPicklist.equals(other.getDependentPicklist()))) &&
- this.deprecatedAndHidden == other.isDeprecatedAndHidden() &&
- this.digits == other.getDigits() &&
- ((this.externalId==null && other.getExternalId()==null) ||
- (this.externalId!=null &&
- this.externalId.equals(other.getExternalId()))) &&
- this.filterable == other.isFilterable() &&
- ((this.htmlFormatted==null && other.getHtmlFormatted()==null) ||
- (this.htmlFormatted!=null &&
- this.htmlFormatted.equals(other.getHtmlFormatted()))) &&
- this.idLookup == other.isIdLookup() &&
- ((this.inlineHelpText==null && other.getInlineHelpText()==null) ||
- (this.inlineHelpText!=null &&
- this.inlineHelpText.equals(other.getInlineHelpText()))) &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- this.length == other.getLength() &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- this.nameField == other.isNameField() &&
- ((this.namePointing==null && other.getNamePointing()==null) ||
- (this.namePointing!=null &&
- this.namePointing.equals(other.getNamePointing()))) &&
- this.nillable == other.isNillable() &&
- ((this.picklistValues==null && other.getPicklistValues()==null) ||
- (this.picklistValues!=null &&
- java.util.Arrays.equals(this.picklistValues, other.getPicklistValues())))
&&
- this.precision == other.getPrecision() &&
- ((this.referenceTo==null && other.getReferenceTo()==null) ||
- (this.referenceTo!=null &&
- java.util.Arrays.equals(this.referenceTo, other.getReferenceTo())))
&&
- ((this.relationshipName==null && other.getRelationshipName()==null)
||
- (this.relationshipName!=null &&
- this.relationshipName.equals(other.getRelationshipName()))) &&
- ((this.relationshipOrder==null && other.getRelationshipOrder()==null)
||
- (this.relationshipOrder!=null &&
- this.relationshipOrder.equals(other.getRelationshipOrder()))) &&
- this.restrictedPicklist == other.isRestrictedPicklist() &&
- this.scale == other.getScale() &&
- ((this.soapType==null && other.getSoapType()==null) ||
- (this.soapType!=null &&
- this.soapType.equals(other.getSoapType()))) &&
- ((this.sortable==null && other.getSortable()==null) ||
- (this.sortable!=null &&
- this.sortable.equals(other.getSortable()))) &&
- ((this.type==null && other.getType()==null) ||
- (this.type!=null &&
- this.type.equals(other.getType()))) &&
- this.unique == other.isUnique() &&
- this.updateable == other.isUpdateable() &&
- ((this.writeRequiresMasterRead==null &&
other.getWriteRequiresMasterRead()==null) ||
- (this.writeRequiresMasterRead!=null &&
- this.writeRequiresMasterRead.equals(other.getWriteRequiresMasterRead())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isAutoNumber() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += getByteLength();
- _hashCode += (isCalculated() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getCalculatedFormula() != null) {
- _hashCode += getCalculatedFormula().hashCode();
- }
- _hashCode += (isCaseSensitive() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getControllerName() != null) {
- _hashCode += getControllerName().hashCode();
- }
- _hashCode += (isCreateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getDefaultValueFormula() != null) {
- _hashCode += getDefaultValueFormula().hashCode();
- }
- _hashCode += (isDefaultedOnCreate() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getDependentPicklist() != null) {
- _hashCode += getDependentPicklist().hashCode();
- }
- _hashCode += (isDeprecatedAndHidden() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- _hashCode += getDigits();
- if (getExternalId() != null) {
- _hashCode += getExternalId().hashCode();
- }
- _hashCode += (isFilterable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getHtmlFormatted() != null) {
- _hashCode += getHtmlFormatted().hashCode();
- }
- _hashCode += (isIdLookup() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getInlineHelpText() != null) {
- _hashCode += getInlineHelpText().hashCode();
- }
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- _hashCode += getLength();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- _hashCode += (isNameField() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getNamePointing() != null) {
- _hashCode += getNamePointing().hashCode();
- }
- _hashCode += (isNillable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getPicklistValues() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getPicklistValues());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getPicklistValues(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += getPrecision();
- if (getReferenceTo() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getReferenceTo());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getReferenceTo(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getRelationshipName() != null) {
- _hashCode += getRelationshipName().hashCode();
- }
- if (getRelationshipOrder() != null) {
- _hashCode += getRelationshipOrder().hashCode();
- }
- _hashCode += (isRestrictedPicklist() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += getScale();
- if (getSoapType() != null) {
- _hashCode += getSoapType().hashCode();
- }
- if (getSortable() != null) {
- _hashCode += getSortable().hashCode();
- }
- if (getType() != null) {
- _hashCode += getType().hashCode();
- }
- _hashCode += (isUnique() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isUpdateable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getWriteRequiresMasterRead() != null) {
- _hashCode += getWriteRequiresMasterRead().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Field.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Field"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("autoNumber");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"autoNumber"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("byteLength");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"byteLength"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("calculated");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"calculated"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("calculatedFormula");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"calculatedFormula"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("caseSensitive");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"caseSensitive"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("controllerName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"controllerName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("createable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"createable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("custom");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "custom"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("defaultValueFormula");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"defaultValueFormula"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("defaultedOnCreate");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"defaultedOnCreate"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("dependentPicklist");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"dependentPicklist"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deprecatedAndHidden");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deprecatedAndHidden"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("digits");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "digits"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("externalId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"externalId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("filterable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"filterable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("htmlFormatted");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"htmlFormatted"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("idLookup");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"idLookup"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("inlineHelpText");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"inlineHelpText"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("length");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "length"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("nameField");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"nameField"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("namePointing");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"namePointing"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("nillable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"nillable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("picklistValues");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"picklistValues"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistEntry"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("precision");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"precision"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("referenceTo");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"referenceTo"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("relationshipName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"relationshipName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("relationshipOrder");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"relationshipOrder"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("restrictedPicklist");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"restrictedPicklist"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("scale");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "scale"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("soapType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"soapType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"soapType"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sortable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sortable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("type");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "type"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"fieldType"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("unique");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "unique"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("updateable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"updateable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("writeRequiresMasterRead");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"writeRequiresMasterRead"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/FieldType.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/FieldType.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/FieldType.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,108 +1,108 @@
-/**
- * FieldType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class FieldType implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected FieldType(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final java.lang.String _value1 = "string";
- public static final java.lang.String _value2 = "picklist";
- public static final java.lang.String _value3 = "multipicklist";
- public static final java.lang.String _value4 = "combobox";
- public static final java.lang.String _value5 = "reference";
- public static final java.lang.String _value6 = "base64";
- public static final java.lang.String _value7 = "boolean";
- public static final java.lang.String _value8 = "currency";
- public static final java.lang.String _value9 = "textarea";
- public static final java.lang.String _value10 = "int";
- public static final java.lang.String _value11 = "double";
- public static final java.lang.String _value12 = "percent";
- public static final java.lang.String _value13 = "phone";
- public static final java.lang.String _value14 = "id";
- public static final java.lang.String _value15 = "date";
- public static final java.lang.String _value16 = "datetime";
- public static final java.lang.String _value17 = "time";
- public static final java.lang.String _value18 = "url";
- public static final java.lang.String _value19 = "email";
- public static final java.lang.String _value20 = "encryptedstring";
- public static final java.lang.String _value21 = "anyType";
- public static final FieldType value1 = new FieldType(_value1);
- public static final FieldType value2 = new FieldType(_value2);
- public static final FieldType value3 = new FieldType(_value3);
- public static final FieldType value4 = new FieldType(_value4);
- public static final FieldType value5 = new FieldType(_value5);
- public static final FieldType value6 = new FieldType(_value6);
- public static final FieldType value7 = new FieldType(_value7);
- public static final FieldType value8 = new FieldType(_value8);
- public static final FieldType value9 = new FieldType(_value9);
- public static final FieldType value10 = new FieldType(_value10);
- public static final FieldType value11 = new FieldType(_value11);
- public static final FieldType value12 = new FieldType(_value12);
- public static final FieldType value13 = new FieldType(_value13);
- public static final FieldType value14 = new FieldType(_value14);
- public static final FieldType value15 = new FieldType(_value15);
- public static final FieldType value16 = new FieldType(_value16);
- public static final FieldType value17 = new FieldType(_value17);
- public static final FieldType value18 = new FieldType(_value18);
- public static final FieldType value19 = new FieldType(_value19);
- public static final FieldType value20 = new FieldType(_value20);
- public static final FieldType value21 = new FieldType(_value21);
- public java.lang.String getValue() { return _value_;}
- public static FieldType fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- FieldType enumeration = (FieldType)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static FieldType fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(FieldType.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"fieldType"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for fieldType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="fieldType">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="string"/>
+ * <enumeration value="picklist"/>
+ * <enumeration value="multipicklist"/>
+ * <enumeration value="combobox"/>
+ * <enumeration value="reference"/>
+ * <enumeration value="base64"/>
+ * <enumeration value="boolean"/>
+ * <enumeration value="currency"/>
+ * <enumeration value="textarea"/>
+ * <enumeration value="int"/>
+ * <enumeration value="double"/>
+ * <enumeration value="percent"/>
+ * <enumeration value="phone"/>
+ * <enumeration value="id"/>
+ * <enumeration value="date"/>
+ * <enumeration value="datetime"/>
+ * <enumeration value="time"/>
+ * <enumeration value="url"/>
+ * <enumeration value="email"/>
+ * <enumeration value="encryptedstring"/>
+ * <enumeration value="anyType"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "fieldType")
+@XmlEnum
+public enum FieldType {
+
+ @XmlEnumValue("string")
+ STRING("string"),
+ @XmlEnumValue("picklist")
+ PICKLIST("picklist"),
+ @XmlEnumValue("multipicklist")
+ MULTIPICKLIST("multipicklist"),
+ @XmlEnumValue("combobox")
+ COMBOBOX("combobox"),
+ @XmlEnumValue("reference")
+ REFERENCE("reference"),
+ @XmlEnumValue("base64")
+ BASE_64("base64"),
+ @XmlEnumValue("boolean")
+ BOOLEAN("boolean"),
+ @XmlEnumValue("currency")
+ CURRENCY("currency"),
+ @XmlEnumValue("textarea")
+ TEXTAREA("textarea"),
+ @XmlEnumValue("int")
+ INT("int"),
+ @XmlEnumValue("double")
+ DOUBLE("double"),
+ @XmlEnumValue("percent")
+ PERCENT("percent"),
+ @XmlEnumValue("phone")
+ PHONE("phone"),
+ @XmlEnumValue("id")
+ ID("id"),
+ @XmlEnumValue("date")
+ DATE("date"),
+ @XmlEnumValue("datetime")
+ DATETIME("datetime"),
+ @XmlEnumValue("time")
+ TIME("time"),
+ @XmlEnumValue("url")
+ URL("url"),
+ @XmlEnumValue("email")
+ EMAIL("email"),
+ @XmlEnumValue("encryptedstring")
+ ENCRYPTEDSTRING("encryptedstring"),
+ @XmlEnumValue("anyType")
+ ANY_TYPE("anyType");
+ private final String value;
+
+ FieldType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static FieldType fromValue(String v) {
+ for (FieldType c: FieldType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeleted.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeleted.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeleted.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,191 +1,124 @@
-/**
- * GetDeleted.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetDeleted implements java.io.Serializable {
- private java.lang.String sObjectType;
-
- private java.util.Calendar startDate;
-
- private java.util.Calendar endDate;
-
- public GetDeleted() {
- }
-
- public GetDeleted(
- java.lang.String sObjectType,
- java.util.Calendar startDate,
- java.util.Calendar endDate) {
- this.sObjectType = sObjectType;
- this.startDate = startDate;
- this.endDate = endDate;
- }
-
-
- /**
- * Gets the sObjectType value for this GetDeleted.
- *
- * @return sObjectType
- */
- public java.lang.String getSObjectType() {
- return sObjectType;
- }
-
-
- /**
- * Sets the sObjectType value for this GetDeleted.
- *
- * @param sObjectType
- */
- public void setSObjectType(java.lang.String sObjectType) {
- this.sObjectType = sObjectType;
- }
-
-
- /**
- * Gets the startDate value for this GetDeleted.
- *
- * @return startDate
- */
- public java.util.Calendar getStartDate() {
- return startDate;
- }
-
-
- /**
- * Sets the startDate value for this GetDeleted.
- *
- * @param startDate
- */
- public void setStartDate(java.util.Calendar startDate) {
- this.startDate = startDate;
- }
-
-
- /**
- * Gets the endDate value for this GetDeleted.
- *
- * @return endDate
- */
- public java.util.Calendar getEndDate() {
- return endDate;
- }
-
-
- /**
- * Sets the endDate value for this GetDeleted.
- *
- * @param endDate
- */
- public void setEndDate(java.util.Calendar endDate) {
- this.endDate = endDate;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetDeleted)) return false;
- GetDeleted other = (GetDeleted) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.sObjectType==null && other.getSObjectType()==null) ||
- (this.sObjectType!=null &&
- this.sObjectType.equals(other.getSObjectType()))) &&
- ((this.startDate==null && other.getStartDate()==null) ||
- (this.startDate!=null &&
- this.startDate.equals(other.getStartDate()))) &&
- ((this.endDate==null && other.getEndDate()==null) ||
- (this.endDate!=null &&
- this.endDate.equals(other.getEndDate())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSObjectType() != null) {
- _hashCode += getSObjectType().hashCode();
- }
- if (getStartDate() != null) {
- _hashCode += getStartDate().hashCode();
- }
- if (getEndDate() != null) {
- _hashCode += getEndDate().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetDeleted.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getDeleted"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("SObjectType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("startDate");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"startDate"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("endDate");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "endDate"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjectType"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="startDate"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="endDate"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjectType",
+ "startDate",
+ "endDate"
+})
+@XmlRootElement(name = "getDeleted")
+public class GetDeleted {
+
+ @XmlElement(required = true)
+ protected String sObjectType;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar startDate;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar endDate;
+
+ /**
+ * Gets the value of the sObjectType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSObjectType() {
+ return sObjectType;
+ }
+
+ /**
+ * Sets the value of the sObjectType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSObjectType(String value) {
+ this.sObjectType = value;
+ }
+
+ /**
+ * Gets the value of the startDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getStartDate() {
+ return startDate;
+ }
+
+ /**
+ * Sets the value of the startDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setStartDate(XMLGregorianCalendar value) {
+ this.startDate = value;
+ }
+
+ /**
+ * Gets the value of the endDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getEndDate() {
+ return endDate;
+ }
+
+ /**
+ * Sets the value of the endDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setEndDate(XMLGregorianCalendar value) {
+ this.endDate = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * GetDeletedResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetDeletedResponse implements java.io.Serializable {
- private com.sforce.soap.partner.GetDeletedResult result;
-
- public GetDeletedResponse() {
- }
-
- public GetDeletedResponse(
- com.sforce.soap.partner.GetDeletedResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this GetDeletedResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.GetDeletedResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this GetDeletedResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.GetDeletedResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetDeletedResponse)) return false;
- GetDeletedResponse other = (GetDeletedResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetDeletedResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getDeletedResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetDeletedResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}GetDeletedResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "getDeletedResponse")
+public class GetDeletedResponse {
+
+ @XmlElement(required = true)
+ protected GetDeletedResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link GetDeletedResult }
+ *
+ */
+ public GetDeletedResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GetDeletedResult }
+ *
+ */
+ public void setResult(GetDeletedResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetDeletedResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,246 +1,155 @@
-/**
- * GetDeletedResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetDeletedResult implements java.io.Serializable {
- private com.sforce.soap.partner.DeletedRecord[] deletedRecords;
-
- private java.util.Calendar earliestDateAvailable;
-
- private java.util.Calendar latestDateCovered;
-
- private java.lang.String sforceReserved;
-
- public GetDeletedResult() {
- }
-
- public GetDeletedResult(
- com.sforce.soap.partner.DeletedRecord[] deletedRecords,
- java.util.Calendar earliestDateAvailable,
- java.util.Calendar latestDateCovered,
- java.lang.String sforceReserved) {
- this.deletedRecords = deletedRecords;
- this.earliestDateAvailable = earliestDateAvailable;
- this.latestDateCovered = latestDateCovered;
- this.sforceReserved = sforceReserved;
- }
-
-
- /**
- * Gets the deletedRecords value for this GetDeletedResult.
- *
- * @return deletedRecords
- */
- public com.sforce.soap.partner.DeletedRecord[] getDeletedRecords() {
- return deletedRecords;
- }
-
-
- /**
- * Sets the deletedRecords value for this GetDeletedResult.
- *
- * @param deletedRecords
- */
- public void setDeletedRecords(com.sforce.soap.partner.DeletedRecord[] deletedRecords)
{
- this.deletedRecords = deletedRecords;
- }
-
- public com.sforce.soap.partner.DeletedRecord getDeletedRecords(int i) {
- return this.deletedRecords[i];
- }
-
- public void setDeletedRecords(int i, com.sforce.soap.partner.DeletedRecord _value) {
- this.deletedRecords[i] = _value;
- }
-
-
- /**
- * Gets the earliestDateAvailable value for this GetDeletedResult.
- *
- * @return earliestDateAvailable
- */
- public java.util.Calendar getEarliestDateAvailable() {
- return earliestDateAvailable;
- }
-
-
- /**
- * Sets the earliestDateAvailable value for this GetDeletedResult.
- *
- * @param earliestDateAvailable
- */
- public void setEarliestDateAvailable(java.util.Calendar earliestDateAvailable) {
- this.earliestDateAvailable = earliestDateAvailable;
- }
-
-
- /**
- * Gets the latestDateCovered value for this GetDeletedResult.
- *
- * @return latestDateCovered
- */
- public java.util.Calendar getLatestDateCovered() {
- return latestDateCovered;
- }
-
-
- /**
- * Sets the latestDateCovered value for this GetDeletedResult.
- *
- * @param latestDateCovered
- */
- public void setLatestDateCovered(java.util.Calendar latestDateCovered) {
- this.latestDateCovered = latestDateCovered;
- }
-
-
- /**
- * Gets the sforceReserved value for this GetDeletedResult.
- *
- * @return sforceReserved
- */
- public java.lang.String getSforceReserved() {
- return sforceReserved;
- }
-
-
- /**
- * Sets the sforceReserved value for this GetDeletedResult.
- *
- * @param sforceReserved
- */
- public void setSforceReserved(java.lang.String sforceReserved) {
- this.sforceReserved = sforceReserved;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetDeletedResult)) return false;
- GetDeletedResult other = (GetDeletedResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.deletedRecords==null && other.getDeletedRecords()==null) ||
- (this.deletedRecords!=null &&
- java.util.Arrays.equals(this.deletedRecords, other.getDeletedRecords())))
&&
- ((this.earliestDateAvailable==null &&
other.getEarliestDateAvailable()==null) ||
- (this.earliestDateAvailable!=null &&
- this.earliestDateAvailable.equals(other.getEarliestDateAvailable())))
&&
- ((this.latestDateCovered==null && other.getLatestDateCovered()==null)
||
- (this.latestDateCovered!=null &&
- this.latestDateCovered.equals(other.getLatestDateCovered()))) &&
- ((this.sforceReserved==null && other.getSforceReserved()==null) ||
- (this.sforceReserved!=null &&
- this.sforceReserved.equals(other.getSforceReserved())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getDeletedRecords() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getDeletedRecords());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getDeletedRecords(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getEarliestDateAvailable() != null) {
- _hashCode += getEarliestDateAvailable().hashCode();
- }
- if (getLatestDateCovered() != null) {
- _hashCode += getLatestDateCovered().hashCode();
- }
- if (getSforceReserved() != null) {
- _hashCode += getSforceReserved().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetDeletedResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetDeletedResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("deletedRecords");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"deletedRecords"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeletedRecord"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("earliestDateAvailable");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"earliestDateAvailable"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("latestDateCovered");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"latestDateCovered"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sforceReserved");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sforceReserved"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for GetDeletedResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="GetDeletedResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="deletedRecords"
type="{urn:partner.soap.sforce.com}DeletedRecord"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="earliestDateAvailable"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="latestDateCovered"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="sforceReserved"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "GetDeletedResult", propOrder = {
+ "deletedRecords",
+ "earliestDateAvailable",
+ "latestDateCovered",
+ "sforceReserved"
+})
+public class GetDeletedResult {
+
+ protected List<DeletedRecord> deletedRecords;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar earliestDateAvailable;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar latestDateCovered;
+ protected String sforceReserved;
+
+ /**
+ * Gets the value of the deletedRecords property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
deletedRecords property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDeletedRecords().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link DeletedRecord }
+ *
+ *
+ */
+ public List<DeletedRecord> getDeletedRecords() {
+ if (deletedRecords == null) {
+ deletedRecords = new ArrayList<DeletedRecord>();
+ }
+ return this.deletedRecords;
+ }
+
+ /**
+ * Gets the value of the earliestDateAvailable property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getEarliestDateAvailable() {
+ return earliestDateAvailable;
+ }
+
+ /**
+ * Sets the value of the earliestDateAvailable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setEarliestDateAvailable(XMLGregorianCalendar value) {
+ this.earliestDateAvailable = value;
+ }
+
+ /**
+ * Gets the value of the latestDateCovered property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getLatestDateCovered() {
+ return latestDateCovered;
+ }
+
+ /**
+ * Sets the value of the latestDateCovered property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setLatestDateCovered(XMLGregorianCalendar value) {
+ this.latestDateCovered = value;
+ }
+
+ /**
+ * Gets the value of the sforceReserved property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSforceReserved() {
+ return sforceReserved;
+ }
+
+ /**
+ * Sets the value of the sforceReserved property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSforceReserved(String value) {
+ this.sforceReserved = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestamp.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestamp.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestamp.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,34 @@
-/**
- * GetServerTimestamp.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetServerTimestamp implements java.io.Serializable {
- public GetServerTimestamp() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetServerTimestamp)) return false;
- GetServerTimestamp other = (GetServerTimestamp) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetServerTimestamp.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getServerTimestamp"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "getServerTimestamp")
+public class GetServerTimestamp {
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * GetServerTimestampResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetServerTimestampResponse implements java.io.Serializable {
- private com.sforce.soap.partner.GetServerTimestampResult result;
-
- public GetServerTimestampResponse() {
- }
-
- public GetServerTimestampResponse(
- com.sforce.soap.partner.GetServerTimestampResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this GetServerTimestampResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.GetServerTimestampResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this GetServerTimestampResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.GetServerTimestampResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetServerTimestampResponse)) return false;
- GetServerTimestampResponse other = (GetServerTimestampResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetServerTimestampResponse.class,
true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getServerTimestampResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetServerTimestampResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}GetServerTimestampResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "getServerTimestampResponse")
+public class GetServerTimestampResponse {
+
+ @XmlElement(required = true)
+ protected GetServerTimestampResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link GetServerTimestampResult }
+ *
+ */
+ public GetServerTimestampResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GetServerTimestampResult }
+ *
+ */
+ public void setResult(GetServerTimestampResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetServerTimestampResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,65 @@
-/**
- * GetServerTimestampResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetServerTimestampResult implements java.io.Serializable {
- private java.util.Calendar timestamp;
-
- public GetServerTimestampResult() {
- }
-
- public GetServerTimestampResult(
- java.util.Calendar timestamp) {
- this.timestamp = timestamp;
- }
-
-
- /**
- * Gets the timestamp value for this GetServerTimestampResult.
- *
- * @return timestamp
- */
- public java.util.Calendar getTimestamp() {
- return timestamp;
- }
-
-
- /**
- * Sets the timestamp value for this GetServerTimestampResult.
- *
- * @param timestamp
- */
- public void setTimestamp(java.util.Calendar timestamp) {
- this.timestamp = timestamp;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetServerTimestampResult)) return false;
- GetServerTimestampResult other = (GetServerTimestampResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.timestamp==null && other.getTimestamp()==null) ||
- (this.timestamp!=null &&
- this.timestamp.equals(other.getTimestamp())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getTimestamp() != null) {
- _hashCode += getTimestamp().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetServerTimestampResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetServerTimestampResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("timestamp");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"timestamp"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for GetServerTimestampResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="GetServerTimestampResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="timestamp"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "GetServerTimestampResult", propOrder = {
+ "timestamp"
+})
+public class GetServerTimestampResult {
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar timestamp;
+
+ /**
+ * Gets the value of the timestamp property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getTimestamp() {
+ return timestamp;
+ }
+
+ /**
+ * Sets the value of the timestamp property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setTimestamp(XMLGregorianCalendar value) {
+ this.timestamp = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdated.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdated.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdated.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,191 +1,124 @@
-/**
- * GetUpdated.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetUpdated implements java.io.Serializable {
- private java.lang.String sObjectType;
-
- private java.util.Calendar startDate;
-
- private java.util.Calendar endDate;
-
- public GetUpdated() {
- }
-
- public GetUpdated(
- java.lang.String sObjectType,
- java.util.Calendar startDate,
- java.util.Calendar endDate) {
- this.sObjectType = sObjectType;
- this.startDate = startDate;
- this.endDate = endDate;
- }
-
-
- /**
- * Gets the sObjectType value for this GetUpdated.
- *
- * @return sObjectType
- */
- public java.lang.String getSObjectType() {
- return sObjectType;
- }
-
-
- /**
- * Sets the sObjectType value for this GetUpdated.
- *
- * @param sObjectType
- */
- public void setSObjectType(java.lang.String sObjectType) {
- this.sObjectType = sObjectType;
- }
-
-
- /**
- * Gets the startDate value for this GetUpdated.
- *
- * @return startDate
- */
- public java.util.Calendar getStartDate() {
- return startDate;
- }
-
-
- /**
- * Sets the startDate value for this GetUpdated.
- *
- * @param startDate
- */
- public void setStartDate(java.util.Calendar startDate) {
- this.startDate = startDate;
- }
-
-
- /**
- * Gets the endDate value for this GetUpdated.
- *
- * @return endDate
- */
- public java.util.Calendar getEndDate() {
- return endDate;
- }
-
-
- /**
- * Sets the endDate value for this GetUpdated.
- *
- * @param endDate
- */
- public void setEndDate(java.util.Calendar endDate) {
- this.endDate = endDate;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetUpdated)) return false;
- GetUpdated other = (GetUpdated) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.sObjectType==null && other.getSObjectType()==null) ||
- (this.sObjectType!=null &&
- this.sObjectType.equals(other.getSObjectType()))) &&
- ((this.startDate==null && other.getStartDate()==null) ||
- (this.startDate!=null &&
- this.startDate.equals(other.getStartDate()))) &&
- ((this.endDate==null && other.getEndDate()==null) ||
- (this.endDate!=null &&
- this.endDate.equals(other.getEndDate())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSObjectType() != null) {
- _hashCode += getSObjectType().hashCode();
- }
- if (getStartDate() != null) {
- _hashCode += getStartDate().hashCode();
- }
- if (getEndDate() != null) {
- _hashCode += getEndDate().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetUpdated.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUpdated"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("SObjectType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("startDate");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"startDate"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("endDate");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "endDate"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjectType"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="startDate"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="endDate"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjectType",
+ "startDate",
+ "endDate"
+})
+@XmlRootElement(name = "getUpdated")
+public class GetUpdated {
+
+ @XmlElement(required = true)
+ protected String sObjectType;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar startDate;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar endDate;
+
+ /**
+ * Gets the value of the sObjectType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSObjectType() {
+ return sObjectType;
+ }
+
+ /**
+ * Sets the value of the sObjectType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSObjectType(String value) {
+ this.sObjectType = value;
+ }
+
+ /**
+ * Gets the value of the startDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getStartDate() {
+ return startDate;
+ }
+
+ /**
+ * Sets the value of the startDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setStartDate(XMLGregorianCalendar value) {
+ this.startDate = value;
+ }
+
+ /**
+ * Gets the value of the endDate property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getEndDate() {
+ return endDate;
+ }
+
+ /**
+ * Sets the value of the endDate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setEndDate(XMLGregorianCalendar value) {
+ this.endDate = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * GetUpdatedResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetUpdatedResponse implements java.io.Serializable {
- private com.sforce.soap.partner.GetUpdatedResult result;
-
- public GetUpdatedResponse() {
- }
-
- public GetUpdatedResponse(
- com.sforce.soap.partner.GetUpdatedResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this GetUpdatedResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.GetUpdatedResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this GetUpdatedResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.GetUpdatedResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetUpdatedResponse)) return false;
- GetUpdatedResponse other = (GetUpdatedResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetUpdatedResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUpdatedResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUpdatedResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}GetUpdatedResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "getUpdatedResponse")
+public class GetUpdatedResponse {
+
+ @XmlElement(required = true)
+ protected GetUpdatedResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link GetUpdatedResult }
+ *
+ */
+ public GetUpdatedResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GetUpdatedResult }
+ *
+ */
+ public void setResult(GetUpdatedResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUpdatedResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,210 +1,126 @@
-/**
- * GetUpdatedResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetUpdatedResult implements java.io.Serializable {
- private java.lang.String[] ids;
-
- private java.util.Calendar latestDateCovered;
-
- private java.lang.String sforceReserved;
-
- public GetUpdatedResult() {
- }
-
- public GetUpdatedResult(
- java.lang.String[] ids,
- java.util.Calendar latestDateCovered,
- java.lang.String sforceReserved) {
- this.ids = ids;
- this.latestDateCovered = latestDateCovered;
- this.sforceReserved = sforceReserved;
- }
-
-
- /**
- * Gets the ids value for this GetUpdatedResult.
- *
- * @return ids
- */
- public java.lang.String[] getIds() {
- return ids;
- }
-
-
- /**
- * Sets the ids value for this GetUpdatedResult.
- *
- * @param ids
- */
- public void setIds(java.lang.String[] ids) {
- this.ids = ids;
- }
-
- public java.lang.String getIds(int i) {
- return this.ids[i];
- }
-
- public void setIds(int i, java.lang.String _value) {
- this.ids[i] = _value;
- }
-
-
- /**
- * Gets the latestDateCovered value for this GetUpdatedResult.
- *
- * @return latestDateCovered
- */
- public java.util.Calendar getLatestDateCovered() {
- return latestDateCovered;
- }
-
-
- /**
- * Sets the latestDateCovered value for this GetUpdatedResult.
- *
- * @param latestDateCovered
- */
- public void setLatestDateCovered(java.util.Calendar latestDateCovered) {
- this.latestDateCovered = latestDateCovered;
- }
-
-
- /**
- * Gets the sforceReserved value for this GetUpdatedResult.
- *
- * @return sforceReserved
- */
- public java.lang.String getSforceReserved() {
- return sforceReserved;
- }
-
-
- /**
- * Sets the sforceReserved value for this GetUpdatedResult.
- *
- * @param sforceReserved
- */
- public void setSforceReserved(java.lang.String sforceReserved) {
- this.sforceReserved = sforceReserved;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetUpdatedResult)) return false;
- GetUpdatedResult other = (GetUpdatedResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.ids==null && other.getIds()==null) ||
- (this.ids!=null &&
- java.util.Arrays.equals(this.ids, other.getIds()))) &&
- ((this.latestDateCovered==null && other.getLatestDateCovered()==null)
||
- (this.latestDateCovered!=null &&
- this.latestDateCovered.equals(other.getLatestDateCovered()))) &&
- ((this.sforceReserved==null && other.getSforceReserved()==null) ||
- (this.sforceReserved!=null &&
- this.sforceReserved.equals(other.getSforceReserved())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getIds(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getLatestDateCovered() != null) {
- _hashCode += getLatestDateCovered().hashCode();
- }
- if (getSforceReserved() != null) {
- _hashCode += getSforceReserved().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetUpdatedResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUpdatedResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ids");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("latestDateCovered");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"latestDateCovered"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sforceReserved");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sforceReserved"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for GetUpdatedResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="GetUpdatedResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ids"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="latestDateCovered"
type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="sforceReserved"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "GetUpdatedResult", propOrder = {
+ "ids",
+ "latestDateCovered",
+ "sforceReserved"
+})
+public class GetUpdatedResult {
+
+ protected List<String> ids;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar latestDateCovered;
+ protected String sforceReserved;
+
+ /**
+ * Gets the value of the ids property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ids
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIds() {
+ if (ids == null) {
+ ids = new ArrayList<String>();
+ }
+ return this.ids;
+ }
+
+ /**
+ * Gets the value of the latestDateCovered property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getLatestDateCovered() {
+ return latestDateCovered;
+ }
+
+ /**
+ * Sets the value of the latestDateCovered property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setLatestDateCovered(XMLGregorianCalendar value) {
+ this.latestDateCovered = value;
+ }
+
+ /**
+ * Gets the value of the sforceReserved property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSforceReserved() {
+ return sforceReserved;
+ }
+
+ /**
+ * Sets the value of the sforceReserved property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSforceReserved(String value) {
+ this.sforceReserved = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfo.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfo.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfo.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,34 @@
-/**
- * GetUserInfo.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetUserInfo implements java.io.Serializable {
- public GetUserInfo() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetUserInfo)) return false;
- GetUserInfo other = (GetUserInfo) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetUserInfo.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUserInfo"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "getUserInfo")
+public class GetUserInfo {
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * GetUserInfoResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class GetUserInfoResponse implements java.io.Serializable {
- private com.sforce.soap.partner.GetUserInfoResult result;
-
- public GetUserInfoResponse() {
- }
-
- public GetUserInfoResponse(
- com.sforce.soap.partner.GetUserInfoResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this GetUserInfoResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.GetUserInfoResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this GetUserInfoResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.GetUserInfoResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetUserInfoResponse)) return false;
- GetUserInfoResponse other = (GetUserInfoResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetUserInfoResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUserInfoResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUserInfoResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}GetUserInfoResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "getUserInfoResponse")
+public class GetUserInfoResponse {
+
+ @XmlElement(required = true)
+ protected GetUserInfoResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link GetUserInfoResult }
+ *
+ */
+ public GetUserInfoResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GetUserInfoResult }
+ *
+ */
+ public void setResult(GetUserInfoResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/GetUserInfoResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,787 +1,558 @@
-/**
- * GetUserInfoResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class GetUserInfoResult implements java.io.Serializable {
- private boolean accessibilityMode;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private java.lang.String currencySymbol;
- private java.lang.String orgDefaultCurrencyIsoCode;
+/**
+ * <p>Java class for GetUserInfoResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="GetUserInfoResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="accessibilityMode"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="currencySymbol"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="orgDefaultCurrencyIsoCode"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="orgDisallowHtmlAttachments"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="orgHasPersonAccounts"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="organizationId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="organizationMultiCurrency"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="organizationName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="profileId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="roleId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="userDefaultCurrencyIsoCode"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userEmail"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userFullName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="userLanguage"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userLocale"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userTimeZone"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userType"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userUiSkin"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "GetUserInfoResult", propOrder = {
+ "accessibilityMode",
+ "currencySymbol",
+ "orgDefaultCurrencyIsoCode",
+ "orgDisallowHtmlAttachments",
+ "orgHasPersonAccounts",
+ "organizationId",
+ "organizationMultiCurrency",
+ "organizationName",
+ "profileId",
+ "roleId",
+ "userDefaultCurrencyIsoCode",
+ "userEmail",
+ "userFullName",
+ "userId",
+ "userLanguage",
+ "userLocale",
+ "userName",
+ "userTimeZone",
+ "userType",
+ "userUiSkin"
+})
+public class GetUserInfoResult {
- private boolean orgDisallowHtmlAttachments;
+ protected boolean accessibilityMode;
+ @XmlElement(required = true, nillable = true)
+ protected String currencySymbol;
+ @XmlElement(required = true, nillable = true)
+ protected String orgDefaultCurrencyIsoCode;
+ protected boolean orgDisallowHtmlAttachments;
+ protected boolean orgHasPersonAccounts;
+ @XmlElement(required = true)
+ protected String organizationId;
+ protected boolean organizationMultiCurrency;
+ @XmlElement(required = true)
+ protected String organizationName;
+ @XmlElement(required = true)
+ protected String profileId;
+ @XmlElement(required = true, nillable = true)
+ protected String roleId;
+ @XmlElement(required = true, nillable = true)
+ protected String userDefaultCurrencyIsoCode;
+ @XmlElement(required = true)
+ protected String userEmail;
+ @XmlElement(required = true)
+ protected String userFullName;
+ @XmlElement(required = true)
+ protected String userId;
+ @XmlElement(required = true)
+ protected String userLanguage;
+ @XmlElement(required = true)
+ protected String userLocale;
+ @XmlElement(required = true)
+ protected String userName;
+ @XmlElement(required = true)
+ protected String userTimeZone;
+ @XmlElement(required = true)
+ protected String userType;
+ @XmlElement(required = true)
+ protected String userUiSkin;
- private boolean orgHasPersonAccounts;
-
- private java.lang.String organizationId;
-
- private boolean organizationMultiCurrency;
-
- private java.lang.String organizationName;
-
- private java.lang.String profileId;
-
- private java.lang.String roleId;
-
- private java.lang.String userDefaultCurrencyIsoCode;
-
- private java.lang.String userEmail;
-
- private java.lang.String userFullName;
-
- private java.lang.String userId;
-
- private java.lang.String userLanguage;
-
- private java.lang.String userLocale;
-
- private java.lang.String userName;
-
- private java.lang.String userTimeZone;
-
- private java.lang.String userType;
-
- private java.lang.String userUiSkin;
-
- public GetUserInfoResult() {
- }
-
- public GetUserInfoResult(
- boolean accessibilityMode,
- java.lang.String currencySymbol,
- java.lang.String orgDefaultCurrencyIsoCode,
- boolean orgDisallowHtmlAttachments,
- boolean orgHasPersonAccounts,
- java.lang.String organizationId,
- boolean organizationMultiCurrency,
- java.lang.String organizationName,
- java.lang.String profileId,
- java.lang.String roleId,
- java.lang.String userDefaultCurrencyIsoCode,
- java.lang.String userEmail,
- java.lang.String userFullName,
- java.lang.String userId,
- java.lang.String userLanguage,
- java.lang.String userLocale,
- java.lang.String userName,
- java.lang.String userTimeZone,
- java.lang.String userType,
- java.lang.String userUiSkin) {
- this.accessibilityMode = accessibilityMode;
- this.currencySymbol = currencySymbol;
- this.orgDefaultCurrencyIsoCode = orgDefaultCurrencyIsoCode;
- this.orgDisallowHtmlAttachments = orgDisallowHtmlAttachments;
- this.orgHasPersonAccounts = orgHasPersonAccounts;
- this.organizationId = organizationId;
- this.organizationMultiCurrency = organizationMultiCurrency;
- this.organizationName = organizationName;
- this.profileId = profileId;
- this.roleId = roleId;
- this.userDefaultCurrencyIsoCode = userDefaultCurrencyIsoCode;
- this.userEmail = userEmail;
- this.userFullName = userFullName;
- this.userId = userId;
- this.userLanguage = userLanguage;
- this.userLocale = userLocale;
- this.userName = userName;
- this.userTimeZone = userTimeZone;
- this.userType = userType;
- this.userUiSkin = userUiSkin;
- }
-
-
/**
- * Gets the accessibilityMode value for this GetUserInfoResult.
+ * Gets the value of the accessibilityMode property.
*
- * @return accessibilityMode
*/
public boolean isAccessibilityMode() {
return accessibilityMode;
}
-
/**
- * Sets the accessibilityMode value for this GetUserInfoResult.
+ * Sets the value of the accessibilityMode property.
*
- * @param accessibilityMode
*/
- public void setAccessibilityMode(boolean accessibilityMode) {
- this.accessibilityMode = accessibilityMode;
+ public void setAccessibilityMode(boolean value) {
+ this.accessibilityMode = value;
}
-
/**
- * Gets the currencySymbol value for this GetUserInfoResult.
+ * Gets the value of the currencySymbol property.
*
- * @return currencySymbol
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getCurrencySymbol() {
+ public String getCurrencySymbol() {
return currencySymbol;
}
-
/**
- * Sets the currencySymbol value for this GetUserInfoResult.
+ * Sets the value of the currencySymbol property.
*
- * @param currencySymbol
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setCurrencySymbol(java.lang.String currencySymbol) {
- this.currencySymbol = currencySymbol;
+ public void setCurrencySymbol(String value) {
+ this.currencySymbol = value;
}
-
/**
- * Gets the orgDefaultCurrencyIsoCode value for this GetUserInfoResult.
+ * Gets the value of the orgDefaultCurrencyIsoCode property.
*
- * @return orgDefaultCurrencyIsoCode
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getOrgDefaultCurrencyIsoCode() {
+ public String getOrgDefaultCurrencyIsoCode() {
return orgDefaultCurrencyIsoCode;
}
-
/**
- * Sets the orgDefaultCurrencyIsoCode value for this GetUserInfoResult.
+ * Sets the value of the orgDefaultCurrencyIsoCode property.
*
- * @param orgDefaultCurrencyIsoCode
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setOrgDefaultCurrencyIsoCode(java.lang.String orgDefaultCurrencyIsoCode)
{
- this.orgDefaultCurrencyIsoCode = orgDefaultCurrencyIsoCode;
+ public void setOrgDefaultCurrencyIsoCode(String value) {
+ this.orgDefaultCurrencyIsoCode = value;
}
-
/**
- * Gets the orgDisallowHtmlAttachments value for this GetUserInfoResult.
+ * Gets the value of the orgDisallowHtmlAttachments property.
*
- * @return orgDisallowHtmlAttachments
*/
public boolean isOrgDisallowHtmlAttachments() {
return orgDisallowHtmlAttachments;
}
-
/**
- * Sets the orgDisallowHtmlAttachments value for this GetUserInfoResult.
+ * Sets the value of the orgDisallowHtmlAttachments property.
*
- * @param orgDisallowHtmlAttachments
*/
- public void setOrgDisallowHtmlAttachments(boolean orgDisallowHtmlAttachments) {
- this.orgDisallowHtmlAttachments = orgDisallowHtmlAttachments;
+ public void setOrgDisallowHtmlAttachments(boolean value) {
+ this.orgDisallowHtmlAttachments = value;
}
-
/**
- * Gets the orgHasPersonAccounts value for this GetUserInfoResult.
+ * Gets the value of the orgHasPersonAccounts property.
*
- * @return orgHasPersonAccounts
*/
public boolean isOrgHasPersonAccounts() {
return orgHasPersonAccounts;
}
-
/**
- * Sets the orgHasPersonAccounts value for this GetUserInfoResult.
+ * Sets the value of the orgHasPersonAccounts property.
*
- * @param orgHasPersonAccounts
*/
- public void setOrgHasPersonAccounts(boolean orgHasPersonAccounts) {
- this.orgHasPersonAccounts = orgHasPersonAccounts;
+ public void setOrgHasPersonAccounts(boolean value) {
+ this.orgHasPersonAccounts = value;
}
-
/**
- * Gets the organizationId value for this GetUserInfoResult.
+ * Gets the value of the organizationId property.
*
- * @return organizationId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getOrganizationId() {
+ public String getOrganizationId() {
return organizationId;
}
-
/**
- * Sets the organizationId value for this GetUserInfoResult.
+ * Sets the value of the organizationId property.
*
- * @param organizationId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setOrganizationId(java.lang.String organizationId) {
- this.organizationId = organizationId;
+ public void setOrganizationId(String value) {
+ this.organizationId = value;
}
-
/**
- * Gets the organizationMultiCurrency value for this GetUserInfoResult.
+ * Gets the value of the organizationMultiCurrency property.
*
- * @return organizationMultiCurrency
*/
public boolean isOrganizationMultiCurrency() {
return organizationMultiCurrency;
}
-
/**
- * Sets the organizationMultiCurrency value for this GetUserInfoResult.
+ * Sets the value of the organizationMultiCurrency property.
*
- * @param organizationMultiCurrency
*/
- public void setOrganizationMultiCurrency(boolean organizationMultiCurrency) {
- this.organizationMultiCurrency = organizationMultiCurrency;
+ public void setOrganizationMultiCurrency(boolean value) {
+ this.organizationMultiCurrency = value;
}
-
/**
- * Gets the organizationName value for this GetUserInfoResult.
+ * Gets the value of the organizationName property.
*
- * @return organizationName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getOrganizationName() {
+ public String getOrganizationName() {
return organizationName;
}
-
/**
- * Sets the organizationName value for this GetUserInfoResult.
+ * Sets the value of the organizationName property.
*
- * @param organizationName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setOrganizationName(java.lang.String organizationName) {
- this.organizationName = organizationName;
+ public void setOrganizationName(String value) {
+ this.organizationName = value;
}
-
/**
- * Gets the profileId value for this GetUserInfoResult.
+ * Gets the value of the profileId property.
*
- * @return profileId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getProfileId() {
+ public String getProfileId() {
return profileId;
}
-
/**
- * Sets the profileId value for this GetUserInfoResult.
+ * Sets the value of the profileId property.
*
- * @param profileId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setProfileId(java.lang.String profileId) {
- this.profileId = profileId;
+ public void setProfileId(String value) {
+ this.profileId = value;
}
-
/**
- * Gets the roleId value for this GetUserInfoResult.
+ * Gets the value of the roleId property.
*
- * @return roleId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getRoleId() {
+ public String getRoleId() {
return roleId;
}
-
/**
- * Sets the roleId value for this GetUserInfoResult.
+ * Sets the value of the roleId property.
*
- * @param roleId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setRoleId(java.lang.String roleId) {
- this.roleId = roleId;
+ public void setRoleId(String value) {
+ this.roleId = value;
}
-
/**
- * Gets the userDefaultCurrencyIsoCode value for this GetUserInfoResult.
+ * Gets the value of the userDefaultCurrencyIsoCode property.
*
- * @return userDefaultCurrencyIsoCode
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserDefaultCurrencyIsoCode() {
+ public String getUserDefaultCurrencyIsoCode() {
return userDefaultCurrencyIsoCode;
}
-
/**
- * Sets the userDefaultCurrencyIsoCode value for this GetUserInfoResult.
+ * Sets the value of the userDefaultCurrencyIsoCode property.
*
- * @param userDefaultCurrencyIsoCode
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserDefaultCurrencyIsoCode(java.lang.String
userDefaultCurrencyIsoCode) {
- this.userDefaultCurrencyIsoCode = userDefaultCurrencyIsoCode;
+ public void setUserDefaultCurrencyIsoCode(String value) {
+ this.userDefaultCurrencyIsoCode = value;
}
-
/**
- * Gets the userEmail value for this GetUserInfoResult.
+ * Gets the value of the userEmail property.
*
- * @return userEmail
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserEmail() {
+ public String getUserEmail() {
return userEmail;
}
-
/**
- * Sets the userEmail value for this GetUserInfoResult.
+ * Sets the value of the userEmail property.
*
- * @param userEmail
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserEmail(java.lang.String userEmail) {
- this.userEmail = userEmail;
+ public void setUserEmail(String value) {
+ this.userEmail = value;
}
-
/**
- * Gets the userFullName value for this GetUserInfoResult.
+ * Gets the value of the userFullName property.
*
- * @return userFullName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserFullName() {
+ public String getUserFullName() {
return userFullName;
}
-
/**
- * Sets the userFullName value for this GetUserInfoResult.
+ * Sets the value of the userFullName property.
*
- * @param userFullName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserFullName(java.lang.String userFullName) {
- this.userFullName = userFullName;
+ public void setUserFullName(String value) {
+ this.userFullName = value;
}
-
/**
- * Gets the userId value for this GetUserInfoResult.
+ * Gets the value of the userId property.
*
- * @return userId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserId() {
+ public String getUserId() {
return userId;
}
-
/**
- * Sets the userId value for this GetUserInfoResult.
+ * Sets the value of the userId property.
*
- * @param userId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserId(java.lang.String userId) {
- this.userId = userId;
+ public void setUserId(String value) {
+ this.userId = value;
}
-
/**
- * Gets the userLanguage value for this GetUserInfoResult.
+ * Gets the value of the userLanguage property.
*
- * @return userLanguage
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserLanguage() {
+ public String getUserLanguage() {
return userLanguage;
}
-
/**
- * Sets the userLanguage value for this GetUserInfoResult.
+ * Sets the value of the userLanguage property.
*
- * @param userLanguage
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserLanguage(java.lang.String userLanguage) {
- this.userLanguage = userLanguage;
+ public void setUserLanguage(String value) {
+ this.userLanguage = value;
}
-
/**
- * Gets the userLocale value for this GetUserInfoResult.
+ * Gets the value of the userLocale property.
*
- * @return userLocale
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserLocale() {
+ public String getUserLocale() {
return userLocale;
}
-
/**
- * Sets the userLocale value for this GetUserInfoResult.
+ * Sets the value of the userLocale property.
*
- * @param userLocale
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserLocale(java.lang.String userLocale) {
- this.userLocale = userLocale;
+ public void setUserLocale(String value) {
+ this.userLocale = value;
}
-
/**
- * Gets the userName value for this GetUserInfoResult.
+ * Gets the value of the userName property.
*
- * @return userName
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserName() {
+ public String getUserName() {
return userName;
}
-
/**
- * Sets the userName value for this GetUserInfoResult.
+ * Sets the value of the userName property.
*
- * @param userName
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserName(java.lang.String userName) {
- this.userName = userName;
+ public void setUserName(String value) {
+ this.userName = value;
}
-
/**
- * Gets the userTimeZone value for this GetUserInfoResult.
+ * Gets the value of the userTimeZone property.
*
- * @return userTimeZone
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserTimeZone() {
+ public String getUserTimeZone() {
return userTimeZone;
}
-
/**
- * Sets the userTimeZone value for this GetUserInfoResult.
+ * Sets the value of the userTimeZone property.
*
- * @param userTimeZone
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserTimeZone(java.lang.String userTimeZone) {
- this.userTimeZone = userTimeZone;
+ public void setUserTimeZone(String value) {
+ this.userTimeZone = value;
}
-
/**
- * Gets the userType value for this GetUserInfoResult.
+ * Gets the value of the userType property.
*
- * @return userType
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserType() {
+ public String getUserType() {
return userType;
}
-
/**
- * Sets the userType value for this GetUserInfoResult.
+ * Sets the value of the userType property.
*
- * @param userType
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserType(java.lang.String userType) {
- this.userType = userType;
+ public void setUserType(String value) {
+ this.userType = value;
}
-
/**
- * Gets the userUiSkin value for this GetUserInfoResult.
+ * Gets the value of the userUiSkin property.
*
- * @return userUiSkin
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getUserUiSkin() {
+ public String getUserUiSkin() {
return userUiSkin;
}
-
/**
- * Sets the userUiSkin value for this GetUserInfoResult.
+ * Sets the value of the userUiSkin property.
*
- * @param userUiSkin
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setUserUiSkin(java.lang.String userUiSkin) {
- this.userUiSkin = userUiSkin;
+ public void setUserUiSkin(String value) {
+ this.userUiSkin = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof GetUserInfoResult)) return false;
- GetUserInfoResult other = (GetUserInfoResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.accessibilityMode == other.isAccessibilityMode() &&
- ((this.currencySymbol==null && other.getCurrencySymbol()==null) ||
- (this.currencySymbol!=null &&
- this.currencySymbol.equals(other.getCurrencySymbol()))) &&
- ((this.orgDefaultCurrencyIsoCode==null &&
other.getOrgDefaultCurrencyIsoCode()==null) ||
- (this.orgDefaultCurrencyIsoCode!=null &&
-
this.orgDefaultCurrencyIsoCode.equals(other.getOrgDefaultCurrencyIsoCode()))) &&
- this.orgDisallowHtmlAttachments == other.isOrgDisallowHtmlAttachments()
&&
- this.orgHasPersonAccounts == other.isOrgHasPersonAccounts() &&
- ((this.organizationId==null && other.getOrganizationId()==null) ||
- (this.organizationId!=null &&
- this.organizationId.equals(other.getOrganizationId()))) &&
- this.organizationMultiCurrency == other.isOrganizationMultiCurrency()
&&
- ((this.organizationName==null && other.getOrganizationName()==null)
||
- (this.organizationName!=null &&
- this.organizationName.equals(other.getOrganizationName()))) &&
- ((this.profileId==null && other.getProfileId()==null) ||
- (this.profileId!=null &&
- this.profileId.equals(other.getProfileId()))) &&
- ((this.roleId==null && other.getRoleId()==null) ||
- (this.roleId!=null &&
- this.roleId.equals(other.getRoleId()))) &&
- ((this.userDefaultCurrencyIsoCode==null &&
other.getUserDefaultCurrencyIsoCode()==null) ||
- (this.userDefaultCurrencyIsoCode!=null &&
-
this.userDefaultCurrencyIsoCode.equals(other.getUserDefaultCurrencyIsoCode())))
&&
- ((this.userEmail==null && other.getUserEmail()==null) ||
- (this.userEmail!=null &&
- this.userEmail.equals(other.getUserEmail()))) &&
- ((this.userFullName==null && other.getUserFullName()==null) ||
- (this.userFullName!=null &&
- this.userFullName.equals(other.getUserFullName()))) &&
- ((this.userId==null && other.getUserId()==null) ||
- (this.userId!=null &&
- this.userId.equals(other.getUserId()))) &&
- ((this.userLanguage==null && other.getUserLanguage()==null) ||
- (this.userLanguage!=null &&
- this.userLanguage.equals(other.getUserLanguage()))) &&
- ((this.userLocale==null && other.getUserLocale()==null) ||
- (this.userLocale!=null &&
- this.userLocale.equals(other.getUserLocale()))) &&
- ((this.userName==null && other.getUserName()==null) ||
- (this.userName!=null &&
- this.userName.equals(other.getUserName()))) &&
- ((this.userTimeZone==null && other.getUserTimeZone()==null) ||
- (this.userTimeZone!=null &&
- this.userTimeZone.equals(other.getUserTimeZone()))) &&
- ((this.userType==null && other.getUserType()==null) ||
- (this.userType!=null &&
- this.userType.equals(other.getUserType()))) &&
- ((this.userUiSkin==null && other.getUserUiSkin()==null) ||
- (this.userUiSkin!=null &&
- this.userUiSkin.equals(other.getUserUiSkin())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isAccessibilityMode() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getCurrencySymbol() != null) {
- _hashCode += getCurrencySymbol().hashCode();
- }
- if (getOrgDefaultCurrencyIsoCode() != null) {
- _hashCode += getOrgDefaultCurrencyIsoCode().hashCode();
- }
- _hashCode += (isOrgDisallowHtmlAttachments() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- _hashCode += (isOrgHasPersonAccounts() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getOrganizationId() != null) {
- _hashCode += getOrganizationId().hashCode();
- }
- _hashCode += (isOrganizationMultiCurrency() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getOrganizationName() != null) {
- _hashCode += getOrganizationName().hashCode();
- }
- if (getProfileId() != null) {
- _hashCode += getProfileId().hashCode();
- }
- if (getRoleId() != null) {
- _hashCode += getRoleId().hashCode();
- }
- if (getUserDefaultCurrencyIsoCode() != null) {
- _hashCode += getUserDefaultCurrencyIsoCode().hashCode();
- }
- if (getUserEmail() != null) {
- _hashCode += getUserEmail().hashCode();
- }
- if (getUserFullName() != null) {
- _hashCode += getUserFullName().hashCode();
- }
- if (getUserId() != null) {
- _hashCode += getUserId().hashCode();
- }
- if (getUserLanguage() != null) {
- _hashCode += getUserLanguage().hashCode();
- }
- if (getUserLocale() != null) {
- _hashCode += getUserLocale().hashCode();
- }
- if (getUserName() != null) {
- _hashCode += getUserName().hashCode();
- }
- if (getUserTimeZone() != null) {
- _hashCode += getUserTimeZone().hashCode();
- }
- if (getUserType() != null) {
- _hashCode += getUserType().hashCode();
- }
- if (getUserUiSkin() != null) {
- _hashCode += getUserUiSkin().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(GetUserInfoResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUserInfoResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("accessibilityMode");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"accessibilityMode"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("currencySymbol");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"currencySymbol"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("orgDefaultCurrencyIsoCode");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"orgDefaultCurrencyIsoCode"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("orgDisallowHtmlAttachments");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"orgDisallowHtmlAttachments"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("orgHasPersonAccounts");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"orgHasPersonAccounts"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("organizationId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"organizationId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("organizationMultiCurrency");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"organizationMultiCurrency"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("organizationName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"organizationName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("profileId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"profileId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("roleId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "roleId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userDefaultCurrencyIsoCode");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userDefaultCurrencyIsoCode"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userEmail");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userEmail"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userFullName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userFullName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "userId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userLanguage");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userLanguage"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userLocale");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userLocale"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userTimeZone");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userTimeZone"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userUiSkin");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userUiSkin"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidFieldFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidFieldFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidFieldFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "InvalidFieldFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class InvalidFieldFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.InvalidFieldFault invalidFieldFault;
+
+ public InvalidFieldFault() {
+ super();
+ }
+
+ public InvalidFieldFault(String message) {
+ super(message);
+ }
+
+ public InvalidFieldFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InvalidFieldFault(String message,
com.sforce.soap.partner.fault.InvalidFieldFault invalidFieldFault) {
+ super(message);
+ this.invalidFieldFault = invalidFieldFault;
+ }
+
+ public InvalidFieldFault(String message,
com.sforce.soap.partner.fault.InvalidFieldFault invalidFieldFault, Throwable cause) {
+ super(message, cause);
+ this.invalidFieldFault = invalidFieldFault;
+ }
+
+ public com.sforce.soap.partner.fault.InvalidFieldFault getFaultInfo() {
+ return this.invalidFieldFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidFieldFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidIdFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidIdFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidIdFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "InvalidIdFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class InvalidIdFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.InvalidIdFault invalidIdFault;
+
+ public InvalidIdFault() {
+ super();
+ }
+
+ public InvalidIdFault(String message) {
+ super(message);
+ }
+
+ public InvalidIdFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InvalidIdFault(String message, com.sforce.soap.partner.fault.InvalidIdFault
invalidIdFault) {
+ super(message);
+ this.invalidIdFault = invalidIdFault;
+ }
+
+ public InvalidIdFault(String message, com.sforce.soap.partner.fault.InvalidIdFault
invalidIdFault, Throwable cause) {
+ super(message, cause);
+ this.invalidIdFault = invalidIdFault;
+ }
+
+ public com.sforce.soap.partner.fault.InvalidIdFault getFaultInfo() {
+ return this.invalidIdFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidIdFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidNewPasswordFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidNewPasswordFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidNewPasswordFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "InvalidNewPasswordFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class InvalidNewPasswordFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.InvalidNewPasswordFault
invalidNewPasswordFault;
+
+ public InvalidNewPasswordFault() {
+ super();
+ }
+
+ public InvalidNewPasswordFault(String message) {
+ super(message);
+ }
+
+ public InvalidNewPasswordFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InvalidNewPasswordFault(String message,
com.sforce.soap.partner.fault.InvalidNewPasswordFault invalidNewPasswordFault) {
+ super(message);
+ this.invalidNewPasswordFault = invalidNewPasswordFault;
+ }
+
+ public InvalidNewPasswordFault(String message,
com.sforce.soap.partner.fault.InvalidNewPasswordFault invalidNewPasswordFault, Throwable
cause) {
+ super(message, cause);
+ this.invalidNewPasswordFault = invalidNewPasswordFault;
+ }
+
+ public com.sforce.soap.partner.fault.InvalidNewPasswordFault getFaultInfo() {
+ return this.invalidNewPasswordFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidNewPasswordFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidQueryLocatorFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidQueryLocatorFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidQueryLocatorFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "InvalidQueryLocatorFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class InvalidQueryLocatorFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.InvalidQueryLocatorFault
invalidQueryLocatorFault;
+
+ public InvalidQueryLocatorFault() {
+ super();
+ }
+
+ public InvalidQueryLocatorFault(String message) {
+ super(message);
+ }
+
+ public InvalidQueryLocatorFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InvalidQueryLocatorFault(String message,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault invalidQueryLocatorFault) {
+ super(message);
+ this.invalidQueryLocatorFault = invalidQueryLocatorFault;
+ }
+
+ public InvalidQueryLocatorFault(String message,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault invalidQueryLocatorFault, Throwable
cause) {
+ super(message, cause);
+ this.invalidQueryLocatorFault = invalidQueryLocatorFault;
+ }
+
+ public com.sforce.soap.partner.fault.InvalidQueryLocatorFault getFaultInfo() {
+ return this.invalidQueryLocatorFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidQueryLocatorFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidSObjectFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidSObjectFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidSObjectFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "InvalidSObjectFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class InvalidSObjectFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.InvalidSObjectFault invalidSObjectFault;
+
+ public InvalidSObjectFault() {
+ super();
+ }
+
+ public InvalidSObjectFault(String message) {
+ super(message);
+ }
+
+ public InvalidSObjectFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public InvalidSObjectFault(String message,
com.sforce.soap.partner.fault.InvalidSObjectFault invalidSObjectFault) {
+ super(message);
+ this.invalidSObjectFault = invalidSObjectFault;
+ }
+
+ public InvalidSObjectFault(String message,
com.sforce.soap.partner.fault.InvalidSObjectFault invalidSObjectFault, Throwable cause) {
+ super(message, cause);
+ this.invalidSObjectFault = invalidSObjectFault;
+ }
+
+ public com.sforce.soap.partner.fault.InvalidSObjectFault getFaultInfo() {
+ return this.invalidSObjectFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidSObjectFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessions.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessions.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessions.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sessionIds"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sessionIds"
+})
+@XmlRootElement(name = "invalidateSessions")
+public class InvalidateSessions {
+
+ protected List<String> sessionIds;
+
+ /**
+ * Gets the value of the sessionIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sessionIds
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSessionIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getSessionIds() {
+ if (sessionIds == null) {
+ sessionIds = new ArrayList<String>();
+ }
+ return this.sessionIds;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessions.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}InvalidateSessionsResult"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "invalidateSessionsResponse")
+public class InvalidateSessionsResponse {
+
+ protected List<InvalidateSessionsResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link InvalidateSessionsResult }
+ *
+ *
+ */
+ public List<InvalidateSessionsResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<InvalidateSessionsResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/InvalidateSessionsResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,169 +1,86 @@
-/**
- * InvalidateSessionsResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class InvalidateSessionsResult implements java.io.Serializable {
- private com.sforce.soap.partner.Error[] errors;
-
- private boolean success;
-
- public InvalidateSessionsResult() {
- }
-
- public InvalidateSessionsResult(
- com.sforce.soap.partner.Error[] errors,
- boolean success) {
- this.errors = errors;
- this.success = success;
- }
-
-
- /**
- * Gets the errors value for this InvalidateSessionsResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this InvalidateSessionsResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the success value for this InvalidateSessionsResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this InvalidateSessionsResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof InvalidateSessionsResult)) return false;
- InvalidateSessionsResult other = (InvalidateSessionsResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(InvalidateSessionsResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"InvalidateSessionsResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InvalidateSessionsResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="InvalidateSessionsResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InvalidateSessionsResult", propOrder = {
+ "errors",
+ "success"
+})
+public class InvalidateSessionsResult {
+
+ protected List<Error> errors;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LayoutComponentType.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LayoutComponentType.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LayoutComponentType.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,74 +1,57 @@
-/**
- * LayoutComponentType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LayoutComponentType implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected LayoutComponentType(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final java.lang.String _Field = "Field";
- public static final java.lang.String _Separator = "Separator";
- public static final java.lang.String _SControl = "SControl";
- public static final java.lang.String _EmptySpace = "EmptySpace";
- public static final LayoutComponentType Field = new LayoutComponentType(_Field);
- public static final LayoutComponentType Separator = new
LayoutComponentType(_Separator);
- public static final LayoutComponentType SControl = new
LayoutComponentType(_SControl);
- public static final LayoutComponentType EmptySpace = new
LayoutComponentType(_EmptySpace);
- public java.lang.String getValue() { return _value_;}
- public static LayoutComponentType fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- LayoutComponentType enumeration = (LayoutComponentType)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static LayoutComponentType fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LayoutComponentType.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutComponentType"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for layoutComponentType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="layoutComponentType">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="Field"/>
+ * <enumeration value="Separator"/>
+ * <enumeration value="SControl"/>
+ * <enumeration value="EmptySpace"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "layoutComponentType")
+@XmlEnum
+public enum LayoutComponentType {
+
+ @XmlEnumValue("Field")
+ FIELD("Field"),
+ @XmlEnumValue("Separator")
+ SEPARATOR("Separator"),
+ @XmlEnumValue("SControl")
+ S_CONTROL("SControl"),
+ @XmlEnumValue("EmptySpace")
+ EMPTY_SPACE("EmptySpace");
+ private final String value;
+
+ LayoutComponentType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static LayoutComponentType fromValue(String v) {
+ for (LayoutComponentType c: LayoutComponentType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvert.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvert.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvert.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,395 +1,259 @@
-/**
- * LeadConvert.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LeadConvert implements java.io.Serializable {
- private java.lang.String accountId;
-
- private java.lang.String contactId;
-
- private java.lang.String convertedStatus;
-
- private boolean doNotCreateOpportunity;
-
- private java.lang.String leadId;
-
- private java.lang.String opportunityName;
-
- private boolean overwriteLeadSource;
-
- private java.lang.String ownerId;
-
- private boolean sendNotificationEmail;
-
- public LeadConvert() {
- }
-
- public LeadConvert(
- java.lang.String accountId,
- java.lang.String contactId,
- java.lang.String convertedStatus,
- boolean doNotCreateOpportunity,
- java.lang.String leadId,
- java.lang.String opportunityName,
- boolean overwriteLeadSource,
- java.lang.String ownerId,
- boolean sendNotificationEmail) {
- this.accountId = accountId;
- this.contactId = contactId;
- this.convertedStatus = convertedStatus;
- this.doNotCreateOpportunity = doNotCreateOpportunity;
- this.leadId = leadId;
- this.opportunityName = opportunityName;
- this.overwriteLeadSource = overwriteLeadSource;
- this.ownerId = ownerId;
- this.sendNotificationEmail = sendNotificationEmail;
- }
-
-
- /**
- * Gets the accountId value for this LeadConvert.
- *
- * @return accountId
- */
- public java.lang.String getAccountId() {
- return accountId;
- }
-
-
- /**
- * Sets the accountId value for this LeadConvert.
- *
- * @param accountId
- */
- public void setAccountId(java.lang.String accountId) {
- this.accountId = accountId;
- }
-
-
- /**
- * Gets the contactId value for this LeadConvert.
- *
- * @return contactId
- */
- public java.lang.String getContactId() {
- return contactId;
- }
-
-
- /**
- * Sets the contactId value for this LeadConvert.
- *
- * @param contactId
- */
- public void setContactId(java.lang.String contactId) {
- this.contactId = contactId;
- }
-
-
- /**
- * Gets the convertedStatus value for this LeadConvert.
- *
- * @return convertedStatus
- */
- public java.lang.String getConvertedStatus() {
- return convertedStatus;
- }
-
-
- /**
- * Sets the convertedStatus value for this LeadConvert.
- *
- * @param convertedStatus
- */
- public void setConvertedStatus(java.lang.String convertedStatus) {
- this.convertedStatus = convertedStatus;
- }
-
-
- /**
- * Gets the doNotCreateOpportunity value for this LeadConvert.
- *
- * @return doNotCreateOpportunity
- */
- public boolean isDoNotCreateOpportunity() {
- return doNotCreateOpportunity;
- }
-
-
- /**
- * Sets the doNotCreateOpportunity value for this LeadConvert.
- *
- * @param doNotCreateOpportunity
- */
- public void setDoNotCreateOpportunity(boolean doNotCreateOpportunity) {
- this.doNotCreateOpportunity = doNotCreateOpportunity;
- }
-
-
- /**
- * Gets the leadId value for this LeadConvert.
- *
- * @return leadId
- */
- public java.lang.String getLeadId() {
- return leadId;
- }
-
-
- /**
- * Sets the leadId value for this LeadConvert.
- *
- * @param leadId
- */
- public void setLeadId(java.lang.String leadId) {
- this.leadId = leadId;
- }
-
-
- /**
- * Gets the opportunityName value for this LeadConvert.
- *
- * @return opportunityName
- */
- public java.lang.String getOpportunityName() {
- return opportunityName;
- }
-
-
- /**
- * Sets the opportunityName value for this LeadConvert.
- *
- * @param opportunityName
- */
- public void setOpportunityName(java.lang.String opportunityName) {
- this.opportunityName = opportunityName;
- }
-
-
- /**
- * Gets the overwriteLeadSource value for this LeadConvert.
- *
- * @return overwriteLeadSource
- */
- public boolean isOverwriteLeadSource() {
- return overwriteLeadSource;
- }
-
-
- /**
- * Sets the overwriteLeadSource value for this LeadConvert.
- *
- * @param overwriteLeadSource
- */
- public void setOverwriteLeadSource(boolean overwriteLeadSource) {
- this.overwriteLeadSource = overwriteLeadSource;
- }
-
-
- /**
- * Gets the ownerId value for this LeadConvert.
- *
- * @return ownerId
- */
- public java.lang.String getOwnerId() {
- return ownerId;
- }
-
-
- /**
- * Sets the ownerId value for this LeadConvert.
- *
- * @param ownerId
- */
- public void setOwnerId(java.lang.String ownerId) {
- this.ownerId = ownerId;
- }
-
-
- /**
- * Gets the sendNotificationEmail value for this LeadConvert.
- *
- * @return sendNotificationEmail
- */
- public boolean isSendNotificationEmail() {
- return sendNotificationEmail;
- }
-
-
- /**
- * Sets the sendNotificationEmail value for this LeadConvert.
- *
- * @param sendNotificationEmail
- */
- public void setSendNotificationEmail(boolean sendNotificationEmail) {
- this.sendNotificationEmail = sendNotificationEmail;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LeadConvert)) return false;
- LeadConvert other = (LeadConvert) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.accountId==null && other.getAccountId()==null) ||
- (this.accountId!=null &&
- this.accountId.equals(other.getAccountId()))) &&
- ((this.contactId==null && other.getContactId()==null) ||
- (this.contactId!=null &&
- this.contactId.equals(other.getContactId()))) &&
- ((this.convertedStatus==null && other.getConvertedStatus()==null) ||
- (this.convertedStatus!=null &&
- this.convertedStatus.equals(other.getConvertedStatus()))) &&
- this.doNotCreateOpportunity == other.isDoNotCreateOpportunity() &&
- ((this.leadId==null && other.getLeadId()==null) ||
- (this.leadId!=null &&
- this.leadId.equals(other.getLeadId()))) &&
- ((this.opportunityName==null && other.getOpportunityName()==null) ||
- (this.opportunityName!=null &&
- this.opportunityName.equals(other.getOpportunityName()))) &&
- this.overwriteLeadSource == other.isOverwriteLeadSource() &&
- ((this.ownerId==null && other.getOwnerId()==null) ||
- (this.ownerId!=null &&
- this.ownerId.equals(other.getOwnerId()))) &&
- this.sendNotificationEmail == other.isSendNotificationEmail();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getAccountId() != null) {
- _hashCode += getAccountId().hashCode();
- }
- if (getContactId() != null) {
- _hashCode += getContactId().hashCode();
- }
- if (getConvertedStatus() != null) {
- _hashCode += getConvertedStatus().hashCode();
- }
- _hashCode += (isDoNotCreateOpportunity() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getLeadId() != null) {
- _hashCode += getLeadId().hashCode();
- }
- if (getOpportunityName() != null) {
- _hashCode += getOpportunityName().hashCode();
- }
- _hashCode += (isOverwriteLeadSource() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getOwnerId() != null) {
- _hashCode += getOwnerId().hashCode();
- }
- _hashCode += (isSendNotificationEmail() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LeadConvert.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvert"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("accountId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"accountId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("contactId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"contactId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("convertedStatus");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"convertedStatus"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("doNotCreateOpportunity");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"doNotCreateOpportunity"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("leadId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "leadId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("opportunityName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"opportunityName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("overwriteLeadSource");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"overwriteLeadSource"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ownerId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ownerId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sendNotificationEmail");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sendNotificationEmail"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for LeadConvert complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="LeadConvert">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="accountId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="contactId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="convertedStatus"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="doNotCreateOpportunity"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="leadId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="opportunityName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="overwriteLeadSource"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="ownerId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="sendNotificationEmail"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "LeadConvert", propOrder = {
+ "accountId",
+ "contactId",
+ "convertedStatus",
+ "doNotCreateOpportunity",
+ "leadId",
+ "opportunityName",
+ "overwriteLeadSource",
+ "ownerId",
+ "sendNotificationEmail"
+})
+public class LeadConvert {
+
+ @XmlElement(required = true, nillable = true)
+ protected String accountId;
+ @XmlElement(required = true, nillable = true)
+ protected String contactId;
+ @XmlElement(required = true)
+ protected String convertedStatus;
+ protected boolean doNotCreateOpportunity;
+ @XmlElement(required = true)
+ protected String leadId;
+ @XmlElement(required = true, nillable = true)
+ protected String opportunityName;
+ protected boolean overwriteLeadSource;
+ @XmlElement(required = true, nillable = true)
+ protected String ownerId;
+ protected boolean sendNotificationEmail;
+
+ /**
+ * Gets the value of the accountId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAccountId() {
+ return accountId;
+ }
+
+ /**
+ * Sets the value of the accountId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAccountId(String value) {
+ this.accountId = value;
+ }
+
+ /**
+ * Gets the value of the contactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContactId() {
+ return contactId;
+ }
+
+ /**
+ * Sets the value of the contactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContactId(String value) {
+ this.contactId = value;
+ }
+
+ /**
+ * Gets the value of the convertedStatus property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConvertedStatus() {
+ return convertedStatus;
+ }
+
+ /**
+ * Sets the value of the convertedStatus property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConvertedStatus(String value) {
+ this.convertedStatus = value;
+ }
+
+ /**
+ * Gets the value of the doNotCreateOpportunity property.
+ *
+ */
+ public boolean isDoNotCreateOpportunity() {
+ return doNotCreateOpportunity;
+ }
+
+ /**
+ * Sets the value of the doNotCreateOpportunity property.
+ *
+ */
+ public void setDoNotCreateOpportunity(boolean value) {
+ this.doNotCreateOpportunity = value;
+ }
+
+ /**
+ * Gets the value of the leadId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLeadId() {
+ return leadId;
+ }
+
+ /**
+ * Sets the value of the leadId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLeadId(String value) {
+ this.leadId = value;
+ }
+
+ /**
+ * Gets the value of the opportunityName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOpportunityName() {
+ return opportunityName;
+ }
+
+ /**
+ * Sets the value of the opportunityName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOpportunityName(String value) {
+ this.opportunityName = value;
+ }
+
+ /**
+ * Gets the value of the overwriteLeadSource property.
+ *
+ */
+ public boolean isOverwriteLeadSource() {
+ return overwriteLeadSource;
+ }
+
+ /**
+ * Sets the value of the overwriteLeadSource property.
+ *
+ */
+ public void setOverwriteLeadSource(boolean value) {
+ this.overwriteLeadSource = value;
+ }
+
+ /**
+ * Gets the value of the ownerId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOwnerId() {
+ return ownerId;
+ }
+
+ /**
+ * Sets the value of the ownerId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOwnerId(String value) {
+ this.ownerId = value;
+ }
+
+ /**
+ * Gets the value of the sendNotificationEmail property.
+ *
+ */
+ public boolean isSendNotificationEmail() {
+ return sendNotificationEmail;
+ }
+
+ /**
+ * Sets the value of the sendNotificationEmail property.
+ *
+ */
+ public void setSendNotificationEmail(boolean value) {
+ this.sendNotificationEmail = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvertResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvertResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LeadConvertResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,313 +1,199 @@
-/**
- * LeadConvertResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LeadConvertResult implements java.io.Serializable {
- private java.lang.String accountId;
-
- private java.lang.String contactId;
-
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String leadId;
-
- private java.lang.String opportunityId;
-
- private boolean success;
-
- public LeadConvertResult() {
- }
-
- public LeadConvertResult(
- java.lang.String accountId,
- java.lang.String contactId,
- com.sforce.soap.partner.Error[] errors,
- java.lang.String leadId,
- java.lang.String opportunityId,
- boolean success) {
- this.accountId = accountId;
- this.contactId = contactId;
- this.errors = errors;
- this.leadId = leadId;
- this.opportunityId = opportunityId;
- this.success = success;
- }
-
-
- /**
- * Gets the accountId value for this LeadConvertResult.
- *
- * @return accountId
- */
- public java.lang.String getAccountId() {
- return accountId;
- }
-
-
- /**
- * Sets the accountId value for this LeadConvertResult.
- *
- * @param accountId
- */
- public void setAccountId(java.lang.String accountId) {
- this.accountId = accountId;
- }
-
-
- /**
- * Gets the contactId value for this LeadConvertResult.
- *
- * @return contactId
- */
- public java.lang.String getContactId() {
- return contactId;
- }
-
-
- /**
- * Sets the contactId value for this LeadConvertResult.
- *
- * @param contactId
- */
- public void setContactId(java.lang.String contactId) {
- this.contactId = contactId;
- }
-
-
- /**
- * Gets the errors value for this LeadConvertResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this LeadConvertResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the leadId value for this LeadConvertResult.
- *
- * @return leadId
- */
- public java.lang.String getLeadId() {
- return leadId;
- }
-
-
- /**
- * Sets the leadId value for this LeadConvertResult.
- *
- * @param leadId
- */
- public void setLeadId(java.lang.String leadId) {
- this.leadId = leadId;
- }
-
-
- /**
- * Gets the opportunityId value for this LeadConvertResult.
- *
- * @return opportunityId
- */
- public java.lang.String getOpportunityId() {
- return opportunityId;
- }
-
-
- /**
- * Sets the opportunityId value for this LeadConvertResult.
- *
- * @param opportunityId
- */
- public void setOpportunityId(java.lang.String opportunityId) {
- this.opportunityId = opportunityId;
- }
-
-
- /**
- * Gets the success value for this LeadConvertResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this LeadConvertResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LeadConvertResult)) return false;
- LeadConvertResult other = (LeadConvertResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.accountId==null && other.getAccountId()==null) ||
- (this.accountId!=null &&
- this.accountId.equals(other.getAccountId()))) &&
- ((this.contactId==null && other.getContactId()==null) ||
- (this.contactId!=null &&
- this.contactId.equals(other.getContactId()))) &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.leadId==null && other.getLeadId()==null) ||
- (this.leadId!=null &&
- this.leadId.equals(other.getLeadId()))) &&
- ((this.opportunityId==null && other.getOpportunityId()==null) ||
- (this.opportunityId!=null &&
- this.opportunityId.equals(other.getOpportunityId()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getAccountId() != null) {
- _hashCode += getAccountId().hashCode();
- }
- if (getContactId() != null) {
- _hashCode += getContactId().hashCode();
- }
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getLeadId() != null) {
- _hashCode += getLeadId().hashCode();
- }
- if (getOpportunityId() != null) {
- _hashCode += getOpportunityId().hashCode();
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LeadConvertResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvertResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("accountId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"accountId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("contactId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"contactId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("leadId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "leadId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("opportunityId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"opportunityId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for LeadConvertResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="LeadConvertResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="accountId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="contactId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="leadId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="opportunityId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "LeadConvertResult", propOrder = {
+ "accountId",
+ "contactId",
+ "errors",
+ "leadId",
+ "opportunityId",
+ "success"
+})
+public class LeadConvertResult {
+
+ @XmlElement(required = true, nillable = true)
+ protected String accountId;
+ @XmlElement(required = true, nillable = true)
+ protected String contactId;
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String leadId;
+ @XmlElement(required = true, nillable = true)
+ protected String opportunityId;
+ protected boolean success;
+
+ /**
+ * Gets the value of the accountId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAccountId() {
+ return accountId;
+ }
+
+ /**
+ * Sets the value of the accountId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAccountId(String value) {
+ this.accountId = value;
+ }
+
+ /**
+ * Gets the value of the contactId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContactId() {
+ return contactId;
+ }
+
+ /**
+ * Sets the value of the contactId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContactId(String value) {
+ this.contactId = value;
+ }
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the leadId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLeadId() {
+ return leadId;
+ }
+
+ /**
+ * Sets the value of the leadId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLeadId(String value) {
+ this.leadId = value;
+ }
+
+ /**
+ * Gets the value of the opportunityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOpportunityId() {
+ return opportunityId;
+ }
+
+ /**
+ * Sets the value of the opportunityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOpportunityId(String value) {
+ this.opportunityId = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LocaleOptions.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LocaleOptions.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LocaleOptions.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,120 +1,62 @@
-/**
- * LocaleOptions.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LocaleOptions implements java.io.Serializable {
- private java.lang.String language;
-
- public LocaleOptions() {
- }
-
- public LocaleOptions(
- java.lang.String language) {
- this.language = language;
- }
-
-
- /**
- * Gets the language value for this LocaleOptions.
- *
- * @return language
- */
- public java.lang.String getLanguage() {
- return language;
- }
-
-
- /**
- * Sets the language value for this LocaleOptions.
- *
- * @param language
- */
- public void setLanguage(java.lang.String language) {
- this.language = language;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LocaleOptions)) return false;
- LocaleOptions other = (LocaleOptions) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.language==null && other.getLanguage()==null) ||
- (this.language!=null &&
- this.language.equals(other.getLanguage())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getLanguage() != null) {
- _hashCode += getLanguage().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LocaleOptions.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">LocaleOptions"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("language");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"language"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="language"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "language"
+})
+@XmlRootElement(name = "LocaleOptions")
+public class LocaleOptions {
+
+ protected String language;
+
+ /**
+ * Gets the value of the language property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLanguage() {
+ return language;
+ }
+
+ /**
+ * Sets the value of the language property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLanguage(String value) {
+ this.language = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Login.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Login.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Login.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,155 +1,92 @@
-/**
- * Login.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Login implements java.io.Serializable {
- private java.lang.String username;
-
- private java.lang.String password;
-
- public Login() {
- }
-
- public Login(
- java.lang.String username,
- java.lang.String password) {
- this.username = username;
- this.password = password;
- }
-
-
- /**
- * Gets the username value for this Login.
- *
- * @return username
- */
- public java.lang.String getUsername() {
- return username;
- }
-
-
- /**
- * Sets the username value for this Login.
- *
- * @param username
- */
- public void setUsername(java.lang.String username) {
- this.username = username;
- }
-
-
- /**
- * Gets the password value for this Login.
- *
- * @return password
- */
- public java.lang.String getPassword() {
- return password;
- }
-
-
- /**
- * Sets the password value for this Login.
- *
- * @param password
- */
- public void setPassword(java.lang.String password) {
- this.password = password;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Login)) return false;
- Login other = (Login) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.username==null && other.getUsername()==null) ||
- (this.username!=null &&
- this.username.equals(other.getUsername()))) &&
- ((this.password==null && other.getPassword()==null) ||
- (this.password!=null &&
- this.password.equals(other.getPassword())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getUsername() != null) {
- _hashCode += getUsername().hashCode();
- }
- if (getPassword() != null) {
- _hashCode += getPassword().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Login.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">login"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("username");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"username"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("password");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"password"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="username"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="password"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "username",
+ "password"
+})
+@XmlRootElement(name = "login")
+public class Login {
+
+ @XmlElement(required = true)
+ protected String username;
+ @XmlElement(required = true)
+ protected String password;
+
+ /**
+ * Gets the value of the username property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /**
+ * Sets the value of the username property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUsername(String value) {
+ this.username = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "LoginFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class LoginFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.LoginFault loginFault;
+
+ public LoginFault() {
+ super();
+ }
+
+ public LoginFault(String message) {
+ super(message);
+ }
+
+ public LoginFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public LoginFault(String message, com.sforce.soap.partner.fault.LoginFault
loginFault) {
+ super(message);
+ this.loginFault = loginFault;
+ }
+
+ public LoginFault(String message, com.sforce.soap.partner.fault.LoginFault
loginFault, Throwable cause) {
+ super(message, cause);
+ this.loginFault = loginFault;
+ }
+
+ public com.sforce.soap.partner.fault.LoginFault getFaultInfo() {
+ return this.loginFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * LoginResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LoginResponse implements java.io.Serializable {
- private com.sforce.soap.partner.LoginResult result;
-
- public LoginResponse() {
- }
-
- public LoginResponse(
- com.sforce.soap.partner.LoginResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this LoginResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.LoginResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this LoginResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.LoginResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LoginResponse)) return false;
- LoginResponse other = (LoginResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LoginResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">loginResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LoginResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}LoginResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "loginResponse")
+public class LoginResponse {
+
+ @XmlElement(required = true)
+ protected LoginResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link LoginResult }
+ *
+ */
+ public LoginResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link LoginResult }
+ *
+ */
+ public void setResult(LoginResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,328 +1,211 @@
-/**
- * LoginResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LoginResult implements java.io.Serializable {
- private java.lang.String metadataServerUrl;
-
- private boolean passwordExpired;
-
- private boolean sandbox;
-
- private java.lang.String serverUrl;
-
- private java.lang.String sessionId;
-
- private java.lang.String userId;
-
- private com.sforce.soap.partner.GetUserInfoResult userInfo;
-
- public LoginResult() {
- }
-
- public LoginResult(
- java.lang.String metadataServerUrl,
- boolean passwordExpired,
- boolean sandbox,
- java.lang.String serverUrl,
- java.lang.String sessionId,
- java.lang.String userId,
- com.sforce.soap.partner.GetUserInfoResult userInfo) {
- this.metadataServerUrl = metadataServerUrl;
- this.passwordExpired = passwordExpired;
- this.sandbox = sandbox;
- this.serverUrl = serverUrl;
- this.sessionId = sessionId;
- this.userId = userId;
- this.userInfo = userInfo;
- }
-
-
- /**
- * Gets the metadataServerUrl value for this LoginResult.
- *
- * @return metadataServerUrl
- */
- public java.lang.String getMetadataServerUrl() {
- return metadataServerUrl;
- }
-
-
- /**
- * Sets the metadataServerUrl value for this LoginResult.
- *
- * @param metadataServerUrl
- */
- public void setMetadataServerUrl(java.lang.String metadataServerUrl) {
- this.metadataServerUrl = metadataServerUrl;
- }
-
-
- /**
- * Gets the passwordExpired value for this LoginResult.
- *
- * @return passwordExpired
- */
- public boolean isPasswordExpired() {
- return passwordExpired;
- }
-
-
- /**
- * Sets the passwordExpired value for this LoginResult.
- *
- * @param passwordExpired
- */
- public void setPasswordExpired(boolean passwordExpired) {
- this.passwordExpired = passwordExpired;
- }
-
-
- /**
- * Gets the sandbox value for this LoginResult.
- *
- * @return sandbox
- */
- public boolean isSandbox() {
- return sandbox;
- }
-
-
- /**
- * Sets the sandbox value for this LoginResult.
- *
- * @param sandbox
- */
- public void setSandbox(boolean sandbox) {
- this.sandbox = sandbox;
- }
-
-
- /**
- * Gets the serverUrl value for this LoginResult.
- *
- * @return serverUrl
- */
- public java.lang.String getServerUrl() {
- return serverUrl;
- }
-
-
- /**
- * Sets the serverUrl value for this LoginResult.
- *
- * @param serverUrl
- */
- public void setServerUrl(java.lang.String serverUrl) {
- this.serverUrl = serverUrl;
- }
-
-
- /**
- * Gets the sessionId value for this LoginResult.
- *
- * @return sessionId
- */
- public java.lang.String getSessionId() {
- return sessionId;
- }
-
-
- /**
- * Sets the sessionId value for this LoginResult.
- *
- * @param sessionId
- */
- public void setSessionId(java.lang.String sessionId) {
- this.sessionId = sessionId;
- }
-
-
- /**
- * Gets the userId value for this LoginResult.
- *
- * @return userId
- */
- public java.lang.String getUserId() {
- return userId;
- }
-
-
- /**
- * Sets the userId value for this LoginResult.
- *
- * @param userId
- */
- public void setUserId(java.lang.String userId) {
- this.userId = userId;
- }
-
-
- /**
- * Gets the userInfo value for this LoginResult.
- *
- * @return userInfo
- */
- public com.sforce.soap.partner.GetUserInfoResult getUserInfo() {
- return userInfo;
- }
-
-
- /**
- * Sets the userInfo value for this LoginResult.
- *
- * @param userInfo
- */
- public void setUserInfo(com.sforce.soap.partner.GetUserInfoResult userInfo) {
- this.userInfo = userInfo;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LoginResult)) return false;
- LoginResult other = (LoginResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.metadataServerUrl==null && other.getMetadataServerUrl()==null)
||
- (this.metadataServerUrl!=null &&
- this.metadataServerUrl.equals(other.getMetadataServerUrl()))) &&
- this.passwordExpired == other.isPasswordExpired() &&
- this.sandbox == other.isSandbox() &&
- ((this.serverUrl==null && other.getServerUrl()==null) ||
- (this.serverUrl!=null &&
- this.serverUrl.equals(other.getServerUrl()))) &&
- ((this.sessionId==null && other.getSessionId()==null) ||
- (this.sessionId!=null &&
- this.sessionId.equals(other.getSessionId()))) &&
- ((this.userId==null && other.getUserId()==null) ||
- (this.userId!=null &&
- this.userId.equals(other.getUserId()))) &&
- ((this.userInfo==null && other.getUserInfo()==null) ||
- (this.userInfo!=null &&
- this.userInfo.equals(other.getUserInfo())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getMetadataServerUrl() != null) {
- _hashCode += getMetadataServerUrl().hashCode();
- }
- _hashCode += (isPasswordExpired() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isSandbox() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getServerUrl() != null) {
- _hashCode += getServerUrl().hashCode();
- }
- if (getSessionId() != null) {
- _hashCode += getSessionId().hashCode();
- }
- if (getUserId() != null) {
- _hashCode += getUserId().hashCode();
- }
- if (getUserInfo() != null) {
- _hashCode += getUserInfo().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LoginResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LoginResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("metadataServerUrl");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"metadataServerUrl"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("passwordExpired");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"passwordExpired"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sandbox");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sandbox"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("serverUrl");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"serverUrl"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sessionId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sessionId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "userId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userInfo");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"userInfo"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUserInfoResult"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for LoginResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="LoginResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="metadataServerUrl"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="passwordExpired"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="sandbox"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="serverUrl"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sessionId"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="userId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="userInfo"
type="{urn:partner.soap.sforce.com}GetUserInfoResult"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "LoginResult", propOrder = {
+ "metadataServerUrl",
+ "passwordExpired",
+ "sandbox",
+ "serverUrl",
+ "sessionId",
+ "userId",
+ "userInfo"
+})
+public class LoginResult {
+
+ @XmlElement(required = true, nillable = true)
+ protected String metadataServerUrl;
+ protected boolean passwordExpired;
+ protected boolean sandbox;
+ @XmlElement(required = true, nillable = true)
+ protected String serverUrl;
+ @XmlElement(required = true, nillable = true)
+ protected String sessionId;
+ @XmlElement(required = true, nillable = true)
+ protected String userId;
+ protected GetUserInfoResult userInfo;
+
+ /**
+ * Gets the value of the metadataServerUrl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMetadataServerUrl() {
+ return metadataServerUrl;
+ }
+
+ /**
+ * Sets the value of the metadataServerUrl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMetadataServerUrl(String value) {
+ this.metadataServerUrl = value;
+ }
+
+ /**
+ * Gets the value of the passwordExpired property.
+ *
+ */
+ public boolean isPasswordExpired() {
+ return passwordExpired;
+ }
+
+ /**
+ * Sets the value of the passwordExpired property.
+ *
+ */
+ public void setPasswordExpired(boolean value) {
+ this.passwordExpired = value;
+ }
+
+ /**
+ * Gets the value of the sandbox property.
+ *
+ */
+ public boolean isSandbox() {
+ return sandbox;
+ }
+
+ /**
+ * Sets the value of the sandbox property.
+ *
+ */
+ public void setSandbox(boolean value) {
+ this.sandbox = value;
+ }
+
+ /**
+ * Gets the value of the serverUrl property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getServerUrl() {
+ return serverUrl;
+ }
+
+ /**
+ * Sets the value of the serverUrl property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setServerUrl(String value) {
+ this.serverUrl = value;
+ }
+
+ /**
+ * Gets the value of the sessionId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSessionId() {
+ return sessionId;
+ }
+
+ /**
+ * Sets the value of the sessionId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSessionId(String value) {
+ this.sessionId = value;
+ }
+
+ /**
+ * Gets the value of the userId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUserId() {
+ return userId;
+ }
+
+ /**
+ * Sets the value of the userId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUserId(String value) {
+ this.userId = value;
+ }
+
+ /**
+ * Gets the value of the userInfo property.
+ *
+ * @return
+ * possible object is
+ * {@link GetUserInfoResult }
+ *
+ */
+ public GetUserInfoResult getUserInfo() {
+ return userInfo;
+ }
+
+ /**
+ * Sets the value of the userInfo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link GetUserInfoResult }
+ *
+ */
+ public void setUserInfo(GetUserInfoResult value) {
+ this.userInfo = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginScopeHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginScopeHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LoginScopeHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,156 +1,91 @@
-/**
- * LoginScopeHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LoginScopeHeader implements java.io.Serializable {
- private java.lang.String organizationId;
-
- private java.lang.String portalId;
-
- public LoginScopeHeader() {
- }
-
- public LoginScopeHeader(
- java.lang.String organizationId,
- java.lang.String portalId) {
- this.organizationId = organizationId;
- this.portalId = portalId;
- }
-
-
- /**
- * Gets the organizationId value for this LoginScopeHeader.
- *
- * @return organizationId
- */
- public java.lang.String getOrganizationId() {
- return organizationId;
- }
-
-
- /**
- * Sets the organizationId value for this LoginScopeHeader.
- *
- * @param organizationId
- */
- public void setOrganizationId(java.lang.String organizationId) {
- this.organizationId = organizationId;
- }
-
-
- /**
- * Gets the portalId value for this LoginScopeHeader.
- *
- * @return portalId
- */
- public java.lang.String getPortalId() {
- return portalId;
- }
-
-
- /**
- * Sets the portalId value for this LoginScopeHeader.
- *
- * @param portalId
- */
- public void setPortalId(java.lang.String portalId) {
- this.portalId = portalId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LoginScopeHeader)) return false;
- LoginScopeHeader other = (LoginScopeHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.organizationId==null && other.getOrganizationId()==null) ||
- (this.organizationId!=null &&
- this.organizationId.equals(other.getOrganizationId()))) &&
- ((this.portalId==null && other.getPortalId()==null) ||
- (this.portalId!=null &&
- this.portalId.equals(other.getPortalId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getOrganizationId() != null) {
- _hashCode += getOrganizationId().hashCode();
- }
- if (getPortalId() != null) {
- _hashCode += getPortalId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LoginScopeHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">LoginScopeHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("organizationId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"organizationId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("portalId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"portalId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="organizationId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="portalId"
type="{urn:partner.soap.sforce.com}ID" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "organizationId",
+ "portalId"
+})
+@XmlRootElement(name = "LoginScopeHeader")
+public class LoginScopeHeader {
+
+ @XmlElement(required = true)
+ protected String organizationId;
+ protected String portalId;
+
+ /**
+ * Gets the value of the organizationId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOrganizationId() {
+ return organizationId;
+ }
+
+ /**
+ * Sets the value of the organizationId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOrganizationId(String value) {
+ this.organizationId = value;
+ }
+
+ /**
+ * Gets the value of the portalId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPortalId() {
+ return portalId;
+ }
+
+ /**
+ * Sets the value of the portalId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPortalId(String value) {
+ this.portalId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Logout.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Logout.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Logout.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,32 @@
-/**
- * Logout.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Logout implements java.io.Serializable {
- public Logout() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Logout)) return false;
- Logout other = (Logout) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Logout.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">logout"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "logout")
+public class Logout {
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LogoutResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LogoutResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/LogoutResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,32 @@
-/**
- * LogoutResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class LogoutResponse implements java.io.Serializable {
- public LogoutResponse() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LogoutResponse)) return false;
- LogoutResponse other = (LogoutResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LogoutResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">logoutResponse"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "logoutResponse")
+public class LogoutResponse {
+
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedQueryFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedQueryFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedQueryFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "MalformedQueryFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class MalformedQueryFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.MalformedQueryFault malformedQueryFault;
+
+ public MalformedQueryFault() {
+ super();
+ }
+
+ public MalformedQueryFault(String message) {
+ super(message);
+ }
+
+ public MalformedQueryFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public MalformedQueryFault(String message,
com.sforce.soap.partner.fault.MalformedQueryFault malformedQueryFault) {
+ super(message);
+ this.malformedQueryFault = malformedQueryFault;
+ }
+
+ public MalformedQueryFault(String message,
com.sforce.soap.partner.fault.MalformedQueryFault malformedQueryFault, Throwable cause) {
+ super(message, cause);
+ this.malformedQueryFault = malformedQueryFault;
+ }
+
+ public com.sforce.soap.partner.fault.MalformedQueryFault getFaultInfo() {
+ return this.malformedQueryFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedQueryFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedSearchFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedSearchFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedSearchFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "MalformedSearchFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class MalformedSearchFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.MalformedSearchFault malformedSearchFault;
+
+ public MalformedSearchFault() {
+ super();
+ }
+
+ public MalformedSearchFault(String message) {
+ super(message);
+ }
+
+ public MalformedSearchFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public MalformedSearchFault(String message,
com.sforce.soap.partner.fault.MalformedSearchFault malformedSearchFault) {
+ super(message);
+ this.malformedSearchFault = malformedSearchFault;
+ }
+
+ public MalformedSearchFault(String message,
com.sforce.soap.partner.fault.MalformedSearchFault malformedSearchFault, Throwable cause)
{
+ super(message, cause);
+ this.malformedSearchFault = malformedSearchFault;
+ }
+
+ public com.sforce.soap.partner.fault.MalformedSearchFault getFaultInfo() {
+ return this.malformedSearchFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MalformedSearchFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MassEmailMessage.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MassEmailMessage.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MassEmailMessage.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,276 +1,158 @@
-/**
- * MassEmailMessage.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class MassEmailMessage extends com.sforce.soap.partner.Email implements
java.io.Serializable {
- private java.lang.String description;
-
- private java.lang.String[] targetObjectIds;
-
- private java.lang.String templateId;
-
- private java.lang.String[] whatIds;
-
- public MassEmailMessage() {
- }
-
- public MassEmailMessage(
- java.lang.Boolean bccSender,
- com.sforce.soap.partner.EmailPriority emailPriority,
- java.lang.String replyTo,
- java.lang.Boolean saveAsActivity,
- java.lang.String senderDisplayName,
- java.lang.String subject,
- java.lang.Boolean useSignature,
- java.lang.String description,
- java.lang.String[] targetObjectIds,
- java.lang.String templateId,
- java.lang.String[] whatIds) {
- super(
- bccSender,
- emailPriority,
- replyTo,
- saveAsActivity,
- senderDisplayName,
- subject,
- useSignature);
- this.description = description;
- this.targetObjectIds = targetObjectIds;
- this.templateId = templateId;
- this.whatIds = whatIds;
- }
-
-
- /**
- * Gets the description value for this MassEmailMessage.
- *
- * @return description
- */
- public java.lang.String getDescription() {
- return description;
- }
-
-
- /**
- * Sets the description value for this MassEmailMessage.
- *
- * @param description
- */
- public void setDescription(java.lang.String description) {
- this.description = description;
- }
-
-
- /**
- * Gets the targetObjectIds value for this MassEmailMessage.
- *
- * @return targetObjectIds
- */
- public java.lang.String[] getTargetObjectIds() {
- return targetObjectIds;
- }
-
-
- /**
- * Sets the targetObjectIds value for this MassEmailMessage.
- *
- * @param targetObjectIds
- */
- public void setTargetObjectIds(java.lang.String[] targetObjectIds) {
- this.targetObjectIds = targetObjectIds;
- }
-
- public java.lang.String getTargetObjectIds(int i) {
- return this.targetObjectIds[i];
- }
-
- public void setTargetObjectIds(int i, java.lang.String _value) {
- this.targetObjectIds[i] = _value;
- }
-
-
- /**
- * Gets the templateId value for this MassEmailMessage.
- *
- * @return templateId
- */
- public java.lang.String getTemplateId() {
- return templateId;
- }
-
-
- /**
- * Sets the templateId value for this MassEmailMessage.
- *
- * @param templateId
- */
- public void setTemplateId(java.lang.String templateId) {
- this.templateId = templateId;
- }
-
-
- /**
- * Gets the whatIds value for this MassEmailMessage.
- *
- * @return whatIds
- */
- public java.lang.String[] getWhatIds() {
- return whatIds;
- }
-
-
- /**
- * Sets the whatIds value for this MassEmailMessage.
- *
- * @param whatIds
- */
- public void setWhatIds(java.lang.String[] whatIds) {
- this.whatIds = whatIds;
- }
-
- public java.lang.String getWhatIds(int i) {
- return this.whatIds[i];
- }
-
- public void setWhatIds(int i, java.lang.String _value) {
- this.whatIds[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof MassEmailMessage)) return false;
- MassEmailMessage other = (MassEmailMessage) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj) &&
- ((this.description==null && other.getDescription()==null) ||
- (this.description!=null &&
- this.description.equals(other.getDescription()))) &&
- ((this.targetObjectIds==null && other.getTargetObjectIds()==null) ||
- (this.targetObjectIds!=null &&
- java.util.Arrays.equals(this.targetObjectIds, other.getTargetObjectIds())))
&&
- ((this.templateId==null && other.getTemplateId()==null) ||
- (this.templateId!=null &&
- this.templateId.equals(other.getTemplateId()))) &&
- ((this.whatIds==null && other.getWhatIds()==null) ||
- (this.whatIds!=null &&
- java.util.Arrays.equals(this.whatIds, other.getWhatIds())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- if (getDescription() != null) {
- _hashCode += getDescription().hashCode();
- }
- if (getTargetObjectIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getTargetObjectIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getTargetObjectIds(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getTemplateId() != null) {
- _hashCode += getTemplateId().hashCode();
- }
- if (getWhatIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getWhatIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getWhatIds(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(MassEmailMessage.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MassEmailMessage"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("description");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"description"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("targetObjectIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"targetObjectIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("templateId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"templateId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("whatIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "whatIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MassEmailMessage complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="MassEmailMessage">
+ * <complexContent>
+ * <extension base="{urn:partner.soap.sforce.com}Email">
+ * <sequence>
+ * <element name="description"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="targetObjectIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="250"
minOccurs="0"/>
+ * <element name="templateId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="whatIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="250"
minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MassEmailMessage", propOrder = {
+ "description",
+ "targetObjectIds",
+ "templateId",
+ "whatIds"
+})
+public class MassEmailMessage
+ extends Email
+{
+
+ @XmlElement(required = true, nillable = true)
+ protected String description;
+ protected List<String> targetObjectIds;
+ @XmlElement(required = true)
+ protected String templateId;
+ protected List<String> whatIds;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the targetObjectIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
targetObjectIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTargetObjectIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getTargetObjectIds() {
+ if (targetObjectIds == null) {
+ targetObjectIds = new ArrayList<String>();
+ }
+ return this.targetObjectIds;
+ }
+
+ /**
+ * Gets the value of the templateId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTemplateId() {
+ return templateId;
+ }
+
+ /**
+ * Sets the value of the templateId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTemplateId(String value) {
+ this.templateId = value;
+ }
+
+ /**
+ * Gets the value of the whatIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the whatIds
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getWhatIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getWhatIds() {
+ if (whatIds == null) {
+ whatIds = new ArrayList<String>();
+ }
+ return this.whatIds;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Merge.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Merge.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Merge.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="request"
type="{urn:partner.soap.sforce.com}MergeRequest" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "request"
+})
+@XmlRootElement(name = "merge")
+public class Merge {
+
+ protected List<MergeRequest> request;
+
+ /**
+ * Gets the value of the request property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the request
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRequest().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MergeRequest }
+ *
+ *
+ */
+ public List<MergeRequest> getRequest() {
+ if (request == null) {
+ request = new ArrayList<MergeRequest>();
+ }
+ return this.request;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Merge.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeRequest.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeRequest.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeRequest.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,172 +1,98 @@
-/**
- * MergeRequest.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class MergeRequest implements java.io.Serializable {
- private com.sforce.soap.partner.sobject.SObject masterRecord;
-
- private java.lang.String[] recordToMergeIds;
-
- public MergeRequest() {
- }
-
- public MergeRequest(
- com.sforce.soap.partner.sobject.SObject masterRecord,
- java.lang.String[] recordToMergeIds) {
- this.masterRecord = masterRecord;
- this.recordToMergeIds = recordToMergeIds;
- }
-
-
- /**
- * Gets the masterRecord value for this MergeRequest.
- *
- * @return masterRecord
- */
- public com.sforce.soap.partner.sobject.SObject getMasterRecord() {
- return masterRecord;
- }
-
-
- /**
- * Sets the masterRecord value for this MergeRequest.
- *
- * @param masterRecord
- */
- public void setMasterRecord(com.sforce.soap.partner.sobject.SObject masterRecord) {
- this.masterRecord = masterRecord;
- }
-
-
- /**
- * Gets the recordToMergeIds value for this MergeRequest.
- *
- * @return recordToMergeIds
- */
- public java.lang.String[] getRecordToMergeIds() {
- return recordToMergeIds;
- }
-
-
- /**
- * Sets the recordToMergeIds value for this MergeRequest.
- *
- * @param recordToMergeIds
- */
- public void setRecordToMergeIds(java.lang.String[] recordToMergeIds) {
- this.recordToMergeIds = recordToMergeIds;
- }
-
- public java.lang.String getRecordToMergeIds(int i) {
- return this.recordToMergeIds[i];
- }
-
- public void setRecordToMergeIds(int i, java.lang.String _value) {
- this.recordToMergeIds[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof MergeRequest)) return false;
- MergeRequest other = (MergeRequest) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.masterRecord==null && other.getMasterRecord()==null) ||
- (this.masterRecord!=null &&
- this.masterRecord.equals(other.getMasterRecord()))) &&
- ((this.recordToMergeIds==null && other.getRecordToMergeIds()==null)
||
- (this.recordToMergeIds!=null &&
- java.util.Arrays.equals(this.recordToMergeIds,
other.getRecordToMergeIds())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getMasterRecord() != null) {
- _hashCode += getMasterRecord().hashCode();
- }
- if (getRecordToMergeIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getRecordToMergeIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getRecordToMergeIds(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(MergeRequest.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeRequest"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("masterRecord");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"masterRecord"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordToMergeIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordToMergeIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for MergeRequest complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="MergeRequest">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="masterRecord"
type="{urn:sobject.partner.soap.sforce.com}sObject"/>
+ * <element name="recordToMergeIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MergeRequest", propOrder = {
+ "masterRecord",
+ "recordToMergeIds"
+})
+public class MergeRequest {
+
+ @XmlElement(required = true)
+ protected SObject masterRecord;
+ @XmlElement(required = true)
+ protected List<String> recordToMergeIds;
+
+ /**
+ * Gets the value of the masterRecord property.
+ *
+ * @return
+ * possible object is
+ * {@link SObject }
+ *
+ */
+ public SObject getMasterRecord() {
+ return masterRecord;
+ }
+
+ /**
+ * Sets the value of the masterRecord property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SObject }
+ *
+ */
+ public void setMasterRecord(SObject value) {
+ this.masterRecord = value;
+ }
+
+ /**
+ * Gets the value of the recordToMergeIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
recordToMergeIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRecordToMergeIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getRecordToMergeIds() {
+ if (recordToMergeIds == null) {
+ recordToMergeIds = new ArrayList<String>();
+ }
+ return this.recordToMergeIds;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}MergeResult" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "mergeResponse")
+public class MergeResponse {
+
+ protected List<MergeResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MergeResult }
+ *
+ *
+ */
+ public List<MergeResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<MergeResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MergeResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,313 +1,179 @@
-/**
- * MergeResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class MergeResult implements java.io.Serializable {
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String id;
-
- private java.lang.String[] mergedRecordIds;
-
- private boolean success;
-
- private java.lang.String[] updatedRelatedIds;
-
- public MergeResult() {
- }
-
- public MergeResult(
- com.sforce.soap.partner.Error[] errors,
- java.lang.String id,
- java.lang.String[] mergedRecordIds,
- boolean success,
- java.lang.String[] updatedRelatedIds) {
- this.errors = errors;
- this.id = id;
- this.mergedRecordIds = mergedRecordIds;
- this.success = success;
- this.updatedRelatedIds = updatedRelatedIds;
- }
-
-
- /**
- * Gets the errors value for this MergeResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this MergeResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the id value for this MergeResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this MergeResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the mergedRecordIds value for this MergeResult.
- *
- * @return mergedRecordIds
- */
- public java.lang.String[] getMergedRecordIds() {
- return mergedRecordIds;
- }
-
-
- /**
- * Sets the mergedRecordIds value for this MergeResult.
- *
- * @param mergedRecordIds
- */
- public void setMergedRecordIds(java.lang.String[] mergedRecordIds) {
- this.mergedRecordIds = mergedRecordIds;
- }
-
- public java.lang.String getMergedRecordIds(int i) {
- return this.mergedRecordIds[i];
- }
-
- public void setMergedRecordIds(int i, java.lang.String _value) {
- this.mergedRecordIds[i] = _value;
- }
-
-
- /**
- * Gets the success value for this MergeResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this MergeResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
-
- /**
- * Gets the updatedRelatedIds value for this MergeResult.
- *
- * @return updatedRelatedIds
- */
- public java.lang.String[] getUpdatedRelatedIds() {
- return updatedRelatedIds;
- }
-
-
- /**
- * Sets the updatedRelatedIds value for this MergeResult.
- *
- * @param updatedRelatedIds
- */
- public void setUpdatedRelatedIds(java.lang.String[] updatedRelatedIds) {
- this.updatedRelatedIds = updatedRelatedIds;
- }
-
- public java.lang.String getUpdatedRelatedIds(int i) {
- return this.updatedRelatedIds[i];
- }
-
- public void setUpdatedRelatedIds(int i, java.lang.String _value) {
- this.updatedRelatedIds[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof MergeResult)) return false;
- MergeResult other = (MergeResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- ((this.mergedRecordIds==null && other.getMergedRecordIds()==null) ||
- (this.mergedRecordIds!=null &&
- java.util.Arrays.equals(this.mergedRecordIds, other.getMergedRecordIds())))
&&
- this.success == other.isSuccess() &&
- ((this.updatedRelatedIds==null && other.getUpdatedRelatedIds()==null)
||
- (this.updatedRelatedIds!=null &&
- java.util.Arrays.equals(this.updatedRelatedIds,
other.getUpdatedRelatedIds())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- if (getMergedRecordIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getMergedRecordIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getMergedRecordIds(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getUpdatedRelatedIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getUpdatedRelatedIds());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getUpdatedRelatedIds(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(MergeResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("mergedRecordIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"mergedRecordIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("updatedRelatedIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"updatedRelatedIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MergeResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="MergeResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="mergedRecordIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="updatedRelatedIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MergeResult", propOrder = {
+ "errors",
+ "id",
+ "mergedRecordIds",
+ "success",
+ "updatedRelatedIds"
+})
+public class MergeResult {
+
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected List<String> mergedRecordIds;
+ protected boolean success;
+ protected List<String> updatedRelatedIds;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the mergedRecordIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
mergedRecordIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMergedRecordIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getMergedRecordIds() {
+ if (mergedRecordIds == null) {
+ mergedRecordIds = new ArrayList<String>();
+ }
+ return this.mergedRecordIds;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+ /**
+ * Gets the value of the updatedRelatedIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
updatedRelatedIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getUpdatedRelatedIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getUpdatedRelatedIds() {
+ if (updatedRelatedIds == null) {
+ updatedRelatedIds = new ArrayList<String>();
+ }
+ return this.updatedRelatedIds;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MruHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MruHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/MruHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,115 +1,54 @@
-/**
- * MruHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class MruHeader implements java.io.Serializable {
- private boolean updateMru;
-
- public MruHeader() {
- }
-
- public MruHeader(
- boolean updateMru) {
- this.updateMru = updateMru;
- }
-
-
- /**
- * Gets the updateMru value for this MruHeader.
- *
- * @return updateMru
- */
- public boolean isUpdateMru() {
- return updateMru;
- }
-
-
- /**
- * Sets the updateMru value for this MruHeader.
- *
- * @param updateMru
- */
- public void setUpdateMru(boolean updateMru) {
- this.updateMru = updateMru;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof MruHeader)) return false;
- MruHeader other = (MruHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.updateMru == other.isUpdateMru();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isUpdateMru() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(MruHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">MruHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("updateMru");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"updateMru"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="updateMru"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "updateMru"
+})
+@XmlRootElement(name = "MruHeader")
+public class MruHeader {
+
+ protected boolean updateMru;
+
+ /**
+ * Gets the value of the updateMru property.
+ *
+ */
+ public boolean isUpdateMru() {
+ return updateMru;
+ }
+
+ /**
+ * Sets the value of the updateMru property.
+ *
+ */
+ public void setUpdateMru(boolean value) {
+ this.updateMru = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ObjectFactory.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ObjectFactory.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ObjectFactory.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,1149 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.sforce.soap.partner package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _EmailFileAttachmentContentType_QNAME = new
QName("urn:partner.soap.sforce.com", "contentType");
+ private final static QName _EmailFileAttachmentBody_QNAME = new
QName("urn:partner.soap.sforce.com", "body");
+ private final static QName _SingleEmailMessageOrgWideEmailAddressId_QNAME = new
QName("urn:partner.soap.sforce.com", "orgWideEmailAddressId");
+ private final static QName _SingleEmailMessageInReplyTo_QNAME = new
QName("urn:partner.soap.sforce.com", "inReplyTo");
+ private final static QName _SingleEmailMessageReferences_QNAME = new
QName("urn:partner.soap.sforce.com", "references");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: com.sforce.soap.partner
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link DescribeTabSetResult }
+ *
+ */
+ public DescribeTabSetResult createDescribeTabSetResult() {
+ return new DescribeTabSetResult();
+ }
+
+ /**
+ * Create an instance of {@link QueryAll }
+ *
+ */
+ public QueryAll createQueryAll() {
+ return new QueryAll();
+ }
+
+ /**
+ * Create an instance of {@link GetServerTimestampResult }
+ *
+ */
+ public GetServerTimestampResult createGetServerTimestampResult() {
+ return new GetServerTimestampResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayout2 }
+ *
+ */
+ public DescribeLayout2 createDescribeLayout2() {
+ return new DescribeLayout2();
+ }
+
+ /**
+ * Create an instance of {@link InvalidateSessionsResult }
+ *
+ */
+ public InvalidateSessionsResult createInvalidateSessionsResult() {
+ return new InvalidateSessionsResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayoutItem }
+ *
+ */
+ public DescribeSoftphoneLayoutItem createDescribeSoftphoneLayoutItem() {
+ return new DescribeSoftphoneLayoutItem();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayoutResult }
+ *
+ */
+ public DescribeSoftphoneLayoutResult createDescribeSoftphoneLayoutResult() {
+ return new DescribeSoftphoneLayoutResult();
+ }
+
+ /**
+ * Create an instance of {@link SessionHeader }
+ *
+ */
+ public SessionHeader createSessionHeader() {
+ return new SessionHeader();
+ }
+
+ /**
+ * Create an instance of {@link LeadConvert }
+ *
+ */
+ public LeadConvert createLeadConvert() {
+ return new LeadConvert();
+ }
+
+ /**
+ * Create an instance of {@link SetPassword }
+ *
+ */
+ public SetPassword createSetPassword() {
+ return new SetPassword();
+ }
+
+ /**
+ * Create an instance of {@link UpsertResponse }
+ *
+ */
+ public UpsertResponse createUpsertResponse() {
+ return new UpsertResponse();
+ }
+
+ /**
+ * Create an instance of {@link AllowFieldTruncationHeader }
+ *
+ */
+ public AllowFieldTruncationHeader createAllowFieldTruncationHeader() {
+ return new AllowFieldTruncationHeader();
+ }
+
+ /**
+ * Create an instance of {@link MassEmailMessage }
+ *
+ */
+ public MassEmailMessage createMassEmailMessage() {
+ return new MassEmailMessage();
+ }
+
+ /**
+ * Create an instance of {@link GetUserInfoResponse }
+ *
+ */
+ public GetUserInfoResponse createGetUserInfoResponse() {
+ return new GetUserInfoResponse();
+ }
+
+ /**
+ * Create an instance of {@link Upsert }
+ *
+ */
+ public Upsert createUpsert() {
+ return new Upsert();
+ }
+
+ /**
+ * Create an instance of {@link RecordTypeInfo }
+ *
+ */
+ public RecordTypeInfo createRecordTypeInfo() {
+ return new RecordTypeInfo();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutButton }
+ *
+ */
+ public DescribeLayoutButton createDescribeLayoutButton() {
+ return new DescribeLayoutButton();
+ }
+
+ /**
+ * Create an instance of {@link DebuggingInfo }
+ *
+ */
+ public DebuggingInfo createDebuggingInfo() {
+ return new DebuggingInfo();
+ }
+
+ /**
+ * Create an instance of {@link GetUserInfoResult }
+ *
+ */
+ public GetUserInfoResult createGetUserInfoResult() {
+ return new GetUserInfoResult();
+ }
+
+ /**
+ * Create an instance of {@link DeleteResult }
+ *
+ */
+ public DeleteResult createDeleteResult() {
+ return new DeleteResult();
+ }
+
+ /**
+ * Create an instance of {@link SendEmail }
+ *
+ */
+ public SendEmail createSendEmail() {
+ return new SendEmail();
+ }
+
+ /**
+ * Create an instance of {@link UndeleteResponse }
+ *
+ */
+ public UndeleteResponse createUndeleteResponse() {
+ return new UndeleteResponse();
+ }
+
+ /**
+ * Create an instance of {@link DeletedRecord }
+ *
+ */
+ public DeletedRecord createDeletedRecord() {
+ return new DeletedRecord();
+ }
+
+ /**
+ * Create an instance of {@link Search }
+ *
+ */
+ public Search createSearch() {
+ return new Search();
+ }
+
+ /**
+ * Create an instance of {@link UndeleteResult }
+ *
+ */
+ public UndeleteResult createUndeleteResult() {
+ return new UndeleteResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutRow }
+ *
+ */
+ public DescribeLayoutRow createDescribeLayoutRow() {
+ return new DescribeLayoutRow();
+ }
+
+ /**
+ * Create an instance of {@link DescribeGlobalSObjectResult }
+ *
+ */
+ public DescribeGlobalSObjectResult createDescribeGlobalSObjectResult() {
+ return new DescribeGlobalSObjectResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeTab }
+ *
+ */
+ public DescribeTab createDescribeTab() {
+ return new DescribeTab();
+ }
+
+ /**
+ * Create an instance of {@link Logout }
+ *
+ */
+ public Logout createLogout() {
+ return new Logout();
+ }
+
+ /**
+ * Create an instance of {@link RecordTypeMapping }
+ *
+ */
+ public RecordTypeMapping createRecordTypeMapping() {
+ return new RecordTypeMapping();
+ }
+
+ /**
+ * Create an instance of {@link ProcessRequest }
+ *
+ */
+ public ProcessRequest createProcessRequest() {
+ return new ProcessRequest();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayout }
+ *
+ */
+ public DescribeLayout createDescribeLayout() {
+ return new DescribeLayout();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutSection }
+ *
+ */
+ public DescribeLayoutSection createDescribeLayoutSection() {
+ return new DescribeLayoutSection();
+ }
+
+ /**
+ * Create an instance of {@link QueryResult }
+ *
+ */
+ public QueryResult createQueryResult() {
+ return new QueryResult();
+ }
+
+ /**
+ * Create an instance of {@link SingleEmailMessage }
+ *
+ */
+ public SingleEmailMessage createSingleEmailMessage() {
+ return new SingleEmailMessage();
+ }
+
+ /**
+ * Create an instance of {@link DescribeTabsResponse }
+ *
+ */
+ public DescribeTabsResponse createDescribeTabsResponse() {
+ return new DescribeTabsResponse();
+ }
+
+ /**
+ * Create an instance of {@link SearchResult }
+ *
+ */
+ public SearchResult createSearchResult() {
+ return new SearchResult();
+ }
+
+ /**
+ * Create an instance of {@link EmptyRecycleBin }
+ *
+ */
+ public EmptyRecycleBin createEmptyRecycleBin() {
+ return new EmptyRecycleBin();
+ }
+
+ /**
+ * Create an instance of {@link SearchRecord }
+ *
+ */
+ public SearchRecord createSearchRecord() {
+ return new SearchRecord();
+ }
+
+ /**
+ * Create an instance of {@link ProcessResult }
+ *
+ */
+ public ProcessResult createProcessResult() {
+ return new ProcessResult();
+ }
+
+ /**
+ * Create an instance of {@link MergeResponse }
+ *
+ */
+ public MergeResponse createMergeResponse() {
+ return new MergeResponse();
+ }
+
+ /**
+ * Create an instance of {@link PicklistEntry }
+ *
+ */
+ public PicklistEntry createPicklistEntry() {
+ return new PicklistEntry();
+ }
+
+ /**
+ * Create an instance of {@link InvalidateSessionsResponse }
+ *
+ */
+ public InvalidateSessionsResponse createInvalidateSessionsResponse() {
+ return new InvalidateSessionsResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutComponent }
+ *
+ */
+ public DescribeLayoutComponent createDescribeLayoutComponent() {
+ return new DescribeLayoutComponent();
+ }
+
+ /**
+ * Create an instance of {@link GetUpdated }
+ *
+ */
+ public GetUpdated createGetUpdated() {
+ return new GetUpdated();
+ }
+
+ /**
+ * Create an instance of {@link SetPasswordResult }
+ *
+ */
+ public SetPasswordResult createSetPasswordResult() {
+ return new SetPasswordResult();
+ }
+
+ /**
+ * Create an instance of {@link EmailFileAttachment }
+ *
+ */
+ public EmailFileAttachment createEmailFileAttachment() {
+ return new EmailFileAttachment();
+ }
+
+ /**
+ * Create an instance of {@link PackageVersionHeader }
+ *
+ */
+ public PackageVersionHeader createPackageVersionHeader() {
+ return new PackageVersionHeader();
+ }
+
+ /**
+ * Create an instance of {@link Update }
+ *
+ */
+ public Update createUpdate() {
+ return new Update();
+ }
+
+ /**
+ * Create an instance of {@link GetServerTimestampResponse }
+ *
+ */
+ public GetServerTimestampResponse createGetServerTimestampResponse() {
+ return new GetServerTimestampResponse();
+ }
+
+ /**
+ * Create an instance of {@link LeadConvertResult }
+ *
+ */
+ public LeadConvertResult createLeadConvertResult() {
+ return new LeadConvertResult();
+ }
+
+ /**
+ * Create an instance of {@link QueryAllResponse }
+ *
+ */
+ public QueryAllResponse createQueryAllResponse() {
+ return new QueryAllResponse();
+ }
+
+ /**
+ * Create an instance of {@link SendEmailResult }
+ *
+ */
+ public SendEmailResult createSendEmailResult() {
+ return new SendEmailResult();
+ }
+
+ /**
+ * Create an instance of {@link GetDeletedResult }
+ *
+ */
+ public GetDeletedResult createGetDeletedResult() {
+ return new GetDeletedResult();
+ }
+
+ /**
+ * Create an instance of {@link RelatedListColumn }
+ *
+ */
+ public RelatedListColumn createRelatedListColumn() {
+ return new RelatedListColumn();
+ }
+
+ /**
+ * Create an instance of {@link RetrieveResponse }
+ *
+ */
+ public RetrieveResponse createRetrieveResponse() {
+ return new RetrieveResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSObjects }
+ *
+ */
+ public DescribeSObjects createDescribeSObjects() {
+ return new DescribeSObjects();
+ }
+
+ /**
+ * Create an instance of {@link CallOptions }
+ *
+ */
+ public CallOptions createCallOptions() {
+ return new CallOptions();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutResponse }
+ *
+ */
+ public DescribeLayoutResponse createDescribeLayoutResponse() {
+ return new DescribeLayoutResponse();
+ }
+
+ /**
+ * Create an instance of {@link QueryMoreResponse }
+ *
+ */
+ public QueryMoreResponse createQueryMoreResponse() {
+ return new QueryMoreResponse();
+ }
+
+ /**
+ * Create an instance of {@link DebuggingHeader }
+ *
+ */
+ public DebuggingHeader createDebuggingHeader() {
+ return new DebuggingHeader();
+ }
+
+ /**
+ * Create an instance of {@link Merge }
+ *
+ */
+ public Merge createMerge() {
+ return new Merge();
+ }
+
+ /**
+ * Create an instance of {@link LoginResponse }
+ *
+ */
+ public LoginResponse createLoginResponse() {
+ return new LoginResponse();
+ }
+
+ /**
+ * Create an instance of {@link LoginScopeHeader }
+ *
+ */
+ public LoginScopeHeader createLoginScopeHeader() {
+ return new LoginScopeHeader();
+ }
+
+ /**
+ * Create an instance of {@link RelatedList }
+ *
+ */
+ public RelatedList createRelatedList() {
+ return new RelatedList();
+ }
+
+ /**
+ * Create an instance of {@link ProcessResponse }
+ *
+ */
+ public ProcessResponse createProcessResponse() {
+ return new ProcessResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSObjectResult }
+ *
+ */
+ public DescribeSObjectResult createDescribeSObjectResult() {
+ return new DescribeSObjectResult();
+ }
+
+ /**
+ * Create an instance of {@link LocaleOptions }
+ *
+ */
+ public LocaleOptions createLocaleOptions() {
+ return new LocaleOptions();
+ }
+
+ /**
+ * Create an instance of {@link UpdateResponse }
+ *
+ */
+ public UpdateResponse createUpdateResponse() {
+ return new UpdateResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayoutInfoField }
+ *
+ */
+ public DescribeSoftphoneLayoutInfoField createDescribeSoftphoneLayoutInfoField() {
+ return new DescribeSoftphoneLayoutInfoField();
+ }
+
+ /**
+ * Create an instance of {@link QueryResponse }
+ *
+ */
+ public QueryResponse createQueryResponse() {
+ return new QueryResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetServerTimestamp }
+ *
+ */
+ public GetServerTimestamp createGetServerTimestamp() {
+ return new GetServerTimestamp();
+ }
+
+ /**
+ * Create an instance of {@link Delete }
+ *
+ */
+ public Delete createDelete() {
+ return new Delete();
+ }
+
+ /**
+ * Create an instance of {@link Error }
+ *
+ */
+ public Error createError() {
+ return new Error();
+ }
+
+ /**
+ * Create an instance of {@link DescribeGlobalResponse }
+ *
+ */
+ public DescribeGlobalResponse createDescribeGlobalResponse() {
+ return new DescribeGlobalResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutResult }
+ *
+ */
+ public DescribeLayoutResult createDescribeLayoutResult() {
+ return new DescribeLayoutResult();
+ }
+
+ /**
+ * Create an instance of {@link SetPasswordResponse }
+ *
+ */
+ public SetPasswordResponse createSetPasswordResponse() {
+ return new SetPasswordResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayout }
+ *
+ */
+ public DescribeSoftphoneLayout createDescribeSoftphoneLayout() {
+ return new DescribeSoftphoneLayout();
+ }
+
+ /**
+ * Create an instance of {@link DeleteResponse }
+ *
+ */
+ public DeleteResponse createDeleteResponse() {
+ return new DeleteResponse();
+ }
+
+ /**
+ * Create an instance of {@link SendEmailResponse }
+ *
+ */
+ public SendEmailResponse createSendEmailResponse() {
+ return new SendEmailResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetUpdatedResponse }
+ *
+ */
+ public GetUpdatedResponse createGetUpdatedResponse() {
+ return new GetUpdatedResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetUpdatedResult }
+ *
+ */
+ public GetUpdatedResult createGetUpdatedResult() {
+ return new GetUpdatedResult();
+ }
+
+ /**
+ * Create an instance of {@link Create }
+ *
+ */
+ public Create createCreate() {
+ return new Create();
+ }
+
+ /**
+ * Create an instance of {@link LogoutResponse }
+ *
+ */
+ public LogoutResponse createLogoutResponse() {
+ return new LogoutResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSObjectResponse }
+ *
+ */
+ public DescribeSObjectResponse createDescribeSObjectResponse() {
+ return new DescribeSObjectResponse();
+ }
+
+ /**
+ * Create an instance of {@link Retrieve }
+ *
+ */
+ public Retrieve createRetrieve() {
+ return new Retrieve();
+ }
+
+ /**
+ * Create an instance of {@link Process }
+ *
+ */
+ public Process createProcess() {
+ return new Process();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutItem }
+ *
+ */
+ public DescribeLayoutItem createDescribeLayoutItem() {
+ return new DescribeLayoutItem();
+ }
+
+ /**
+ * Create an instance of {@link PicklistForRecordType }
+ *
+ */
+ public PicklistForRecordType createPicklistForRecordType() {
+ return new PicklistForRecordType();
+ }
+
+ /**
+ * Create an instance of {@link InvalidateSessions }
+ *
+ */
+ public InvalidateSessions createInvalidateSessions() {
+ return new InvalidateSessions();
+ }
+
+ /**
+ * Create an instance of {@link DescribeLayoutButtonSection }
+ *
+ */
+ public DescribeLayoutButtonSection createDescribeLayoutButtonSection() {
+ return new DescribeLayoutButtonSection();
+ }
+
+ /**
+ * Create an instance of {@link PackageVersion }
+ *
+ */
+ public PackageVersion createPackageVersion() {
+ return new PackageVersion();
+ }
+
+ /**
+ * Create an instance of {@link SearchResponse }
+ *
+ */
+ public SearchResponse createSearchResponse() {
+ return new SearchResponse();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSObject }
+ *
+ */
+ public DescribeSObject createDescribeSObject() {
+ return new DescribeSObject();
+ }
+
+ /**
+ * Create an instance of {@link AssignmentRuleHeader }
+ *
+ */
+ public AssignmentRuleHeader createAssignmentRuleHeader() {
+ return new AssignmentRuleHeader();
+ }
+
+ /**
+ * Create an instance of {@link DescribeGlobal }
+ *
+ */
+ public DescribeGlobal createDescribeGlobal() {
+ return new DescribeGlobal();
+ }
+
+ /**
+ * Create an instance of {@link Email }
+ *
+ */
+ public Email createEmail() {
+ return new Email();
+ }
+
+ /**
+ * Create an instance of {@link EmailHeader }
+ *
+ */
+ public EmailHeader createEmailHeader() {
+ return new EmailHeader();
+ }
+
+ /**
+ * Create an instance of {@link UserTerritoryDeleteHeader }
+ *
+ */
+ public UserTerritoryDeleteHeader createUserTerritoryDeleteHeader() {
+ return new UserTerritoryDeleteHeader();
+ }
+
+ /**
+ * Create an instance of {@link Query }
+ *
+ */
+ public Query createQuery() {
+ return new Query();
+ }
+
+ /**
+ * Create an instance of {@link ProcessSubmitRequest }
+ *
+ */
+ public ProcessSubmitRequest createProcessSubmitRequest() {
+ return new ProcessSubmitRequest();
+ }
+
+ /**
+ * Create an instance of {@link SaveResult }
+ *
+ */
+ public SaveResult createSaveResult() {
+ return new SaveResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayoutSection }
+ *
+ */
+ public DescribeSoftphoneLayoutSection createDescribeSoftphoneLayoutSection() {
+ return new DescribeSoftphoneLayoutSection();
+ }
+
+ /**
+ * Create an instance of {@link MruHeader }
+ *
+ */
+ public MruHeader createMruHeader() {
+ return new MruHeader();
+ }
+
+ /**
+ * Create an instance of {@link DescribeGlobalResult }
+ *
+ */
+ public DescribeGlobalResult createDescribeGlobalResult() {
+ return new DescribeGlobalResult();
+ }
+
+ /**
+ * Create an instance of {@link GetDeleted }
+ *
+ */
+ public GetDeleted createGetDeleted() {
+ return new GetDeleted();
+ }
+
+ /**
+ * Create an instance of {@link DescribeTabs }
+ *
+ */
+ public DescribeTabs createDescribeTabs() {
+ return new DescribeTabs();
+ }
+
+ /**
+ * Create an instance of {@link ChildRelationship }
+ *
+ */
+ public ChildRelationship createChildRelationship() {
+ return new ChildRelationship();
+ }
+
+ /**
+ * Create an instance of {@link MergeResult }
+ *
+ */
+ public MergeResult createMergeResult() {
+ return new MergeResult();
+ }
+
+ /**
+ * Create an instance of {@link CreateResponse }
+ *
+ */
+ public CreateResponse createCreateResponse() {
+ return new CreateResponse();
+ }
+
+ /**
+ * Create an instance of {@link ConvertLeadResponse }
+ *
+ */
+ public ConvertLeadResponse createConvertLeadResponse() {
+ return new ConvertLeadResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetUserInfo }
+ *
+ */
+ public GetUserInfo createGetUserInfo() {
+ return new GetUserInfo();
+ }
+
+ /**
+ * Create an instance of {@link QueryMore }
+ *
+ */
+ public QueryMore createQueryMore() {
+ return new QueryMore();
+ }
+
+ /**
+ * Create an instance of {@link RelatedListSort }
+ *
+ */
+ public RelatedListSort createRelatedListSort() {
+ return new RelatedListSort();
+ }
+
+ /**
+ * Create an instance of {@link SendEmailError }
+ *
+ */
+ public SendEmailError createSendEmailError() {
+ return new SendEmailError();
+ }
+
+ /**
+ * Create an instance of {@link UpsertResult }
+ *
+ */
+ public UpsertResult createUpsertResult() {
+ return new UpsertResult();
+ }
+
+ /**
+ * Create an instance of {@link ResetPassword }
+ *
+ */
+ public ResetPassword createResetPassword() {
+ return new ResetPassword();
+ }
+
+ /**
+ * Create an instance of {@link MergeRequest }
+ *
+ */
+ public MergeRequest createMergeRequest() {
+ return new MergeRequest();
+ }
+
+ /**
+ * Create an instance of {@link Field }
+ *
+ */
+ public Field createField() {
+ return new Field();
+ }
+
+ /**
+ * Create an instance of {@link ProcessWorkitemRequest }
+ *
+ */
+ public ProcessWorkitemRequest createProcessWorkitemRequest() {
+ return new ProcessWorkitemRequest();
+ }
+
+ /**
+ * Create an instance of {@link EmptyRecycleBinResult }
+ *
+ */
+ public EmptyRecycleBinResult createEmptyRecycleBinResult() {
+ return new EmptyRecycleBinResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayoutResponse }
+ *
+ */
+ public DescribeSoftphoneLayoutResponse createDescribeSoftphoneLayoutResponse() {
+ return new DescribeSoftphoneLayoutResponse();
+ }
+
+ /**
+ * Create an instance of {@link QueryOptions }
+ *
+ */
+ public QueryOptions createQueryOptions() {
+ return new QueryOptions();
+ }
+
+ /**
+ * Create an instance of {@link Undelete }
+ *
+ */
+ public Undelete createUndelete() {
+ return new Undelete();
+ }
+
+ /**
+ * Create an instance of {@link ResetPasswordResponse }
+ *
+ */
+ public ResetPasswordResponse createResetPasswordResponse() {
+ return new ResetPasswordResponse();
+ }
+
+ /**
+ * Create an instance of {@link Login }
+ *
+ */
+ public Login createLogin() {
+ return new Login();
+ }
+
+ /**
+ * Create an instance of {@link ResetPasswordResult }
+ *
+ */
+ public ResetPasswordResult createResetPasswordResult() {
+ return new ResetPasswordResult();
+ }
+
+ /**
+ * Create an instance of {@link LoginResult }
+ *
+ */
+ public LoginResult createLoginResult() {
+ return new LoginResult();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSObjectsResponse }
+ *
+ */
+ public DescribeSObjectsResponse createDescribeSObjectsResponse() {
+ return new DescribeSObjectsResponse();
+ }
+
+ /**
+ * Create an instance of {@link ConvertLead }
+ *
+ */
+ public ConvertLead createConvertLead() {
+ return new ConvertLead();
+ }
+
+ /**
+ * Create an instance of {@link DescribeSoftphoneLayoutCallType }
+ *
+ */
+ public DescribeSoftphoneLayoutCallType createDescribeSoftphoneLayoutCallType() {
+ return new DescribeSoftphoneLayoutCallType();
+ }
+
+ /**
+ * Create an instance of {@link EmptyRecycleBinResponse }
+ *
+ */
+ public EmptyRecycleBinResponse createEmptyRecycleBinResponse() {
+ return new EmptyRecycleBinResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetDeletedResponse }
+ *
+ */
+ public GetDeletedResponse createGetDeletedResponse() {
+ return new GetDeletedResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:partner.soap.sforce.com", name =
"contentType", scope = EmailFileAttachment.class)
+ public JAXBElement<String> createEmailFileAttachmentContentType(String value)
{
+ return new JAXBElement<String>(_EmailFileAttachmentContentType_QNAME,
String.class, EmailFileAttachment.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:partner.soap.sforce.com", name =
"body", scope = EmailFileAttachment.class)
+ public JAXBElement<byte[]> createEmailFileAttachmentBody(byte[] value) {
+ return new JAXBElement<byte[]>(_EmailFileAttachmentBody_QNAME,
byte[].class, EmailFileAttachment.class, ((byte[]) value));
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:partner.soap.sforce.com", name =
"orgWideEmailAddressId", scope = SingleEmailMessage.class)
+ public JAXBElement<String> createSingleEmailMessageOrgWideEmailAddressId(String
value) {
+ return new
JAXBElement<String>(_SingleEmailMessageOrgWideEmailAddressId_QNAME, String.class,
SingleEmailMessage.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:partner.soap.sforce.com", name =
"inReplyTo", scope = SingleEmailMessage.class)
+ public JAXBElement<String> createSingleEmailMessageInReplyTo(String value) {
+ return new JAXBElement<String>(_SingleEmailMessageInReplyTo_QNAME,
String.class, SingleEmailMessage.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:partner.soap.sforce.com", name =
"references", scope = SingleEmailMessage.class)
+ public JAXBElement<String> createSingleEmailMessageReferences(String value) {
+ return new JAXBElement<String>(_SingleEmailMessageReferences_QNAME,
String.class, SingleEmailMessage.class, value);
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ObjectFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersion.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersion.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersion.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,183 +1,100 @@
-/**
- * PackageVersion.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class PackageVersion implements java.io.Serializable {
- private int majorNumber;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
- private int minorNumber;
- private java.lang.String namespace;
+/**
+ * <p>Java class for PackageVersion complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="PackageVersion">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="majorNumber"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="minorNumber"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="namespace"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PackageVersion", propOrder = {
+ "majorNumber",
+ "minorNumber",
+ "namespace"
+})
+public class PackageVersion {
- public PackageVersion() {
- }
+ protected int majorNumber;
+ protected int minorNumber;
+ @XmlElement(required = true)
+ protected String namespace;
- public PackageVersion(
- int majorNumber,
- int minorNumber,
- java.lang.String namespace) {
- this.majorNumber = majorNumber;
- this.minorNumber = minorNumber;
- this.namespace = namespace;
- }
-
-
/**
- * Gets the majorNumber value for this PackageVersion.
+ * Gets the value of the majorNumber property.
*
- * @return majorNumber
*/
public int getMajorNumber() {
return majorNumber;
}
-
/**
- * Sets the majorNumber value for this PackageVersion.
+ * Sets the value of the majorNumber property.
*
- * @param majorNumber
*/
- public void setMajorNumber(int majorNumber) {
- this.majorNumber = majorNumber;
+ public void setMajorNumber(int value) {
+ this.majorNumber = value;
}
-
/**
- * Gets the minorNumber value for this PackageVersion.
+ * Gets the value of the minorNumber property.
*
- * @return minorNumber
*/
public int getMinorNumber() {
return minorNumber;
}
-
/**
- * Sets the minorNumber value for this PackageVersion.
+ * Sets the value of the minorNumber property.
*
- * @param minorNumber
*/
- public void setMinorNumber(int minorNumber) {
- this.minorNumber = minorNumber;
+ public void setMinorNumber(int value) {
+ this.minorNumber = value;
}
-
/**
- * Gets the namespace value for this PackageVersion.
+ * Gets the value of the namespace property.
*
- * @return namespace
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getNamespace() {
+ public String getNamespace() {
return namespace;
}
-
/**
- * Sets the namespace value for this PackageVersion.
+ * Sets the value of the namespace property.
*
- * @param namespace
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setNamespace(java.lang.String namespace) {
- this.namespace = namespace;
+ public void setNamespace(String value) {
+ this.namespace = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof PackageVersion)) return false;
- PackageVersion other = (PackageVersion) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.majorNumber == other.getMajorNumber() &&
- this.minorNumber == other.getMinorNumber() &&
- ((this.namespace==null && other.getNamespace()==null) ||
- (this.namespace!=null &&
- this.namespace.equals(other.getNamespace())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += getMajorNumber();
- _hashCode += getMinorNumber();
- if (getNamespace() != null) {
- _hashCode += getNamespace().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(PackageVersion.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PackageVersion"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("majorNumber");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"majorNumber"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("minorNumber");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"minorNumber"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("namespace");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"namespace"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersionHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersionHeader.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersionHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="packageVersions"
type="{urn:partner.soap.sforce.com}PackageVersion"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "packageVersions"
+})
+@XmlRootElement(name = "PackageVersionHeader")
+public class PackageVersionHeader {
+
+ protected List<PackageVersion> packageVersions;
+
+ /**
+ * Gets the value of the packageVersions property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
packageVersions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPackageVersions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PackageVersion }
+ *
+ *
+ */
+ public List<PackageVersion> getPackageVersions() {
+ if (packageVersions == null) {
+ packageVersions = new ArrayList<PackageVersion>();
+ }
+ return this.packageVersions;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PackageVersionHeader.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistEntry.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistEntry.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistEntry.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,264 +1,153 @@
-/**
- * PicklistEntry.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class PicklistEntry implements java.io.Serializable {
- private boolean active;
-
- private boolean defaultValue;
-
- private java.lang.String label;
-
- private byte[] validFor;
-
- private java.lang.String value;
-
- public PicklistEntry() {
- }
-
- public PicklistEntry(
- boolean active,
- boolean defaultValue,
- java.lang.String label,
- byte[] validFor,
- java.lang.String value) {
- this.active = active;
- this.defaultValue = defaultValue;
- this.label = label;
- this.validFor = validFor;
- this.value = value;
- }
-
-
- /**
- * Gets the active value for this PicklistEntry.
- *
- * @return active
- */
- public boolean isActive() {
- return active;
- }
-
-
- /**
- * Sets the active value for this PicklistEntry.
- *
- * @param active
- */
- public void setActive(boolean active) {
- this.active = active;
- }
-
-
- /**
- * Gets the defaultValue value for this PicklistEntry.
- *
- * @return defaultValue
- */
- public boolean isDefaultValue() {
- return defaultValue;
- }
-
-
- /**
- * Sets the defaultValue value for this PicklistEntry.
- *
- * @param defaultValue
- */
- public void setDefaultValue(boolean defaultValue) {
- this.defaultValue = defaultValue;
- }
-
-
- /**
- * Gets the label value for this PicklistEntry.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this PicklistEntry.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the validFor value for this PicklistEntry.
- *
- * @return validFor
- */
- public byte[] getValidFor() {
- return validFor;
- }
-
-
- /**
- * Sets the validFor value for this PicklistEntry.
- *
- * @param validFor
- */
- public void setValidFor(byte[] validFor) {
- this.validFor = validFor;
- }
-
-
- /**
- * Gets the value value for this PicklistEntry.
- *
- * @return value
- */
- public java.lang.String getValue() {
- return value;
- }
-
-
- /**
- * Sets the value value for this PicklistEntry.
- *
- * @param value
- */
- public void setValue(java.lang.String value) {
- this.value = value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof PicklistEntry)) return false;
- PicklistEntry other = (PicklistEntry) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.active == other.isActive() &&
- this.defaultValue == other.isDefaultValue() &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.validFor==null && other.getValidFor()==null) ||
- (this.validFor!=null &&
- java.util.Arrays.equals(this.validFor, other.getValidFor()))) &&
- ((this.value==null && other.getValue()==null) ||
- (this.value!=null &&
- this.value.equals(other.getValue())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isActive() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDefaultValue() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getValidFor() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getValidFor());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getValidFor(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getValue() != null) {
- _hashCode += getValue().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(PicklistEntry.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistEntry"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("active");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "active"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("defaultValue");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"defaultValue"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("validFor");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"validFor"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"base64Binary"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("value");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "value"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PicklistEntry complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="PicklistEntry">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="active"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="defaultValue"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="validFor"
type="{http://www.w3.org/2001/XMLSchema}base64Binary"
minOccurs="0"/>
+ * <element name="value"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PicklistEntry", propOrder = {
+ "active",
+ "defaultValue",
+ "label",
+ "validFor",
+ "value"
+})
+public class PicklistEntry {
+
+ protected boolean active;
+ protected boolean defaultValue;
+ @XmlElement(required = true, nillable = true)
+ protected String label;
+ protected byte[] validFor;
+ @XmlElement(required = true)
+ protected String value;
+
+ /**
+ * Gets the value of the active property.
+ *
+ */
+ public boolean isActive() {
+ return active;
+ }
+
+ /**
+ * Sets the value of the active property.
+ *
+ */
+ public void setActive(boolean value) {
+ this.active = value;
+ }
+
+ /**
+ * Gets the value of the defaultValue property.
+ *
+ */
+ public boolean isDefaultValue() {
+ return defaultValue;
+ }
+
+ /**
+ * Sets the value of the defaultValue property.
+ *
+ */
+ public void setDefaultValue(boolean value) {
+ this.defaultValue = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the validFor property.
+ *
+ * @return
+ * possible object is
+ * byte[]
+ */
+ public byte[] getValidFor() {
+ return validFor;
+ }
+
+ /**
+ * Sets the value of the validFor property.
+ *
+ * @param value
+ * allowed object is
+ * byte[]
+ */
+ public void setValidFor(byte[] value) {
+ this.validFor = ((byte[]) value);
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistForRecordType.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistForRecordType.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/PicklistForRecordType.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,173 +1,97 @@
-/**
- * PicklistForRecordType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class PicklistForRecordType implements java.io.Serializable {
- private java.lang.String picklistName;
-
- private com.sforce.soap.partner.PicklistEntry[] picklistValues;
-
- public PicklistForRecordType() {
- }
-
- public PicklistForRecordType(
- java.lang.String picklistName,
- com.sforce.soap.partner.PicklistEntry[] picklistValues) {
- this.picklistName = picklistName;
- this.picklistValues = picklistValues;
- }
-
-
- /**
- * Gets the picklistName value for this PicklistForRecordType.
- *
- * @return picklistName
- */
- public java.lang.String getPicklistName() {
- return picklistName;
- }
-
-
- /**
- * Sets the picklistName value for this PicklistForRecordType.
- *
- * @param picklistName
- */
- public void setPicklistName(java.lang.String picklistName) {
- this.picklistName = picklistName;
- }
-
-
- /**
- * Gets the picklistValues value for this PicklistForRecordType.
- *
- * @return picklistValues
- */
- public com.sforce.soap.partner.PicklistEntry[] getPicklistValues() {
- return picklistValues;
- }
-
-
- /**
- * Sets the picklistValues value for this PicklistForRecordType.
- *
- * @param picklistValues
- */
- public void setPicklistValues(com.sforce.soap.partner.PicklistEntry[] picklistValues)
{
- this.picklistValues = picklistValues;
- }
-
- public com.sforce.soap.partner.PicklistEntry getPicklistValues(int i) {
- return this.picklistValues[i];
- }
-
- public void setPicklistValues(int i, com.sforce.soap.partner.PicklistEntry _value) {
- this.picklistValues[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof PicklistForRecordType)) return false;
- PicklistForRecordType other = (PicklistForRecordType) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.picklistName==null && other.getPicklistName()==null) ||
- (this.picklistName!=null &&
- this.picklistName.equals(other.getPicklistName()))) &&
- ((this.picklistValues==null && other.getPicklistValues()==null) ||
- (this.picklistValues!=null &&
- java.util.Arrays.equals(this.picklistValues, other.getPicklistValues())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getPicklistName() != null) {
- _hashCode += getPicklistName().hashCode();
- }
- if (getPicklistValues() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getPicklistValues());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getPicklistValues(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(PicklistForRecordType.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistForRecordType"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("picklistName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"picklistName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("picklistValues");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"picklistValues"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistEntry"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PicklistForRecordType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="PicklistForRecordType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="picklistName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="picklistValues"
type="{urn:partner.soap.sforce.com}PicklistEntry"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PicklistForRecordType", propOrder = {
+ "picklistName",
+ "picklistValues"
+})
+public class PicklistForRecordType {
+
+ @XmlElement(required = true)
+ protected String picklistName;
+ @XmlElement(nillable = true)
+ protected List<PicklistEntry> picklistValues;
+
+ /**
+ * Gets the value of the picklistName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPicklistName() {
+ return picklistName;
+ }
+
+ /**
+ * Sets the value of the picklistName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPicklistName(String value) {
+ this.picklistName = value;
+ }
+
+ /**
+ * Gets the value of the picklistValues property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
picklistValues property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPicklistValues().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PicklistEntry }
+ *
+ *
+ */
+ public List<PicklistEntry> getPicklistValues() {
+ if (picklistValues == null) {
+ picklistValues = new ArrayList<PicklistEntry>();
+ }
+ return this.picklistValues;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Process.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Process.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Process.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="actions"
type="{urn:partner.soap.sforce.com}ProcessRequest"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "actions"
+})
+@XmlRootElement(name = "process")
+public class Process {
+
+ protected List<ProcessRequest> actions;
+
+ /**
+ * Gets the value of the actions property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the actions
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ProcessRequest }
+ *
+ *
+ */
+ public List<ProcessRequest> getActions() {
+ if (actions == null) {
+ actions = new ArrayList<ProcessRequest>();
+ }
+ return this.actions;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Process.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessRequest.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessRequest.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessRequest.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,173 +1,102 @@
-/**
- * ProcessRequest.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ProcessRequest implements java.io.Serializable {
- private java.lang.String comments;
-
- private java.lang.String[] nextApproverIds;
-
- public ProcessRequest() {
- }
-
- public ProcessRequest(
- java.lang.String comments,
- java.lang.String[] nextApproverIds) {
- this.comments = comments;
- this.nextApproverIds = nextApproverIds;
- }
-
-
- /**
- * Gets the comments value for this ProcessRequest.
- *
- * @return comments
- */
- public java.lang.String getComments() {
- return comments;
- }
-
-
- /**
- * Sets the comments value for this ProcessRequest.
- *
- * @param comments
- */
- public void setComments(java.lang.String comments) {
- this.comments = comments;
- }
-
-
- /**
- * Gets the nextApproverIds value for this ProcessRequest.
- *
- * @return nextApproverIds
- */
- public java.lang.String[] getNextApproverIds() {
- return nextApproverIds;
- }
-
-
- /**
- * Sets the nextApproverIds value for this ProcessRequest.
- *
- * @param nextApproverIds
- */
- public void setNextApproverIds(java.lang.String[] nextApproverIds) {
- this.nextApproverIds = nextApproverIds;
- }
-
- public java.lang.String getNextApproverIds(int i) {
- return this.nextApproverIds[i];
- }
-
- public void setNextApproverIds(int i, java.lang.String _value) {
- this.nextApproverIds[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ProcessRequest)) return false;
- ProcessRequest other = (ProcessRequest) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.comments==null && other.getComments()==null) ||
- (this.comments!=null &&
- this.comments.equals(other.getComments()))) &&
- ((this.nextApproverIds==null && other.getNextApproverIds()==null) ||
- (this.nextApproverIds!=null &&
- java.util.Arrays.equals(this.nextApproverIds,
other.getNextApproverIds())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getComments() != null) {
- _hashCode += getComments().hashCode();
- }
- if (getNextApproverIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getNextApproverIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getNextApproverIds(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ProcessRequest.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessRequest"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("comments");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"comments"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("nextApproverIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"nextApproverIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ProcessRequest complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ProcessRequest">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="comments"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="nextApproverIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ProcessRequest", propOrder = {
+ "comments",
+ "nextApproverIds"
+})
+@XmlSeeAlso({
+ ProcessSubmitRequest.class,
+ ProcessWorkitemRequest.class
+})
+public class ProcessRequest {
+
+ @XmlElement(required = true, nillable = true)
+ protected String comments;
+ @XmlElement(nillable = true)
+ protected List<String> nextApproverIds;
+
+ /**
+ * Gets the value of the comments property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getComments() {
+ return comments;
+ }
+
+ /**
+ * Sets the value of the comments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setComments(String value) {
+ this.comments = value;
+ }
+
+ /**
+ * Gets the value of the nextApproverIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
nextApproverIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNextApproverIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getNextApproverIds() {
+ if (nextApproverIds == null) {
+ nextApproverIds = new ArrayList<String>();
+ }
+ return this.nextApproverIds;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}ProcessResult"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "processResponse")
+public class ProcessResponse {
+
+ protected List<ProcessResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ProcessResult }
+ *
+ *
+ */
+ public List<ProcessResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<ProcessResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,385 +1,236 @@
-/**
- * ProcessResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ProcessResult implements java.io.Serializable {
- private java.lang.String[] actorIds;
-
- private java.lang.String entityId;
-
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String instanceId;
-
- private java.lang.String instanceStatus;
-
- private java.lang.String[] newWorkitemIds;
-
- private boolean success;
-
- public ProcessResult() {
- }
-
- public ProcessResult(
- java.lang.String[] actorIds,
- java.lang.String entityId,
- com.sforce.soap.partner.Error[] errors,
- java.lang.String instanceId,
- java.lang.String instanceStatus,
- java.lang.String[] newWorkitemIds,
- boolean success) {
- this.actorIds = actorIds;
- this.entityId = entityId;
- this.errors = errors;
- this.instanceId = instanceId;
- this.instanceStatus = instanceStatus;
- this.newWorkitemIds = newWorkitemIds;
- this.success = success;
- }
-
-
- /**
- * Gets the actorIds value for this ProcessResult.
- *
- * @return actorIds
- */
- public java.lang.String[] getActorIds() {
- return actorIds;
- }
-
-
- /**
- * Sets the actorIds value for this ProcessResult.
- *
- * @param actorIds
- */
- public void setActorIds(java.lang.String[] actorIds) {
- this.actorIds = actorIds;
- }
-
- public java.lang.String getActorIds(int i) {
- return this.actorIds[i];
- }
-
- public void setActorIds(int i, java.lang.String _value) {
- this.actorIds[i] = _value;
- }
-
-
- /**
- * Gets the entityId value for this ProcessResult.
- *
- * @return entityId
- */
- public java.lang.String getEntityId() {
- return entityId;
- }
-
-
- /**
- * Sets the entityId value for this ProcessResult.
- *
- * @param entityId
- */
- public void setEntityId(java.lang.String entityId) {
- this.entityId = entityId;
- }
-
-
- /**
- * Gets the errors value for this ProcessResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this ProcessResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the instanceId value for this ProcessResult.
- *
- * @return instanceId
- */
- public java.lang.String getInstanceId() {
- return instanceId;
- }
-
-
- /**
- * Sets the instanceId value for this ProcessResult.
- *
- * @param instanceId
- */
- public void setInstanceId(java.lang.String instanceId) {
- this.instanceId = instanceId;
- }
-
-
- /**
- * Gets the instanceStatus value for this ProcessResult.
- *
- * @return instanceStatus
- */
- public java.lang.String getInstanceStatus() {
- return instanceStatus;
- }
-
-
- /**
- * Sets the instanceStatus value for this ProcessResult.
- *
- * @param instanceStatus
- */
- public void setInstanceStatus(java.lang.String instanceStatus) {
- this.instanceStatus = instanceStatus;
- }
-
-
- /**
- * Gets the newWorkitemIds value for this ProcessResult.
- *
- * @return newWorkitemIds
- */
- public java.lang.String[] getNewWorkitemIds() {
- return newWorkitemIds;
- }
-
-
- /**
- * Sets the newWorkitemIds value for this ProcessResult.
- *
- * @param newWorkitemIds
- */
- public void setNewWorkitemIds(java.lang.String[] newWorkitemIds) {
- this.newWorkitemIds = newWorkitemIds;
- }
-
- public java.lang.String getNewWorkitemIds(int i) {
- return this.newWorkitemIds[i];
- }
-
- public void setNewWorkitemIds(int i, java.lang.String _value) {
- this.newWorkitemIds[i] = _value;
- }
-
-
- /**
- * Gets the success value for this ProcessResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this ProcessResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ProcessResult)) return false;
- ProcessResult other = (ProcessResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.actorIds==null && other.getActorIds()==null) ||
- (this.actorIds!=null &&
- java.util.Arrays.equals(this.actorIds, other.getActorIds()))) &&
- ((this.entityId==null && other.getEntityId()==null) ||
- (this.entityId!=null &&
- this.entityId.equals(other.getEntityId()))) &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.instanceId==null && other.getInstanceId()==null) ||
- (this.instanceId!=null &&
- this.instanceId.equals(other.getInstanceId()))) &&
- ((this.instanceStatus==null && other.getInstanceStatus()==null) ||
- (this.instanceStatus!=null &&
- this.instanceStatus.equals(other.getInstanceStatus()))) &&
- ((this.newWorkitemIds==null && other.getNewWorkitemIds()==null) ||
- (this.newWorkitemIds!=null &&
- java.util.Arrays.equals(this.newWorkitemIds, other.getNewWorkitemIds())))
&&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getActorIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getActorIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getActorIds(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getEntityId() != null) {
- _hashCode += getEntityId().hashCode();
- }
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getInstanceId() != null) {
- _hashCode += getInstanceId().hashCode();
- }
- if (getInstanceStatus() != null) {
- _hashCode += getInstanceStatus().hashCode();
- }
- if (getNewWorkitemIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getNewWorkitemIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getNewWorkitemIds(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ProcessResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("actorIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"actorIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("entityId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"entityId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("instanceId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"instanceId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("instanceStatus");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"instanceStatus"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("newWorkitemIds");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"newWorkitemIds"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ProcessResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ProcessResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="actorIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="entityId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="instanceId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="instanceStatus"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="newWorkitemIds"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ProcessResult", propOrder = {
+ "actorIds",
+ "entityId",
+ "errors",
+ "instanceId",
+ "instanceStatus",
+ "newWorkitemIds",
+ "success"
+})
+public class ProcessResult {
+
+ protected List<String> actorIds;
+ @XmlElement(required = true, nillable = true)
+ protected String entityId;
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String instanceId;
+ @XmlElement(required = true, nillable = true)
+ protected String instanceStatus;
+ @XmlElement(nillable = true)
+ protected List<String> newWorkitemIds;
+ protected boolean success;
+
+ /**
+ * Gets the value of the actorIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the actorIds
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActorIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getActorIds() {
+ if (actorIds == null) {
+ actorIds = new ArrayList<String>();
+ }
+ return this.actorIds;
+ }
+
+ /**
+ * Gets the value of the entityId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEntityId() {
+ return entityId;
+ }
+
+ /**
+ * Sets the value of the entityId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEntityId(String value) {
+ this.entityId = value;
+ }
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the instanceId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ /**
+ * Sets the value of the instanceId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceId(String value) {
+ this.instanceId = value;
+ }
+
+ /**
+ * Gets the value of the instanceStatus property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceStatus() {
+ return instanceStatus;
+ }
+
+ /**
+ * Sets the value of the instanceStatus property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceStatus(String value) {
+ this.instanceStatus = value;
+ }
+
+ /**
+ * Gets the value of the newWorkitemIds property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
newWorkitemIds property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNewWorkitemIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getNewWorkitemIds() {
+ if (newWorkitemIds == null) {
+ newWorkitemIds = new ArrayList<String>();
+ }
+ return this.newWorkitemIds;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessSubmitRequest.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessSubmitRequest.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessSubmitRequest.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,124 +1,64 @@
-/**
- * ProcessSubmitRequest.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ProcessSubmitRequest extends com.sforce.soap.partner.ProcessRequest
implements java.io.Serializable {
- private java.lang.String objectId;
-
- public ProcessSubmitRequest() {
- }
-
- public ProcessSubmitRequest(
- java.lang.String comments,
- java.lang.String[] nextApproverIds,
- java.lang.String objectId) {
- super(
- comments,
- nextApproverIds);
- this.objectId = objectId;
- }
-
-
- /**
- * Gets the objectId value for this ProcessSubmitRequest.
- *
- * @return objectId
- */
- public java.lang.String getObjectId() {
- return objectId;
- }
-
-
- /**
- * Sets the objectId value for this ProcessSubmitRequest.
- *
- * @param objectId
- */
- public void setObjectId(java.lang.String objectId) {
- this.objectId = objectId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ProcessSubmitRequest)) return false;
- ProcessSubmitRequest other = (ProcessSubmitRequest) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj) &&
- ((this.objectId==null && other.getObjectId()==null) ||
- (this.objectId!=null &&
- this.objectId.equals(other.getObjectId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- if (getObjectId() != null) {
- _hashCode += getObjectId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ProcessSubmitRequest.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessSubmitRequest"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("objectId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"objectId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ProcessSubmitRequest complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ProcessSubmitRequest">
+ * <complexContent>
+ * <extension
base="{urn:partner.soap.sforce.com}ProcessRequest">
+ * <sequence>
+ * <element name="objectId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ProcessSubmitRequest", propOrder = {
+ "objectId"
+})
+public class ProcessSubmitRequest
+ extends ProcessRequest
+{
+
+ @XmlElement(required = true)
+ protected String objectId;
+
+ /**
+ * Gets the value of the objectId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getObjectId() {
+ return objectId;
+ }
+
+ /**
+ * Sets the value of the objectId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setObjectId(String value) {
+ this.objectId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessWorkitemRequest.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessWorkitemRequest.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ProcessWorkitemRequest.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,160 +1,92 @@
-/**
- * ProcessWorkitemRequest.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ProcessWorkitemRequest extends com.sforce.soap.partner.ProcessRequest
implements java.io.Serializable {
- private java.lang.String action;
-
- private java.lang.String workitemId;
-
- public ProcessWorkitemRequest() {
- }
-
- public ProcessWorkitemRequest(
- java.lang.String comments,
- java.lang.String[] nextApproverIds,
- java.lang.String action,
- java.lang.String workitemId) {
- super(
- comments,
- nextApproverIds);
- this.action = action;
- this.workitemId = workitemId;
- }
-
-
- /**
- * Gets the action value for this ProcessWorkitemRequest.
- *
- * @return action
- */
- public java.lang.String getAction() {
- return action;
- }
-
-
- /**
- * Sets the action value for this ProcessWorkitemRequest.
- *
- * @param action
- */
- public void setAction(java.lang.String action) {
- this.action = action;
- }
-
-
- /**
- * Gets the workitemId value for this ProcessWorkitemRequest.
- *
- * @return workitemId
- */
- public java.lang.String getWorkitemId() {
- return workitemId;
- }
-
-
- /**
- * Sets the workitemId value for this ProcessWorkitemRequest.
- *
- * @param workitemId
- */
- public void setWorkitemId(java.lang.String workitemId) {
- this.workitemId = workitemId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ProcessWorkitemRequest)) return false;
- ProcessWorkitemRequest other = (ProcessWorkitemRequest) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj) &&
- ((this.action==null && other.getAction()==null) ||
- (this.action!=null &&
- this.action.equals(other.getAction()))) &&
- ((this.workitemId==null && other.getWorkitemId()==null) ||
- (this.workitemId!=null &&
- this.workitemId.equals(other.getWorkitemId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- if (getAction() != null) {
- _hashCode += getAction().hashCode();
- }
- if (getWorkitemId() != null) {
- _hashCode += getWorkitemId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ProcessWorkitemRequest.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessWorkitemRequest"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("action");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "action"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("workitemId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"workitemId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ProcessWorkitemRequest complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ProcessWorkitemRequest">
+ * <complexContent>
+ * <extension
base="{urn:partner.soap.sforce.com}ProcessRequest">
+ * <sequence>
+ * <element name="action"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="workitemId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ProcessWorkitemRequest", propOrder = {
+ "action",
+ "workitemId"
+})
+public class ProcessWorkitemRequest
+ extends ProcessRequest
+{
+
+ @XmlElement(required = true)
+ protected String action;
+ @XmlElement(required = true)
+ protected String workitemId;
+
+ /**
+ * Gets the value of the action property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAction() {
+ return action;
+ }
+
+ /**
+ * Sets the value of the action property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAction(String value) {
+ this.action = value;
+ }
+
+ /**
+ * Gets the value of the workitemId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getWorkitemId() {
+ return workitemId;
+ }
+
+ /**
+ * Sets the value of the workitemId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWorkitemId(String value) {
+ this.workitemId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Query.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Query.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Query.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * Query.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Query implements java.io.Serializable {
- private java.lang.String queryString;
-
- public Query() {
- }
-
- public Query(
- java.lang.String queryString) {
- this.queryString = queryString;
- }
-
-
- /**
- * Gets the queryString value for this Query.
- *
- * @return queryString
- */
- public java.lang.String getQueryString() {
- return queryString;
- }
-
-
- /**
- * Sets the queryString value for this Query.
- *
- * @param queryString
- */
- public void setQueryString(java.lang.String queryString) {
- this.queryString = queryString;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Query)) return false;
- Query other = (Query) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.queryString==null && other.getQueryString()==null) ||
- (this.queryString!=null &&
- this.queryString.equals(other.getQueryString())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getQueryString() != null) {
- _hashCode += getQueryString().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Query.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">query"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("queryString");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryString"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="queryString"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "queryString"
+})
+@XmlRootElement(name = "query")
+public class Query {
+
+ @XmlElement(required = true)
+ protected String queryString;
+
+ /**
+ * Gets the value of the queryString property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryString() {
+ return queryString;
+ }
+
+ /**
+ * Sets the value of the queryString property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryString(String value) {
+ this.queryString = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAll.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAll.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAll.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * QueryAll.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryAll implements java.io.Serializable {
- private java.lang.String queryString;
-
- public QueryAll() {
- }
-
- public QueryAll(
- java.lang.String queryString) {
- this.queryString = queryString;
- }
-
-
- /**
- * Gets the queryString value for this QueryAll.
- *
- * @return queryString
- */
- public java.lang.String getQueryString() {
- return queryString;
- }
-
-
- /**
- * Sets the queryString value for this QueryAll.
- *
- * @param queryString
- */
- public void setQueryString(java.lang.String queryString) {
- this.queryString = queryString;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryAll)) return false;
- QueryAll other = (QueryAll) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.queryString==null && other.getQueryString()==null) ||
- (this.queryString!=null &&
- this.queryString.equals(other.getQueryString())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getQueryString() != null) {
- _hashCode += getQueryString().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryAll.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryAll"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("queryString");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryString"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="queryString"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "queryString"
+})
+@XmlRootElement(name = "queryAll")
+public class QueryAll {
+
+ @XmlElement(required = true)
+ protected String queryString;
+
+ /**
+ * Gets the value of the queryString property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryString() {
+ return queryString;
+ }
+
+ /**
+ * Sets the value of the queryString property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryString(String value) {
+ this.queryString = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAllResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAllResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryAllResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * QueryAllResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryAllResponse implements java.io.Serializable {
- private com.sforce.soap.partner.QueryResult result;
-
- public QueryAllResponse() {
- }
-
- public QueryAllResponse(
- com.sforce.soap.partner.QueryResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this QueryAllResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.QueryResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this QueryAllResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.QueryResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryAllResponse)) return false;
- QueryAllResponse other = (QueryAllResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryAllResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryAllResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}QueryResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "queryAllResponse")
+public class QueryAllResponse {
+
+ @XmlElement(required = true)
+ protected QueryResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link QueryResult }
+ *
+ */
+ public QueryResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QueryResult }
+ *
+ */
+ public void setResult(QueryResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMore.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMore.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMore.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * QueryMore.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryMore implements java.io.Serializable {
- private java.lang.String queryLocator;
-
- public QueryMore() {
- }
-
- public QueryMore(
- java.lang.String queryLocator) {
- this.queryLocator = queryLocator;
- }
-
-
- /**
- * Gets the queryLocator value for this QueryMore.
- *
- * @return queryLocator
- */
- public java.lang.String getQueryLocator() {
- return queryLocator;
- }
-
-
- /**
- * Sets the queryLocator value for this QueryMore.
- *
- * @param queryLocator
- */
- public void setQueryLocator(java.lang.String queryLocator) {
- this.queryLocator = queryLocator;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryMore)) return false;
- QueryMore other = (QueryMore) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.queryLocator==null && other.getQueryLocator()==null) ||
- (this.queryLocator!=null &&
- this.queryLocator.equals(other.getQueryLocator())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getQueryLocator() != null) {
- _hashCode += getQueryLocator().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryMore.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryMore"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("queryLocator");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryLocator"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="queryLocator"
type="{urn:partner.soap.sforce.com}QueryLocator"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "queryLocator"
+})
+@XmlRootElement(name = "queryMore")
+public class QueryMore {
+
+ @XmlElement(required = true)
+ protected String queryLocator;
+
+ /**
+ * Gets the value of the queryLocator property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryLocator() {
+ return queryLocator;
+ }
+
+ /**
+ * Sets the value of the queryLocator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryLocator(String value) {
+ this.queryLocator = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMoreResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMoreResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryMoreResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * QueryMoreResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryMoreResponse implements java.io.Serializable {
- private com.sforce.soap.partner.QueryResult result;
-
- public QueryMoreResponse() {
- }
-
- public QueryMoreResponse(
- com.sforce.soap.partner.QueryResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this QueryMoreResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.QueryResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this QueryMoreResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.QueryResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryMoreResponse)) return false;
- QueryMoreResponse other = (QueryMoreResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryMoreResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryMoreResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}QueryResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "queryMoreResponse")
+public class QueryMoreResponse {
+
+ @XmlElement(required = true)
+ protected QueryResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link QueryResult }
+ *
+ */
+ public QueryResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QueryResult }
+ *
+ */
+ public void setResult(QueryResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryOptions.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryOptions.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryOptions.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,120 +1,62 @@
-/**
- * QueryOptions.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryOptions implements java.io.Serializable {
- private java.lang.Integer batchSize;
-
- public QueryOptions() {
- }
-
- public QueryOptions(
- java.lang.Integer batchSize) {
- this.batchSize = batchSize;
- }
-
-
- /**
- * Gets the batchSize value for this QueryOptions.
- *
- * @return batchSize
- */
- public java.lang.Integer getBatchSize() {
- return batchSize;
- }
-
-
- /**
- * Sets the batchSize value for this QueryOptions.
- *
- * @param batchSize
- */
- public void setBatchSize(java.lang.Integer batchSize) {
- this.batchSize = batchSize;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryOptions)) return false;
- QueryOptions other = (QueryOptions) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.batchSize==null && other.getBatchSize()==null) ||
- (this.batchSize!=null &&
- this.batchSize.equals(other.getBatchSize())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getBatchSize() != null) {
- _hashCode += getBatchSize().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryOptions.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">QueryOptions"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("batchSize");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"batchSize"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="batchSize"
type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "batchSize"
+})
+@XmlRootElement(name = "QueryOptions")
+public class QueryOptions {
+
+ protected Integer batchSize;
+
+ /**
+ * Gets the value of the batchSize property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getBatchSize() {
+ return batchSize;
+ }
+
+ /**
+ * Sets the value of the batchSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setBatchSize(Integer value) {
+ this.batchSize = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * QueryResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryResponse implements java.io.Serializable {
- private com.sforce.soap.partner.QueryResult result;
-
- public QueryResponse() {
- }
-
- public QueryResponse(
- com.sforce.soap.partner.QueryResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this QueryResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.QueryResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this QueryResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.QueryResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryResponse)) return false;
- QueryResponse other = (QueryResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}QueryResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "queryResponse")
+public class QueryResponse {
+
+ @XmlElement(required = true)
+ protected QueryResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link QueryResult }
+ *
+ */
+ public QueryResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QueryResult }
+ *
+ */
+ public void setResult(QueryResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/QueryResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,237 +1,136 @@
-/**
- * QueryResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class QueryResult implements java.io.Serializable {
- private boolean done;
-
- private java.lang.String queryLocator;
-
- private com.sforce.soap.partner.sobject.SObject[] records;
-
- private int size;
-
- public QueryResult() {
- }
-
- public QueryResult(
- boolean done,
- java.lang.String queryLocator,
- com.sforce.soap.partner.sobject.SObject[] records,
- int size) {
- this.done = done;
- this.queryLocator = queryLocator;
- this.records = records;
- this.size = size;
- }
-
-
- /**
- * Gets the done value for this QueryResult.
- *
- * @return done
- */
- public boolean isDone() {
- return done;
- }
-
-
- /**
- * Sets the done value for this QueryResult.
- *
- * @param done
- */
- public void setDone(boolean done) {
- this.done = done;
- }
-
-
- /**
- * Gets the queryLocator value for this QueryResult.
- *
- * @return queryLocator
- */
- public java.lang.String getQueryLocator() {
- return queryLocator;
- }
-
-
- /**
- * Sets the queryLocator value for this QueryResult.
- *
- * @param queryLocator
- */
- public void setQueryLocator(java.lang.String queryLocator) {
- this.queryLocator = queryLocator;
- }
-
-
- /**
- * Gets the records value for this QueryResult.
- *
- * @return records
- */
- public com.sforce.soap.partner.sobject.SObject[] getRecords() {
- return records;
- }
-
-
- /**
- * Sets the records value for this QueryResult.
- *
- * @param records
- */
- public void setRecords(com.sforce.soap.partner.sobject.SObject[] records) {
- this.records = records;
- }
-
- public com.sforce.soap.partner.sobject.SObject getRecords(int i) {
- return this.records[i];
- }
-
- public void setRecords(int i, com.sforce.soap.partner.sobject.SObject _value) {
- this.records[i] = _value;
- }
-
-
- /**
- * Gets the size value for this QueryResult.
- *
- * @return size
- */
- public int getSize() {
- return size;
- }
-
-
- /**
- * Sets the size value for this QueryResult.
- *
- * @param size
- */
- public void setSize(int size) {
- this.size = size;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof QueryResult)) return false;
- QueryResult other = (QueryResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.done == other.isDone() &&
- ((this.queryLocator==null && other.getQueryLocator()==null) ||
- (this.queryLocator!=null &&
- this.queryLocator.equals(other.getQueryLocator()))) &&
- ((this.records==null && other.getRecords()==null) ||
- (this.records!=null &&
- java.util.Arrays.equals(this.records, other.getRecords()))) &&
- this.size == other.getSize();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isDone() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getQueryLocator() != null) {
- _hashCode += getQueryLocator().hashCode();
- }
- if (getRecords() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getRecords());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getRecords(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += getSize();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(QueryResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("done");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "done"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("queryLocator");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryLocator"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("records");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "records"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("size");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "size"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for QueryResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="QueryResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="done"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="queryLocator"
type="{urn:partner.soap.sforce.com}QueryLocator"/>
+ * <element name="records"
type="{urn:sobject.partner.soap.sforce.com}sObject"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="size"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "QueryResult", propOrder = {
+ "done",
+ "queryLocator",
+ "records",
+ "size"
+})
+public class QueryResult {
+
+ protected boolean done;
+ @XmlElement(required = true, nillable = true)
+ protected String queryLocator;
+ @XmlElement(nillable = true)
+ protected List<SObject> records;
+ protected int size;
+
+ /**
+ * Gets the value of the done property.
+ *
+ */
+ public boolean isDone() {
+ return done;
+ }
+
+ /**
+ * Sets the value of the done property.
+ *
+ */
+ public void setDone(boolean value) {
+ this.done = value;
+ }
+
+ /**
+ * Gets the value of the queryLocator property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryLocator() {
+ return queryLocator;
+ }
+
+ /**
+ * Sets the value of the queryLocator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryLocator(String value) {
+ this.queryLocator = value;
+ }
+
+ /**
+ * Gets the value of the records property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the records
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRecords().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SObject }
+ *
+ *
+ */
+ public List<SObject> getRecords() {
+ if (records == null) {
+ records = new ArrayList<SObject>();
+ }
+ return this.records;
+ }
+
+ /**
+ * Gets the value of the size property.
+ *
+ */
+ public int getSize() {
+ return size;
+ }
+
+ /**
+ * Sets the value of the size property.
+ *
+ */
+ public void setSize(int value) {
+ this.size = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeInfo.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeInfo.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeInfo.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,219 +1,128 @@
-/**
- * RecordTypeInfo.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class RecordTypeInfo implements java.io.Serializable {
- private boolean available;
-
- private boolean defaultRecordTypeMapping;
-
- private java.lang.String name;
-
- private java.lang.String recordTypeId;
-
- public RecordTypeInfo() {
- }
-
- public RecordTypeInfo(
- boolean available,
- boolean defaultRecordTypeMapping,
- java.lang.String name,
- java.lang.String recordTypeId) {
- this.available = available;
- this.defaultRecordTypeMapping = defaultRecordTypeMapping;
- this.name = name;
- this.recordTypeId = recordTypeId;
- }
-
-
- /**
- * Gets the available value for this RecordTypeInfo.
- *
- * @return available
- */
- public boolean isAvailable() {
- return available;
- }
-
-
- /**
- * Sets the available value for this RecordTypeInfo.
- *
- * @param available
- */
- public void setAvailable(boolean available) {
- this.available = available;
- }
-
-
- /**
- * Gets the defaultRecordTypeMapping value for this RecordTypeInfo.
- *
- * @return defaultRecordTypeMapping
- */
- public boolean isDefaultRecordTypeMapping() {
- return defaultRecordTypeMapping;
- }
-
-
- /**
- * Sets the defaultRecordTypeMapping value for this RecordTypeInfo.
- *
- * @param defaultRecordTypeMapping
- */
- public void setDefaultRecordTypeMapping(boolean defaultRecordTypeMapping) {
- this.defaultRecordTypeMapping = defaultRecordTypeMapping;
- }
-
-
- /**
- * Gets the name value for this RecordTypeInfo.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this RecordTypeInfo.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
-
- /**
- * Gets the recordTypeId value for this RecordTypeInfo.
- *
- * @return recordTypeId
- */
- public java.lang.String getRecordTypeId() {
- return recordTypeId;
- }
-
-
- /**
- * Sets the recordTypeId value for this RecordTypeInfo.
- *
- * @param recordTypeId
- */
- public void setRecordTypeId(java.lang.String recordTypeId) {
- this.recordTypeId = recordTypeId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof RecordTypeInfo)) return false;
- RecordTypeInfo other = (RecordTypeInfo) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.available == other.isAvailable() &&
- this.defaultRecordTypeMapping == other.isDefaultRecordTypeMapping()
&&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- ((this.recordTypeId==null && other.getRecordTypeId()==null) ||
- (this.recordTypeId!=null &&
- this.recordTypeId.equals(other.getRecordTypeId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isAvailable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDefaultRecordTypeMapping() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- if (getRecordTypeId() != null) {
- _hashCode += getRecordTypeId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(RecordTypeInfo.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RecordTypeInfo"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("available");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"available"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("defaultRecordTypeMapping");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"defaultRecordTypeMapping"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordTypeId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RecordTypeInfo complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RecordTypeInfo">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="available"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="defaultRecordTypeMapping"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="recordTypeId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "RecordTypeInfo", propOrder = {
+ "available",
+ "defaultRecordTypeMapping",
+ "name",
+ "recordTypeId"
+})
+public class RecordTypeInfo {
+
+ protected boolean available;
+ protected boolean defaultRecordTypeMapping;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true, nillable = true)
+ protected String recordTypeId;
+
+ /**
+ * Gets the value of the available property.
+ *
+ */
+ public boolean isAvailable() {
+ return available;
+ }
+
+ /**
+ * Sets the value of the available property.
+ *
+ */
+ public void setAvailable(boolean value) {
+ this.available = value;
+ }
+
+ /**
+ * Gets the value of the defaultRecordTypeMapping property.
+ *
+ */
+ public boolean isDefaultRecordTypeMapping() {
+ return defaultRecordTypeMapping;
+ }
+
+ /**
+ * Sets the value of the defaultRecordTypeMapping property.
+ *
+ */
+ public void setDefaultRecordTypeMapping(boolean value) {
+ this.defaultRecordTypeMapping = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the recordTypeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRecordTypeId() {
+ return recordTypeId;
+ }
+
+ /**
+ * Sets the value of the recordTypeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRecordTypeId(String value) {
+ this.recordTypeId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeMapping.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeMapping.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RecordTypeMapping.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,309 +1,191 @@
-/**
- * RecordTypeMapping.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class RecordTypeMapping implements java.io.Serializable {
- private boolean available;
-
- private boolean defaultRecordTypeMapping;
-
- private java.lang.String layoutId;
-
- private java.lang.String name;
-
- private com.sforce.soap.partner.PicklistForRecordType[] picklistsForRecordType;
-
- private java.lang.String recordTypeId;
-
- public RecordTypeMapping() {
- }
-
- public RecordTypeMapping(
- boolean available,
- boolean defaultRecordTypeMapping,
- java.lang.String layoutId,
- java.lang.String name,
- com.sforce.soap.partner.PicklistForRecordType[] picklistsForRecordType,
- java.lang.String recordTypeId) {
- this.available = available;
- this.defaultRecordTypeMapping = defaultRecordTypeMapping;
- this.layoutId = layoutId;
- this.name = name;
- this.picklistsForRecordType = picklistsForRecordType;
- this.recordTypeId = recordTypeId;
- }
-
-
- /**
- * Gets the available value for this RecordTypeMapping.
- *
- * @return available
- */
- public boolean isAvailable() {
- return available;
- }
-
-
- /**
- * Sets the available value for this RecordTypeMapping.
- *
- * @param available
- */
- public void setAvailable(boolean available) {
- this.available = available;
- }
-
-
- /**
- * Gets the defaultRecordTypeMapping value for this RecordTypeMapping.
- *
- * @return defaultRecordTypeMapping
- */
- public boolean isDefaultRecordTypeMapping() {
- return defaultRecordTypeMapping;
- }
-
-
- /**
- * Sets the defaultRecordTypeMapping value for this RecordTypeMapping.
- *
- * @param defaultRecordTypeMapping
- */
- public void setDefaultRecordTypeMapping(boolean defaultRecordTypeMapping) {
- this.defaultRecordTypeMapping = defaultRecordTypeMapping;
- }
-
-
- /**
- * Gets the layoutId value for this RecordTypeMapping.
- *
- * @return layoutId
- */
- public java.lang.String getLayoutId() {
- return layoutId;
- }
-
-
- /**
- * Sets the layoutId value for this RecordTypeMapping.
- *
- * @param layoutId
- */
- public void setLayoutId(java.lang.String layoutId) {
- this.layoutId = layoutId;
- }
-
-
- /**
- * Gets the name value for this RecordTypeMapping.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this RecordTypeMapping.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
-
- /**
- * Gets the picklistsForRecordType value for this RecordTypeMapping.
- *
- * @return picklistsForRecordType
- */
- public com.sforce.soap.partner.PicklistForRecordType[] getPicklistsForRecordType() {
- return picklistsForRecordType;
- }
-
-
- /**
- * Sets the picklistsForRecordType value for this RecordTypeMapping.
- *
- * @param picklistsForRecordType
- */
- public void setPicklistsForRecordType(com.sforce.soap.partner.PicklistForRecordType[]
picklistsForRecordType) {
- this.picklistsForRecordType = picklistsForRecordType;
- }
-
- public com.sforce.soap.partner.PicklistForRecordType getPicklistsForRecordType(int i)
{
- return this.picklistsForRecordType[i];
- }
-
- public void setPicklistsForRecordType(int i,
com.sforce.soap.partner.PicklistForRecordType _value) {
- this.picklistsForRecordType[i] = _value;
- }
-
-
- /**
- * Gets the recordTypeId value for this RecordTypeMapping.
- *
- * @return recordTypeId
- */
- public java.lang.String getRecordTypeId() {
- return recordTypeId;
- }
-
-
- /**
- * Sets the recordTypeId value for this RecordTypeMapping.
- *
- * @param recordTypeId
- */
- public void setRecordTypeId(java.lang.String recordTypeId) {
- this.recordTypeId = recordTypeId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof RecordTypeMapping)) return false;
- RecordTypeMapping other = (RecordTypeMapping) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.available == other.isAvailable() &&
- this.defaultRecordTypeMapping == other.isDefaultRecordTypeMapping()
&&
- ((this.layoutId==null && other.getLayoutId()==null) ||
- (this.layoutId!=null &&
- this.layoutId.equals(other.getLayoutId()))) &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- ((this.picklistsForRecordType==null &&
other.getPicklistsForRecordType()==null) ||
- (this.picklistsForRecordType!=null &&
- java.util.Arrays.equals(this.picklistsForRecordType,
other.getPicklistsForRecordType()))) &&
- ((this.recordTypeId==null && other.getRecordTypeId()==null) ||
- (this.recordTypeId!=null &&
- this.recordTypeId.equals(other.getRecordTypeId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isAvailable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- _hashCode += (isDefaultRecordTypeMapping() ? Boolean.TRUE :
Boolean.FALSE).hashCode();
- if (getLayoutId() != null) {
- _hashCode += getLayoutId().hashCode();
- }
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- if (getPicklistsForRecordType() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getPicklistsForRecordType());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getPicklistsForRecordType(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getRecordTypeId() != null) {
- _hashCode += getRecordTypeId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(RecordTypeMapping.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RecordTypeMapping"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("available");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"available"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("defaultRecordTypeMapping");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"defaultRecordTypeMapping"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("layoutId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("picklistsForRecordType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"picklistsForRecordType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistForRecordType"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("recordTypeId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RecordTypeMapping complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RecordTypeMapping">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="available"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="defaultRecordTypeMapping"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="layoutId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="picklistsForRecordType"
type="{urn:partner.soap.sforce.com}PicklistForRecordType"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="recordTypeId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "RecordTypeMapping", propOrder = {
+ "available",
+ "defaultRecordTypeMapping",
+ "layoutId",
+ "name",
+ "picklistsForRecordType",
+ "recordTypeId"
+})
+public class RecordTypeMapping {
+
+ protected boolean available;
+ protected boolean defaultRecordTypeMapping;
+ @XmlElement(required = true)
+ protected String layoutId;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(nillable = true)
+ protected List<PicklistForRecordType> picklistsForRecordType;
+ @XmlElement(required = true, nillable = true)
+ protected String recordTypeId;
+
+ /**
+ * Gets the value of the available property.
+ *
+ */
+ public boolean isAvailable() {
+ return available;
+ }
+
+ /**
+ * Sets the value of the available property.
+ *
+ */
+ public void setAvailable(boolean value) {
+ this.available = value;
+ }
+
+ /**
+ * Gets the value of the defaultRecordTypeMapping property.
+ *
+ */
+ public boolean isDefaultRecordTypeMapping() {
+ return defaultRecordTypeMapping;
+ }
+
+ /**
+ * Sets the value of the defaultRecordTypeMapping property.
+ *
+ */
+ public void setDefaultRecordTypeMapping(boolean value) {
+ this.defaultRecordTypeMapping = value;
+ }
+
+ /**
+ * Gets the value of the layoutId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLayoutId() {
+ return layoutId;
+ }
+
+ /**
+ * Sets the value of the layoutId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLayoutId(String value) {
+ this.layoutId = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the picklistsForRecordType property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
picklistsForRecordType property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPicklistsForRecordType().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link PicklistForRecordType }
+ *
+ *
+ */
+ public List<PicklistForRecordType> getPicklistsForRecordType() {
+ if (picklistsForRecordType == null) {
+ picklistsForRecordType = new ArrayList<PicklistForRecordType>();
+ }
+ return this.picklistsForRecordType;
+ }
+
+ /**
+ * Gets the value of the recordTypeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRecordTypeId() {
+ return recordTypeId;
+ }
+
+ /**
+ * Sets the value of the recordTypeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRecordTypeId(String value) {
+ this.recordTypeId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedList.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedList.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedList.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,398 +1,251 @@
-/**
- * RelatedList.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class RelatedList implements java.io.Serializable {
- private com.sforce.soap.partner.RelatedListColumn[] columns;
-
- private boolean custom;
-
- private java.lang.String field;
-
- private java.lang.String label;
-
- private int limitRows;
-
- private java.lang.String name;
-
- private java.lang.String sobject;
-
- private com.sforce.soap.partner.RelatedListSort[] sort;
-
- public RelatedList() {
- }
-
- public RelatedList(
- com.sforce.soap.partner.RelatedListColumn[] columns,
- boolean custom,
- java.lang.String field,
- java.lang.String label,
- int limitRows,
- java.lang.String name,
- java.lang.String sobject,
- com.sforce.soap.partner.RelatedListSort[] sort) {
- this.columns = columns;
- this.custom = custom;
- this.field = field;
- this.label = label;
- this.limitRows = limitRows;
- this.name = name;
- this.sobject = sobject;
- this.sort = sort;
- }
-
-
- /**
- * Gets the columns value for this RelatedList.
- *
- * @return columns
- */
- public com.sforce.soap.partner.RelatedListColumn[] getColumns() {
- return columns;
- }
-
-
- /**
- * Sets the columns value for this RelatedList.
- *
- * @param columns
- */
- public void setColumns(com.sforce.soap.partner.RelatedListColumn[] columns) {
- this.columns = columns;
- }
-
- public com.sforce.soap.partner.RelatedListColumn getColumns(int i) {
- return this.columns[i];
- }
-
- public void setColumns(int i, com.sforce.soap.partner.RelatedListColumn _value) {
- this.columns[i] = _value;
- }
-
-
- /**
- * Gets the custom value for this RelatedList.
- *
- * @return custom
- */
- public boolean isCustom() {
- return custom;
- }
-
-
- /**
- * Sets the custom value for this RelatedList.
- *
- * @param custom
- */
- public void setCustom(boolean custom) {
- this.custom = custom;
- }
-
-
- /**
- * Gets the field value for this RelatedList.
- *
- * @return field
- */
- public java.lang.String getField() {
- return field;
- }
-
-
- /**
- * Sets the field value for this RelatedList.
- *
- * @param field
- */
- public void setField(java.lang.String field) {
- this.field = field;
- }
-
-
- /**
- * Gets the label value for this RelatedList.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this RelatedList.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the limitRows value for this RelatedList.
- *
- * @return limitRows
- */
- public int getLimitRows() {
- return limitRows;
- }
-
-
- /**
- * Sets the limitRows value for this RelatedList.
- *
- * @param limitRows
- */
- public void setLimitRows(int limitRows) {
- this.limitRows = limitRows;
- }
-
-
- /**
- * Gets the name value for this RelatedList.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this RelatedList.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
-
- /**
- * Gets the sobject value for this RelatedList.
- *
- * @return sobject
- */
- public java.lang.String getSobject() {
- return sobject;
- }
-
-
- /**
- * Sets the sobject value for this RelatedList.
- *
- * @param sobject
- */
- public void setSobject(java.lang.String sobject) {
- this.sobject = sobject;
- }
-
-
- /**
- * Gets the sort value for this RelatedList.
- *
- * @return sort
- */
- public com.sforce.soap.partner.RelatedListSort[] getSort() {
- return sort;
- }
-
-
- /**
- * Sets the sort value for this RelatedList.
- *
- * @param sort
- */
- public void setSort(com.sforce.soap.partner.RelatedListSort[] sort) {
- this.sort = sort;
- }
-
- public com.sforce.soap.partner.RelatedListSort getSort(int i) {
- return this.sort[i];
- }
-
- public void setSort(int i, com.sforce.soap.partner.RelatedListSort _value) {
- this.sort[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof RelatedList)) return false;
- RelatedList other = (RelatedList) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.columns==null && other.getColumns()==null) ||
- (this.columns!=null &&
- java.util.Arrays.equals(this.columns, other.getColumns()))) &&
- this.custom == other.isCustom() &&
- ((this.field==null && other.getField()==null) ||
- (this.field!=null &&
- this.field.equals(other.getField()))) &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- this.limitRows == other.getLimitRows() &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- ((this.sobject==null && other.getSobject()==null) ||
- (this.sobject!=null &&
- this.sobject.equals(other.getSobject()))) &&
- ((this.sort==null && other.getSort()==null) ||
- (this.sort!=null &&
- java.util.Arrays.equals(this.sort, other.getSort())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getColumns() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getColumns());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getColumns(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isCustom() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getField() != null) {
- _hashCode += getField().hashCode();
- }
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- _hashCode += getLimitRows();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- if (getSobject() != null) {
- _hashCode += getSobject().hashCode();
- }
- if (getSort() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getSort());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getSort(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(RelatedList.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedList"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("columns");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "columns"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedListColumn"));
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("custom");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "custom"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("field");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "field"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("limitRows");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"limitRows"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sobject");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sobject"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sort");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sort"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedListSort"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RelatedList complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RelatedList">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="columns"
type="{urn:partner.soap.sforce.com}RelatedListColumn"
maxOccurs="unbounded"/>
+ * <element name="custom"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="field"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="limitRows"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sobject"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sort"
type="{urn:partner.soap.sforce.com}RelatedListSort"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "RelatedList", propOrder = {
+ "columns",
+ "custom",
+ "field",
+ "label",
+ "limitRows",
+ "name",
+ "sobject",
+ "sort"
+})
+public class RelatedList {
+
+ @XmlElement(required = true)
+ protected List<RelatedListColumn> columns;
+ protected boolean custom;
+ @XmlElement(required = true, nillable = true)
+ protected String field;
+ @XmlElement(required = true)
+ protected String label;
+ protected int limitRows;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true, nillable = true)
+ protected String sobject;
+ protected List<RelatedListSort> sort;
+
+ /**
+ * Gets the value of the columns property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the columns
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getColumns().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link RelatedListColumn }
+ *
+ *
+ */
+ public List<RelatedListColumn> getColumns() {
+ if (columns == null) {
+ columns = new ArrayList<RelatedListColumn>();
+ }
+ return this.columns;
+ }
+
+ /**
+ * Gets the value of the custom property.
+ *
+ */
+ public boolean isCustom() {
+ return custom;
+ }
+
+ /**
+ * Sets the value of the custom property.
+ *
+ */
+ public void setCustom(boolean value) {
+ this.custom = value;
+ }
+
+ /**
+ * Gets the value of the field property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getField() {
+ return field;
+ }
+
+ /**
+ * Sets the value of the field property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setField(String value) {
+ this.field = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the limitRows property.
+ *
+ */
+ public int getLimitRows() {
+ return limitRows;
+ }
+
+ /**
+ * Sets the value of the limitRows property.
+ *
+ */
+ public void setLimitRows(int value) {
+ this.limitRows = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the sobject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSobject() {
+ return sobject;
+ }
+
+ /**
+ * Sets the value of the sobject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSobject(String value) {
+ this.sobject = value;
+ }
+
+ /**
+ * Gets the value of the sort property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sort
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSort().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link RelatedListSort }
+ *
+ *
+ */
+ public List<RelatedListSort> getSort() {
+ if (sort == null) {
+ sort = new ArrayList<RelatedListSort>();
+ }
+ return this.sort;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListColumn.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListColumn.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListColumn.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,227 +1,146 @@
-/**
- * RelatedListColumn.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class RelatedListColumn implements java.io.Serializable {
- private java.lang.String field;
-
- private java.lang.String format;
-
- private java.lang.String label;
-
- private java.lang.String name;
-
- public RelatedListColumn() {
- }
-
- public RelatedListColumn(
- java.lang.String field,
- java.lang.String format,
- java.lang.String label,
- java.lang.String name) {
- this.field = field;
- this.format = format;
- this.label = label;
- this.name = name;
- }
-
-
- /**
- * Gets the field value for this RelatedListColumn.
- *
- * @return field
- */
- public java.lang.String getField() {
- return field;
- }
-
-
- /**
- * Sets the field value for this RelatedListColumn.
- *
- * @param field
- */
- public void setField(java.lang.String field) {
- this.field = field;
- }
-
-
- /**
- * Gets the format value for this RelatedListColumn.
- *
- * @return format
- */
- public java.lang.String getFormat() {
- return format;
- }
-
-
- /**
- * Sets the format value for this RelatedListColumn.
- *
- * @param format
- */
- public void setFormat(java.lang.String format) {
- this.format = format;
- }
-
-
- /**
- * Gets the label value for this RelatedListColumn.
- *
- * @return label
- */
- public java.lang.String getLabel() {
- return label;
- }
-
-
- /**
- * Sets the label value for this RelatedListColumn.
- *
- * @param label
- */
- public void setLabel(java.lang.String label) {
- this.label = label;
- }
-
-
- /**
- * Gets the name value for this RelatedListColumn.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this RelatedListColumn.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof RelatedListColumn)) return false;
- RelatedListColumn other = (RelatedListColumn) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.field==null && other.getField()==null) ||
- (this.field!=null &&
- this.field.equals(other.getField()))) &&
- ((this.format==null && other.getFormat()==null) ||
- (this.format!=null &&
- this.format.equals(other.getFormat()))) &&
- ((this.label==null && other.getLabel()==null) ||
- (this.label!=null &&
- this.label.equals(other.getLabel()))) &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getField() != null) {
- _hashCode += getField().hashCode();
- }
- if (getFormat() != null) {
- _hashCode += getFormat().hashCode();
- }
- if (getLabel() != null) {
- _hashCode += getLabel().hashCode();
- }
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(RelatedListColumn.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedListColumn"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("field");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "field"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("format");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "format"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("label");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "label"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "name"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RelatedListColumn complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RelatedListColumn">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="field"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="format"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="label"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="name"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "RelatedListColumn", propOrder = {
+ "field",
+ "format",
+ "label",
+ "name"
+})
+public class RelatedListColumn {
+
+ @XmlElement(required = true, nillable = true)
+ protected String field;
+ @XmlElement(required = true, nillable = true)
+ protected String format;
+ @XmlElement(required = true)
+ protected String label;
+ @XmlElement(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the field property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getField() {
+ return field;
+ }
+
+ /**
+ * Sets the value of the field property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setField(String value) {
+ this.field = value;
+ }
+
+ /**
+ * Gets the value of the format property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFormat() {
+ return format;
+ }
+
+ /**
+ * Sets the value of the format property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFormat(String value) {
+ this.format = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListSort.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListSort.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RelatedListSort.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,151 +1,81 @@
-/**
- * RelatedListSort.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class RelatedListSort implements java.io.Serializable {
- private boolean ascending;
-
- private java.lang.String column;
-
- public RelatedListSort() {
- }
-
- public RelatedListSort(
- boolean ascending,
- java.lang.String column) {
- this.ascending = ascending;
- this.column = column;
- }
-
-
- /**
- * Gets the ascending value for this RelatedListSort.
- *
- * @return ascending
- */
- public boolean isAscending() {
- return ascending;
- }
-
-
- /**
- * Sets the ascending value for this RelatedListSort.
- *
- * @param ascending
- */
- public void setAscending(boolean ascending) {
- this.ascending = ascending;
- }
-
-
- /**
- * Gets the column value for this RelatedListSort.
- *
- * @return column
- */
- public java.lang.String getColumn() {
- return column;
- }
-
-
- /**
- * Sets the column value for this RelatedListSort.
- *
- * @param column
- */
- public void setColumn(java.lang.String column) {
- this.column = column;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof RelatedListSort)) return false;
- RelatedListSort other = (RelatedListSort) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.ascending == other.isAscending() &&
- ((this.column==null && other.getColumn()==null) ||
- (this.column!=null &&
- this.column.equals(other.getColumn())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isAscending() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getColumn() != null) {
- _hashCode += getColumn().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(RelatedListSort.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedListSort"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ascending");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ascending"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("column");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "column"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for RelatedListSort complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="RelatedListSort">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ascending"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="column"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "RelatedListSort", propOrder = {
+ "ascending",
+ "column"
+})
+public class RelatedListSort {
+
+ protected boolean ascending;
+ @XmlElement(required = true)
+ protected String column;
+
+ /**
+ * Gets the value of the ascending property.
+ *
+ */
+ public boolean isAscending() {
+ return ascending;
+ }
+
+ /**
+ * Sets the value of the ascending property.
+ *
+ */
+ public void setAscending(boolean value) {
+ this.ascending = value;
+ }
+
+ /**
+ * Gets the value of the column property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getColumn() {
+ return column;
+ }
+
+ /**
+ * Sets the value of the column property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setColumn(String value) {
+ this.column = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPassword.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPassword.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPassword.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * ResetPassword.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ResetPassword implements java.io.Serializable {
- private java.lang.String userId;
-
- public ResetPassword() {
- }
-
- public ResetPassword(
- java.lang.String userId) {
- this.userId = userId;
- }
-
-
- /**
- * Gets the userId value for this ResetPassword.
- *
- * @return userId
- */
- public java.lang.String getUserId() {
- return userId;
- }
-
-
- /**
- * Sets the userId value for this ResetPassword.
- *
- * @param userId
- */
- public void setUserId(java.lang.String userId) {
- this.userId = userId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ResetPassword)) return false;
- ResetPassword other = (ResetPassword) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.userId==null && other.getUserId()==null) ||
- (this.userId!=null &&
- this.userId.equals(other.getUserId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getUserId() != null) {
- _hashCode += getUserId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ResetPassword.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">resetPassword"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "userId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="userId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "userId"
+})
+@XmlRootElement(name = "resetPassword")
+public class ResetPassword {
+
+ @XmlElement(required = true)
+ protected String userId;
+
+ /**
+ * Gets the value of the userId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUserId() {
+ return userId;
+ }
+
+ /**
+ * Sets the value of the userId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUserId(String value) {
+ this.userId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * ResetPasswordResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ResetPasswordResponse implements java.io.Serializable {
- private com.sforce.soap.partner.ResetPasswordResult result;
-
- public ResetPasswordResponse() {
- }
-
- public ResetPasswordResponse(
- com.sforce.soap.partner.ResetPasswordResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this ResetPasswordResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.ResetPasswordResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this ResetPasswordResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.ResetPasswordResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ResetPasswordResponse)) return false;
- ResetPasswordResponse other = (ResetPasswordResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ResetPasswordResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">resetPasswordResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ResetPasswordResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}ResetPasswordResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "resetPasswordResponse")
+public class ResetPasswordResponse {
+
+ @XmlElement(required = true)
+ protected ResetPasswordResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link ResetPasswordResult }
+ *
+ */
+ public ResetPasswordResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ResetPasswordResult }
+ *
+ */
+ public void setResult(ResetPasswordResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/ResetPasswordResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,62 @@
-/**
- * ResetPasswordResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class ResetPasswordResult implements java.io.Serializable {
- private java.lang.String password;
-
- public ResetPasswordResult() {
- }
-
- public ResetPasswordResult(
- java.lang.String password) {
- this.password = password;
- }
-
-
- /**
- * Gets the password value for this ResetPasswordResult.
- *
- * @return password
- */
- public java.lang.String getPassword() {
- return password;
- }
-
-
- /**
- * Sets the password value for this ResetPasswordResult.
- *
- * @param password
- */
- public void setPassword(java.lang.String password) {
- this.password = password;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ResetPasswordResult)) return false;
- ResetPasswordResult other = (ResetPasswordResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.password==null && other.getPassword()==null) ||
- (this.password!=null &&
- this.password.equals(other.getPassword())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getPassword() != null) {
- _hashCode += getPassword().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ResetPasswordResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ResetPasswordResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("password");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"password"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ResetPasswordResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ResetPasswordResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="password"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ResetPasswordResult", propOrder = {
+ "password"
+})
+public class ResetPasswordResult {
+
+ @XmlElement(required = true)
+ protected String password;
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Retrieve.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Retrieve.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Retrieve.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,209 +1,126 @@
-/**
- * Retrieve.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Retrieve implements java.io.Serializable {
- private java.lang.String fieldList;
-
- private java.lang.String sObjectType;
-
- private java.lang.String[] ids;
-
- public Retrieve() {
- }
-
- public Retrieve(
- java.lang.String fieldList,
- java.lang.String sObjectType,
- java.lang.String[] ids) {
- this.fieldList = fieldList;
- this.sObjectType = sObjectType;
- this.ids = ids;
- }
-
-
- /**
- * Gets the fieldList value for this Retrieve.
- *
- * @return fieldList
- */
- public java.lang.String getFieldList() {
- return fieldList;
- }
-
-
- /**
- * Sets the fieldList value for this Retrieve.
- *
- * @param fieldList
- */
- public void setFieldList(java.lang.String fieldList) {
- this.fieldList = fieldList;
- }
-
-
- /**
- * Gets the sObjectType value for this Retrieve.
- *
- * @return sObjectType
- */
- public java.lang.String getSObjectType() {
- return sObjectType;
- }
-
-
- /**
- * Sets the sObjectType value for this Retrieve.
- *
- * @param sObjectType
- */
- public void setSObjectType(java.lang.String sObjectType) {
- this.sObjectType = sObjectType;
- }
-
-
- /**
- * Gets the ids value for this Retrieve.
- *
- * @return ids
- */
- public java.lang.String[] getIds() {
- return ids;
- }
-
-
- /**
- * Sets the ids value for this Retrieve.
- *
- * @param ids
- */
- public void setIds(java.lang.String[] ids) {
- this.ids = ids;
- }
-
- public java.lang.String getIds(int i) {
- return this.ids[i];
- }
-
- public void setIds(int i, java.lang.String _value) {
- this.ids[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Retrieve)) return false;
- Retrieve other = (Retrieve) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.fieldList==null && other.getFieldList()==null) ||
- (this.fieldList!=null &&
- this.fieldList.equals(other.getFieldList()))) &&
- ((this.sObjectType==null && other.getSObjectType()==null) ||
- (this.sObjectType!=null &&
- this.sObjectType.equals(other.getSObjectType()))) &&
- ((this.ids==null && other.getIds()==null) ||
- (this.ids!=null &&
- java.util.Arrays.equals(this.ids, other.getIds())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getFieldList() != null) {
- _hashCode += getFieldList().hashCode();
- }
- if (getSObjectType() != null) {
- _hashCode += getSObjectType().hashCode();
- }
- if (getIds() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getIds());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getIds(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Retrieve.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">retrieve"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fieldList");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"fieldList"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("SObjectType");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ids");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fieldList"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sObjectType"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="ids"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "fieldList",
+ "sObjectType",
+ "ids"
+})
+@XmlRootElement(name = "retrieve")
+public class Retrieve {
+
+ @XmlElement(required = true)
+ protected String fieldList;
+ @XmlElement(required = true)
+ protected String sObjectType;
+ protected List<String> ids;
+
+ /**
+ * Gets the value of the fieldList property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFieldList() {
+ return fieldList;
+ }
+
+ /**
+ * Sets the value of the fieldList property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFieldList(String value) {
+ this.fieldList = value;
+ }
+
+ /**
+ * Gets the value of the sObjectType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSObjectType() {
+ return sObjectType;
+ }
+
+ /**
+ * Sets the value of the sObjectType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSObjectType(String value) {
+ this.sObjectType = value;
+ }
+
+ /**
+ * Gets the value of the ids property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ids
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIds() {
+ if (ids == null) {
+ ids = new ArrayList<String>();
+ }
+ return this.ids;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RetrieveResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RetrieveResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RetrieveResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,72 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:sobject.partner.soap.sforce.com}sObject"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "retrieveResponse")
+public class RetrieveResponse {
+
+ @XmlElement(nillable = true)
+ protected List<SObject> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SObject }
+ *
+ *
+ */
+ public List<SObject> getResult() {
+ if (result == null) {
+ result = new ArrayList<SObject>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/RetrieveResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SaveResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SaveResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SaveResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,205 +1,115 @@
-/**
- * SaveResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SaveResult implements java.io.Serializable {
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String id;
-
- private boolean success;
-
- public SaveResult() {
- }
-
- public SaveResult(
- com.sforce.soap.partner.Error[] errors,
- java.lang.String id,
- boolean success) {
- this.errors = errors;
- this.id = id;
- this.success = success;
- }
-
-
- /**
- * Gets the errors value for this SaveResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this SaveResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the id value for this SaveResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this SaveResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the success value for this SaveResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this SaveResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SaveResult)) return false;
- SaveResult other = (SaveResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SaveResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SaveResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SaveResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SaveResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SaveResult", propOrder = {
+ "errors",
+ "id",
+ "success"
+})
+public class SaveResult {
+
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Search.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Search.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Search.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * Search.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Search implements java.io.Serializable {
- private java.lang.String searchString;
-
- public Search() {
- }
-
- public Search(
- java.lang.String searchString) {
- this.searchString = searchString;
- }
-
-
- /**
- * Gets the searchString value for this Search.
- *
- * @return searchString
- */
- public java.lang.String getSearchString() {
- return searchString;
- }
-
-
- /**
- * Sets the searchString value for this Search.
- *
- * @param searchString
- */
- public void setSearchString(java.lang.String searchString) {
- this.searchString = searchString;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Search)) return false;
- Search other = (Search) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.searchString==null && other.getSearchString()==null) ||
- (this.searchString!=null &&
- this.searchString.equals(other.getSearchString())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSearchString() != null) {
- _hashCode += getSearchString().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Search.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">search"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("searchString");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"searchString"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="searchString"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "searchString"
+})
+@XmlRootElement(name = "search")
+public class Search {
+
+ @XmlElement(required = true)
+ protected String searchString;
+
+ /**
+ * Gets the value of the searchString property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSearchString() {
+ return searchString;
+ }
+
+ /**
+ * Sets the value of the searchString property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSearchString(String value) {
+ this.searchString = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchRecord.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchRecord.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchRecord.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,63 @@
-/**
- * SearchRecord.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SearchRecord implements java.io.Serializable {
- private com.sforce.soap.partner.sobject.SObject record;
-
- public SearchRecord() {
- }
-
- public SearchRecord(
- com.sforce.soap.partner.sobject.SObject record) {
- this.record = record;
- }
-
-
- /**
- * Gets the record value for this SearchRecord.
- *
- * @return record
- */
- public com.sforce.soap.partner.sobject.SObject getRecord() {
- return record;
- }
-
-
- /**
- * Sets the record value for this SearchRecord.
- *
- * @param record
- */
- public void setRecord(com.sforce.soap.partner.sobject.SObject record) {
- this.record = record;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SearchRecord)) return false;
- SearchRecord other = (SearchRecord) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.record==null && other.getRecord()==null) ||
- (this.record!=null &&
- this.record.equals(other.getRecord())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getRecord() != null) {
- _hashCode += getRecord().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SearchRecord.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchRecord"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("record");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "record"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for SearchRecord complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SearchRecord">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="record"
type="{urn:sobject.partner.soap.sforce.com}sObject"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SearchRecord", propOrder = {
+ "record"
+})
+public class SearchRecord {
+
+ @XmlElement(required = true)
+ protected SObject record;
+
+ /**
+ * Gets the value of the record property.
+ *
+ * @return
+ * possible object is
+ * {@link SObject }
+ *
+ */
+ public SObject getRecord() {
+ return record;
+ }
+
+ /**
+ * Sets the value of the record property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SObject }
+ *
+ */
+ public void setRecord(SObject value) {
+ this.record = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * SearchResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SearchResponse implements java.io.Serializable {
- private com.sforce.soap.partner.SearchResult result;
-
- public SearchResponse() {
- }
-
- public SearchResponse(
- com.sforce.soap.partner.SearchResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this SearchResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.SearchResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this SearchResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.SearchResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SearchResponse)) return false;
- SearchResponse other = (SearchResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SearchResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">searchResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}SearchResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "searchResponse")
+public class SearchResponse {
+
+ @XmlElement(required = true)
+ protected SearchResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link SearchResult }
+ *
+ */
+ public SearchResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SearchResult }
+ *
+ */
+ public void setResult(SearchResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SearchResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,174 +1,94 @@
-/**
- * SearchResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SearchResult implements java.io.Serializable {
- private com.sforce.soap.partner.SearchRecord[] searchRecords;
-
- private java.lang.String sforceReserved;
-
- public SearchResult() {
- }
-
- public SearchResult(
- com.sforce.soap.partner.SearchRecord[] searchRecords,
- java.lang.String sforceReserved) {
- this.searchRecords = searchRecords;
- this.sforceReserved = sforceReserved;
- }
-
-
- /**
- * Gets the searchRecords value for this SearchResult.
- *
- * @return searchRecords
- */
- public com.sforce.soap.partner.SearchRecord[] getSearchRecords() {
- return searchRecords;
- }
-
-
- /**
- * Sets the searchRecords value for this SearchResult.
- *
- * @param searchRecords
- */
- public void setSearchRecords(com.sforce.soap.partner.SearchRecord[] searchRecords) {
- this.searchRecords = searchRecords;
- }
-
- public com.sforce.soap.partner.SearchRecord getSearchRecords(int i) {
- return this.searchRecords[i];
- }
-
- public void setSearchRecords(int i, com.sforce.soap.partner.SearchRecord _value) {
- this.searchRecords[i] = _value;
- }
-
-
- /**
- * Gets the sforceReserved value for this SearchResult.
- *
- * @return sforceReserved
- */
- public java.lang.String getSforceReserved() {
- return sforceReserved;
- }
-
-
- /**
- * Sets the sforceReserved value for this SearchResult.
- *
- * @param sforceReserved
- */
- public void setSforceReserved(java.lang.String sforceReserved) {
- this.sforceReserved = sforceReserved;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SearchResult)) return false;
- SearchResult other = (SearchResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.searchRecords==null && other.getSearchRecords()==null) ||
- (this.searchRecords!=null &&
- java.util.Arrays.equals(this.searchRecords, other.getSearchRecords())))
&&
- ((this.sforceReserved==null && other.getSforceReserved()==null) ||
- (this.sforceReserved!=null &&
- this.sforceReserved.equals(other.getSforceReserved())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSearchRecords() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getSearchRecords());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getSearchRecords(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getSforceReserved() != null) {
- _hashCode += getSforceReserved().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SearchResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("searchRecords");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"searchRecords"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchRecord"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sforceReserved");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sforceReserved"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SearchResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SearchResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="searchRecords"
type="{urn:partner.soap.sforce.com}SearchRecord" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="sforceReserved"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SearchResult", propOrder = {
+ "searchRecords",
+ "sforceReserved"
+})
+public class SearchResult {
+
+ protected List<SearchRecord> searchRecords;
+ protected String sforceReserved;
+
+ /**
+ * Gets the value of the searchRecords property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
searchRecords property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSearchRecords().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SearchRecord }
+ *
+ *
+ */
+ public List<SearchRecord> getSearchRecords() {
+ if (searchRecords == null) {
+ searchRecords = new ArrayList<SearchRecord>();
+ }
+ return this.searchRecords;
+ }
+
+ /**
+ * Gets the value of the sforceReserved property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSforceReserved() {
+ return sforceReserved;
+ }
+
+ /**
+ * Sets the value of the sforceReserved property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSforceReserved(String value) {
+ this.sforceReserved = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmail.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmail.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmail.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="messages"
type="{urn:partner.soap.sforce.com}Email" maxOccurs="10"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "messages"
+})
+@XmlRootElement(name = "sendEmail")
+public class SendEmail {
+
+ protected List<Email> messages;
+
+ /**
+ * Gets the value of the messages property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the messages
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Email }
+ *
+ *
+ */
+ public List<Email> getMessages() {
+ if (messages == null) {
+ messages = new ArrayList<Email>();
+ }
+ return this.messages;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmail.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailError.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailError.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailError.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,245 +1,153 @@
-/**
- * SendEmailError.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SendEmailError implements java.io.Serializable {
- private java.lang.String[] fields;
-
- private java.lang.String message;
-
- private com.sforce.soap.partner.StatusCode statusCode;
-
- private java.lang.String targetObjectId;
-
- public SendEmailError() {
- }
-
- public SendEmailError(
- java.lang.String[] fields,
- java.lang.String message,
- com.sforce.soap.partner.StatusCode statusCode,
- java.lang.String targetObjectId) {
- this.fields = fields;
- this.message = message;
- this.statusCode = statusCode;
- this.targetObjectId = targetObjectId;
- }
-
-
- /**
- * Gets the fields value for this SendEmailError.
- *
- * @return fields
- */
- public java.lang.String[] getFields() {
- return fields;
- }
-
-
- /**
- * Sets the fields value for this SendEmailError.
- *
- * @param fields
- */
- public void setFields(java.lang.String[] fields) {
- this.fields = fields;
- }
-
- public java.lang.String getFields(int i) {
- return this.fields[i];
- }
-
- public void setFields(int i, java.lang.String _value) {
- this.fields[i] = _value;
- }
-
-
- /**
- * Gets the message value for this SendEmailError.
- *
- * @return message
- */
- public java.lang.String getMessage() {
- return message;
- }
-
-
- /**
- * Sets the message value for this SendEmailError.
- *
- * @param message
- */
- public void setMessage(java.lang.String message) {
- this.message = message;
- }
-
-
- /**
- * Gets the statusCode value for this SendEmailError.
- *
- * @return statusCode
- */
- public com.sforce.soap.partner.StatusCode getStatusCode() {
- return statusCode;
- }
-
-
- /**
- * Sets the statusCode value for this SendEmailError.
- *
- * @param statusCode
- */
- public void setStatusCode(com.sforce.soap.partner.StatusCode statusCode) {
- this.statusCode = statusCode;
- }
-
-
- /**
- * Gets the targetObjectId value for this SendEmailError.
- *
- * @return targetObjectId
- */
- public java.lang.String getTargetObjectId() {
- return targetObjectId;
- }
-
-
- /**
- * Sets the targetObjectId value for this SendEmailError.
- *
- * @param targetObjectId
- */
- public void setTargetObjectId(java.lang.String targetObjectId) {
- this.targetObjectId = targetObjectId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SendEmailError)) return false;
- SendEmailError other = (SendEmailError) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.fields==null && other.getFields()==null) ||
- (this.fields!=null &&
- java.util.Arrays.equals(this.fields, other.getFields()))) &&
- ((this.message==null && other.getMessage()==null) ||
- (this.message!=null &&
- this.message.equals(other.getMessage()))) &&
- ((this.statusCode==null && other.getStatusCode()==null) ||
- (this.statusCode!=null &&
- this.statusCode.equals(other.getStatusCode()))) &&
- ((this.targetObjectId==null && other.getTargetObjectId()==null) ||
- (this.targetObjectId!=null &&
- this.targetObjectId.equals(other.getTargetObjectId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getFields() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getFields());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getFields(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getMessage() != null) {
- _hashCode += getMessage().hashCode();
- }
- if (getStatusCode() != null) {
- _hashCode += getStatusCode().hashCode();
- }
- if (getTargetObjectId() != null) {
- _hashCode += getTargetObjectId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SendEmailError.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailError"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fields");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "fields"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("message");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "message"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("statusCode");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"statusCode"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"StatusCode"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("targetObjectId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"targetObjectId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SendEmailError complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SendEmailError">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="fields"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="message"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="statusCode"
type="{urn:partner.soap.sforce.com}StatusCode"/>
+ * <element name="targetObjectId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SendEmailError", propOrder = {
+ "fields",
+ "message",
+ "statusCode",
+ "targetObjectId"
+})
+public class SendEmailError {
+
+ @XmlElement(nillable = true)
+ protected List<String> fields;
+ @XmlElement(required = true)
+ protected String message;
+ @XmlElement(required = true)
+ protected StatusCode statusCode;
+ @XmlElement(required = true, nillable = true)
+ protected String targetObjectId;
+
+ /**
+ * Gets the value of the fields property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the fields
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFields().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getFields() {
+ if (fields == null) {
+ fields = new ArrayList<String>();
+ }
+ return this.fields;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the statusCode property.
+ *
+ * @return
+ * possible object is
+ * {@link StatusCode }
+ *
+ */
+ public StatusCode getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link StatusCode }
+ *
+ */
+ public void setStatusCode(StatusCode value) {
+ this.statusCode = value;
+ }
+
+ /**
+ * Gets the value of the targetObjectId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTargetObjectId() {
+ return targetObjectId;
+ }
+
+ /**
+ * Sets the value of the targetObjectId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTargetObjectId(String value) {
+ this.targetObjectId = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}SendEmailResult" maxOccurs="10"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "sendEmailResponse")
+public class SendEmailResponse {
+
+ protected List<SendEmailResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SendEmailResult }
+ *
+ *
+ */
+ public List<SendEmailResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<SendEmailResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SendEmailResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,169 +1,86 @@
-/**
- * SendEmailResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SendEmailResult implements java.io.Serializable {
- private com.sforce.soap.partner.SendEmailError[] errors;
-
- private boolean success;
-
- public SendEmailResult() {
- }
-
- public SendEmailResult(
- com.sforce.soap.partner.SendEmailError[] errors,
- boolean success) {
- this.errors = errors;
- this.success = success;
- }
-
-
- /**
- * Gets the errors value for this SendEmailResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.SendEmailError[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this SendEmailResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.SendEmailError[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.SendEmailError getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.SendEmailError _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the success value for this SendEmailResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this SendEmailResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SendEmailResult)) return false;
- SendEmailResult other = (SendEmailResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SendEmailResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailError"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SendEmailResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SendEmailResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}SendEmailError"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SendEmailResult", propOrder = {
+ "errors",
+ "success"
+})
+public class SendEmailResult {
+
+ protected List<SendEmailError> errors;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SendEmailError }
+ *
+ *
+ */
+ public List<SendEmailError> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<SendEmailError>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SessionHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SessionHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SessionHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * SessionHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SessionHeader implements java.io.Serializable {
- private java.lang.String sessionId;
-
- public SessionHeader() {
- }
-
- public SessionHeader(
- java.lang.String sessionId) {
- this.sessionId = sessionId;
- }
-
-
- /**
- * Gets the sessionId value for this SessionHeader.
- *
- * @return sessionId
- */
- public java.lang.String getSessionId() {
- return sessionId;
- }
-
-
- /**
- * Sets the sessionId value for this SessionHeader.
- *
- * @param sessionId
- */
- public void setSessionId(java.lang.String sessionId) {
- this.sessionId = sessionId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SessionHeader)) return false;
- SessionHeader other = (SessionHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.sessionId==null && other.getSessionId()==null) ||
- (this.sessionId!=null &&
- this.sessionId.equals(other.getSessionId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getSessionId() != null) {
- _hashCode += getSessionId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SessionHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">SessionHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("sessionId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sessionId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sessionId"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sessionId"
+})
+@XmlRootElement(name = "SessionHeader")
+public class SessionHeader {
+
+ @XmlElement(required = true)
+ protected String sessionId;
+
+ /**
+ * Gets the value of the sessionId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSessionId() {
+ return sessionId;
+ }
+
+ /**
+ * Sets the value of the sessionId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSessionId(String value) {
+ this.sessionId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPassword.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPassword.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPassword.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,155 +1,92 @@
-/**
- * SetPassword.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SetPassword implements java.io.Serializable {
- private java.lang.String userId;
-
- private java.lang.String password;
-
- public SetPassword() {
- }
-
- public SetPassword(
- java.lang.String userId,
- java.lang.String password) {
- this.userId = userId;
- this.password = password;
- }
-
-
- /**
- * Gets the userId value for this SetPassword.
- *
- * @return userId
- */
- public java.lang.String getUserId() {
- return userId;
- }
-
-
- /**
- * Sets the userId value for this SetPassword.
- *
- * @param userId
- */
- public void setUserId(java.lang.String userId) {
- this.userId = userId;
- }
-
-
- /**
- * Gets the password value for this SetPassword.
- *
- * @return password
- */
- public java.lang.String getPassword() {
- return password;
- }
-
-
- /**
- * Sets the password value for this SetPassword.
- *
- * @param password
- */
- public void setPassword(java.lang.String password) {
- this.password = password;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SetPassword)) return false;
- SetPassword other = (SetPassword) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.userId==null && other.getUserId()==null) ||
- (this.userId!=null &&
- this.userId.equals(other.getUserId()))) &&
- ((this.password==null && other.getPassword()==null) ||
- (this.password!=null &&
- this.password.equals(other.getPassword())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getUserId() != null) {
- _hashCode += getUserId().hashCode();
- }
- if (getPassword() != null) {
- _hashCode += getPassword().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SetPassword.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">setPassword"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("userId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "userId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("password");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"password"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="userId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="password"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "userId",
+ "password"
+})
+@XmlRootElement(name = "setPassword")
+public class SetPassword {
+
+ @XmlElement(required = true)
+ protected String userId;
+ @XmlElement(required = true)
+ protected String password;
+
+ /**
+ * Gets the value of the userId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUserId() {
+ return userId;
+ }
+
+ /**
+ * Sets the value of the userId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUserId(String value) {
+ this.userId = value;
+ }
+
+ /**
+ * Gets the value of the password property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Sets the value of the password property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPassword(String value) {
+ this.password = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResponse.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * SetPasswordResponse.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SetPasswordResponse implements java.io.Serializable {
- private com.sforce.soap.partner.SetPasswordResult result;
-
- public SetPasswordResponse() {
- }
-
- public SetPasswordResponse(
- com.sforce.soap.partner.SetPasswordResult result) {
- this.result = result;
- }
-
-
- /**
- * Gets the result value for this SetPasswordResponse.
- *
- * @return result
- */
- public com.sforce.soap.partner.SetPasswordResult getResult() {
- return result;
- }
-
-
- /**
- * Sets the result value for this SetPasswordResponse.
- *
- * @param result
- */
- public void setResult(com.sforce.soap.partner.SetPasswordResult result) {
- this.result = result;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SetPasswordResponse)) return false;
- SetPasswordResponse other = (SetPasswordResponse) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.result==null && other.getResult()==null) ||
- (this.result!=null &&
- this.result.equals(other.getResult())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getResult() != null) {
- _hashCode += getResult().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SetPasswordResponse.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">setPasswordResponse"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("result");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SetPasswordResult"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}SetPasswordResult"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "setPasswordResponse")
+public class SetPasswordResponse {
+
+ @XmlElement(required = true)
+ protected SetPasswordResult result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * @return
+ * possible object is
+ * {@link SetPasswordResult }
+ *
+ */
+ public SetPasswordResult getResult() {
+ return result;
+ }
+
+ /**
+ * Sets the value of the result property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SetPasswordResult }
+ *
+ */
+ public void setResult(SetPasswordResult value) {
+ this.result = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SetPasswordResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,80 +1,30 @@
-/**
- * SetPasswordResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SetPasswordResult implements java.io.Serializable {
- public SetPasswordResult() {
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SetPasswordResult)) return false;
- SetPasswordResult other = (SetPasswordResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true;
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SetPasswordResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SetPasswordResult"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SetPasswordResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SetPasswordResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SetPasswordResult")
+public class SetPasswordResult {
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceService.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceService.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceService.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,20 +1,77 @@
-/**
- * SforceService.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public interface SforceService extends javax.xml.rpc.Service {
-
-/**
- * Sforce SOAP API
- */
- public java.lang.String getSoapAddress();
-
- public com.sforce.soap.partner.Soap getSoap() throws javax.xml.rpc.ServiceException;
-
- public com.sforce.soap.partner.Soap getSoap(java.net.URL portAddress) throws
javax.xml.rpc.ServiceException;
-}
+
+/*
+ *
+ */
+
+package com.sforce.soap.partner;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceFeature;
+import javax.xml.ws.Service;
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:57 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+
+@WebServiceClient(name = "SforceService",
+ wsdlLocation = "file:partner.wsdl",
+ targetNamespace = "urn:partner.soap.sforce.com")
+public class SforceService extends Service {
+
+ public final static URL WSDL_LOCATION;
+ public final static QName SERVICE = new
QName("urn:partner.soap.sforce.com", "SforceService");
+ public final static QName Soap = new QName("urn:partner.soap.sforce.com",
"Soap");
+ static {
+ URL url = null;
+ try {
+ url = new URL("file:partner.wsdl");
+ } catch (MalformedURLException e) {
+ System.err.println("Can not initialize the default wsdl from
file:partner.wsdl");
+ // e.printStackTrace();
+ }
+ WSDL_LOCATION = url;
+ }
+
+ public SforceService(URL wsdlLocation) {
+ super(wsdlLocation, SERVICE);
+ }
+
+ public SforceService(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public SforceService() {
+ super(WSDL_LOCATION, SERVICE);
+ }
+
+ /**
+ *
+ * @return
+ * returns Soap
+ */
+ @WebEndpoint(name = "Soap")
+ public Soap getSoap() {
+ return super.getPort(Soap, Soap.class);
+ }
+
+ /**
+ *
+ * @param features
+ * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.
Supported features not in the <code>features</code> parameter will have their
default values.
+ * @return
+ * returns Soap
+ */
+ @WebEndpoint(name = "Soap")
+ public Soap getSoap(WebServiceFeature... features) {
+ return super.getPort(Soap, Soap.class, features);
+ }
+
+}
Deleted:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceServiceLocator.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceServiceLocator.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SforceServiceLocator.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,146 +0,0 @@
-/**
- * SforceServiceLocator.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SforceServiceLocator extends org.apache.axis.client.Service implements
com.sforce.soap.partner.SforceService {
-
-/**
- * Sforce SOAP API
- */
-
- public SforceServiceLocator() {
- }
-
-
- public SforceServiceLocator(org.apache.axis.EngineConfiguration config) {
- super(config);
- }
-
- public SforceServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName
sName) throws javax.xml.rpc.ServiceException {
- super(wsdlLoc, sName);
- }
-
- // Use to get a proxy class for Soap
- private java.lang.String Soap_address =
"https://www.salesforce.com/services/Soap/u/17.0";
-
- public java.lang.String getSoapAddress() {
- return Soap_address;
- }
-
- // The WSDD service name defaults to the port name.
- private java.lang.String SoapWSDDServiceName = "Soap";
-
- public java.lang.String getSoapWSDDServiceName() {
- return SoapWSDDServiceName;
- }
-
- public void setSoapWSDDServiceName(java.lang.String name) {
- SoapWSDDServiceName = name;
- }
-
- public com.sforce.soap.partner.Soap getSoap() throws javax.xml.rpc.ServiceException
{
- java.net.URL endpoint;
- try {
- endpoint = new java.net.URL(Soap_address);
- }
- catch (java.net.MalformedURLException e) {
- throw new javax.xml.rpc.ServiceException(e);
- }
- return getSoap(endpoint);
- }
-
- public com.sforce.soap.partner.Soap getSoap(java.net.URL portAddress) throws
javax.xml.rpc.ServiceException {
- try {
- com.sforce.soap.partner.SoapBindingStub _stub = new
com.sforce.soap.partner.SoapBindingStub(portAddress, this);
- _stub.setPortName(getSoapWSDDServiceName());
- return _stub;
- }
- catch (org.apache.axis.AxisFault e) {
- return null;
- }
- }
-
- public void setSoapEndpointAddress(java.lang.String address) {
- Soap_address = address;
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(Class serviceEndpointInterface) throws
javax.xml.rpc.ServiceException {
- try {
- if
(com.sforce.soap.partner.Soap.class.isAssignableFrom(serviceEndpointInterface)) {
- com.sforce.soap.partner.SoapBindingStub _stub = new
com.sforce.soap.partner.SoapBindingStub(new java.net.URL(Soap_address), this);
- _stub.setPortName(getSoapWSDDServiceName());
- return _stub;
- }
- }
- catch (java.lang.Throwable t) {
- throw new javax.xml.rpc.ServiceException(t);
- }
- throw new javax.xml.rpc.ServiceException("There is no stub implementation
for the interface: " + (serviceEndpointInterface == null ? "null" :
serviceEndpointInterface.getName()));
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class
serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- if (portName == null) {
- return getPort(serviceEndpointInterface);
- }
- java.lang.String inputPortName = portName.getLocalPart();
- if ("Soap".equals(inputPortName)) {
- return getSoap();
- }
- else {
- java.rmi.Remote _stub = getPort(serviceEndpointInterface);
- ((org.apache.axis.client.Stub) _stub).setPortName(portName);
- return _stub;
- }
- }
-
- public javax.xml.namespace.QName getServiceName() {
- return new javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SforceService");
- }
-
- private java.util.HashSet ports = null;
-
- public java.util.Iterator getPorts() {
- if (ports == null) {
- ports = new java.util.HashSet();
- ports.add(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Soap"));
- }
- return ports.iterator();
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(java.lang.String portName, java.lang.String address)
throws javax.xml.rpc.ServiceException {
-
-if ("Soap".equals(portName)) {
- setSoapEndpointAddress(address);
- }
- else
-{ // Unknown Port Name
- throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address
for Unknown Port" + portName);
- }
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String
address) throws javax.xml.rpc.ServiceException {
- setEndpointAddress(portName.getLocalPart(), address);
- }
-
-}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SingleEmailMessage.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SingleEmailMessage.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SingleEmailMessage.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,692 +1,455 @@
-/**
- * SingleEmailMessage.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class SingleEmailMessage extends com.sforce.soap.partner.Email implements
java.io.Serializable {
- private java.lang.String[] bccAddresses;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
- private java.lang.String[] ccAddresses;
- private java.lang.String charset;
+/**
+ * <p>Java class for SingleEmailMessage complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="SingleEmailMessage">
+ * <complexContent>
+ * <extension base="{urn:partner.soap.sforce.com}Email">
+ * <sequence>
+ * <element name="bccAddresses"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="25"
minOccurs="0"/>
+ * <element name="ccAddresses"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="25"
minOccurs="0"/>
+ * <element name="charset"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="documentAttachments"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="htmlBody"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="inReplyTo"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="fileAttachments"
type="{urn:partner.soap.sforce.com}EmailFileAttachment"
maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="orgWideEmailAddressId"
type="{urn:partner.soap.sforce.com}ID" minOccurs="0"/>
+ * <element name="plainTextBody"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="references"
type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="targetObjectId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="templateId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="toAddresses"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="100"
minOccurs="0"/>
+ * <element name="whatId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SingleEmailMessage", propOrder = {
+ "bccAddresses",
+ "ccAddresses",
+ "charset",
+ "documentAttachments",
+ "htmlBody",
+ "inReplyTo",
+ "fileAttachments",
+ "orgWideEmailAddressId",
+ "plainTextBody",
+ "references",
+ "targetObjectId",
+ "templateId",
+ "toAddresses",
+ "whatId"
+})
+public class SingleEmailMessage
+ extends Email
+{
- private java.lang.String[] documentAttachments;
+ @XmlElement(nillable = true)
+ protected List<String> bccAddresses;
+ @XmlElement(nillable = true)
+ protected List<String> ccAddresses;
+ @XmlElement(required = true, nillable = true)
+ protected String charset;
+ protected List<String> documentAttachments;
+ @XmlElement(required = true, nillable = true)
+ protected String htmlBody;
+ @XmlElementRef(name = "inReplyTo", namespace =
"urn:partner.soap.sforce.com", type = JAXBElement.class)
+ protected JAXBElement<String> inReplyTo;
+ protected List<EmailFileAttachment> fileAttachments;
+ @XmlElementRef(name = "orgWideEmailAddressId", namespace =
"urn:partner.soap.sforce.com", type = JAXBElement.class)
+ protected JAXBElement<String> orgWideEmailAddressId;
+ @XmlElement(required = true, nillable = true)
+ protected String plainTextBody;
+ @XmlElementRef(name = "references", namespace =
"urn:partner.soap.sforce.com", type = JAXBElement.class)
+ protected JAXBElement<String> references;
+ @XmlElement(required = true, nillable = true)
+ protected String targetObjectId;
+ @XmlElement(required = true, nillable = true)
+ protected String templateId;
+ @XmlElement(nillable = true)
+ protected List<String> toAddresses;
+ @XmlElement(required = true, nillable = true)
+ protected String whatId;
- private java.lang.String htmlBody;
-
- private java.lang.String inReplyTo;
-
- private com.sforce.soap.partner.EmailFileAttachment[] fileAttachments;
-
- private java.lang.String orgWideEmailAddressId;
-
- private java.lang.String plainTextBody;
-
- private java.lang.String references;
-
- private java.lang.String targetObjectId;
-
- private java.lang.String templateId;
-
- private java.lang.String[] toAddresses;
-
- private java.lang.String whatId;
-
- public SingleEmailMessage() {
- }
-
- public SingleEmailMessage(
- java.lang.Boolean bccSender,
- com.sforce.soap.partner.EmailPriority emailPriority,
- java.lang.String replyTo,
- java.lang.Boolean saveAsActivity,
- java.lang.String senderDisplayName,
- java.lang.String subject,
- java.lang.Boolean useSignature,
- java.lang.String[] bccAddresses,
- java.lang.String[] ccAddresses,
- java.lang.String charset,
- java.lang.String[] documentAttachments,
- java.lang.String htmlBody,
- java.lang.String inReplyTo,
- com.sforce.soap.partner.EmailFileAttachment[] fileAttachments,
- java.lang.String orgWideEmailAddressId,
- java.lang.String plainTextBody,
- java.lang.String references,
- java.lang.String targetObjectId,
- java.lang.String templateId,
- java.lang.String[] toAddresses,
- java.lang.String whatId) {
- super(
- bccSender,
- emailPriority,
- replyTo,
- saveAsActivity,
- senderDisplayName,
- subject,
- useSignature);
- this.bccAddresses = bccAddresses;
- this.ccAddresses = ccAddresses;
- this.charset = charset;
- this.documentAttachments = documentAttachments;
- this.htmlBody = htmlBody;
- this.inReplyTo = inReplyTo;
- this.fileAttachments = fileAttachments;
- this.orgWideEmailAddressId = orgWideEmailAddressId;
- this.plainTextBody = plainTextBody;
- this.references = references;
- this.targetObjectId = targetObjectId;
- this.templateId = templateId;
- this.toAddresses = toAddresses;
- this.whatId = whatId;
- }
-
-
/**
- * Gets the bccAddresses value for this SingleEmailMessage.
+ * Gets the value of the bccAddresses property.
*
- * @return bccAddresses
- */
- public java.lang.String[] getBccAddresses() {
- return bccAddresses;
- }
-
-
- /**
- * Sets the bccAddresses value for this SingleEmailMessage.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
bccAddresses property.
*
- * @param bccAddresses
- */
- public void setBccAddresses(java.lang.String[] bccAddresses) {
- this.bccAddresses = bccAddresses;
- }
-
- public java.lang.String getBccAddresses(int i) {
- return this.bccAddresses[i];
- }
-
- public void setBccAddresses(int i, java.lang.String _value) {
- this.bccAddresses[i] = _value;
- }
-
-
- /**
- * Gets the ccAddresses value for this SingleEmailMessage.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getBccAddresses().add(newItem);
+ * </pre>
*
- * @return ccAddresses
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
*/
- public java.lang.String[] getCcAddresses() {
- return ccAddresses;
+ public List<String> getBccAddresses() {
+ if (bccAddresses == null) {
+ bccAddresses = new ArrayList<String>();
+ }
+ return this.bccAddresses;
}
-
/**
- * Sets the ccAddresses value for this SingleEmailMessage.
+ * Gets the value of the ccAddresses property.
*
- * @param ccAddresses
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ccAddresses
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getCcAddresses().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
*/
- public void setCcAddresses(java.lang.String[] ccAddresses) {
- this.ccAddresses = ccAddresses;
+ public List<String> getCcAddresses() {
+ if (ccAddresses == null) {
+ ccAddresses = new ArrayList<String>();
+ }
+ return this.ccAddresses;
}
- public java.lang.String getCcAddresses(int i) {
- return this.ccAddresses[i];
- }
-
- public void setCcAddresses(int i, java.lang.String _value) {
- this.ccAddresses[i] = _value;
- }
-
-
/**
- * Gets the charset value for this SingleEmailMessage.
+ * Gets the value of the charset property.
*
- * @return charset
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getCharset() {
+ public String getCharset() {
return charset;
}
-
/**
- * Sets the charset value for this SingleEmailMessage.
+ * Sets the value of the charset property.
*
- * @param charset
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setCharset(java.lang.String charset) {
- this.charset = charset;
+ public void setCharset(String value) {
+ this.charset = value;
}
-
/**
- * Gets the documentAttachments value for this SingleEmailMessage.
+ * Gets the value of the documentAttachments property.
*
- * @return documentAttachments
- */
- public java.lang.String[] getDocumentAttachments() {
- return documentAttachments;
- }
-
-
- /**
- * Sets the documentAttachments value for this SingleEmailMessage.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
documentAttachments property.
*
- * @param documentAttachments
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDocumentAttachments().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
*/
- public void setDocumentAttachments(java.lang.String[] documentAttachments) {
- this.documentAttachments = documentAttachments;
+ public List<String> getDocumentAttachments() {
+ if (documentAttachments == null) {
+ documentAttachments = new ArrayList<String>();
+ }
+ return this.documentAttachments;
}
- public java.lang.String getDocumentAttachments(int i) {
- return this.documentAttachments[i];
- }
-
- public void setDocumentAttachments(int i, java.lang.String _value) {
- this.documentAttachments[i] = _value;
- }
-
-
/**
- * Gets the htmlBody value for this SingleEmailMessage.
+ * Gets the value of the htmlBody property.
*
- * @return htmlBody
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getHtmlBody() {
+ public String getHtmlBody() {
return htmlBody;
}
-
/**
- * Sets the htmlBody value for this SingleEmailMessage.
+ * Sets the value of the htmlBody property.
*
- * @param htmlBody
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setHtmlBody(java.lang.String htmlBody) {
- this.htmlBody = htmlBody;
+ public void setHtmlBody(String value) {
+ this.htmlBody = value;
}
-
/**
- * Gets the inReplyTo value for this SingleEmailMessage.
+ * Gets the value of the inReplyTo property.
*
- * @return inReplyTo
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public java.lang.String getInReplyTo() {
+ public JAXBElement<String> getInReplyTo() {
return inReplyTo;
}
-
/**
- * Sets the inReplyTo value for this SingleEmailMessage.
+ * Sets the value of the inReplyTo property.
*
- * @param inReplyTo
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public void setInReplyTo(java.lang.String inReplyTo) {
- this.inReplyTo = inReplyTo;
+ public void setInReplyTo(JAXBElement<String> value) {
+ this.inReplyTo = ((JAXBElement<String> ) value);
}
-
/**
- * Gets the fileAttachments value for this SingleEmailMessage.
+ * Gets the value of the fileAttachments property.
*
- * @return fileAttachments
- */
- public com.sforce.soap.partner.EmailFileAttachment[] getFileAttachments() {
- return fileAttachments;
- }
-
-
- /**
- * Sets the fileAttachments value for this SingleEmailMessage.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
fileAttachments property.
*
- * @param fileAttachments
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFileAttachments().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EmailFileAttachment }
+ *
+ *
*/
- public void setFileAttachments(com.sforce.soap.partner.EmailFileAttachment[]
fileAttachments) {
- this.fileAttachments = fileAttachments;
+ public List<EmailFileAttachment> getFileAttachments() {
+ if (fileAttachments == null) {
+ fileAttachments = new ArrayList<EmailFileAttachment>();
+ }
+ return this.fileAttachments;
}
- public com.sforce.soap.partner.EmailFileAttachment getFileAttachments(int i) {
- return this.fileAttachments[i];
- }
-
- public void setFileAttachments(int i, com.sforce.soap.partner.EmailFileAttachment
_value) {
- this.fileAttachments[i] = _value;
- }
-
-
/**
- * Gets the orgWideEmailAddressId value for this SingleEmailMessage.
+ * Gets the value of the orgWideEmailAddressId property.
*
- * @return orgWideEmailAddressId
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public java.lang.String getOrgWideEmailAddressId() {
+ public JAXBElement<String> getOrgWideEmailAddressId() {
return orgWideEmailAddressId;
}
-
/**
- * Sets the orgWideEmailAddressId value for this SingleEmailMessage.
+ * Sets the value of the orgWideEmailAddressId property.
*
- * @param orgWideEmailAddressId
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public void setOrgWideEmailAddressId(java.lang.String orgWideEmailAddressId) {
- this.orgWideEmailAddressId = orgWideEmailAddressId;
+ public void setOrgWideEmailAddressId(JAXBElement<String> value) {
+ this.orgWideEmailAddressId = ((JAXBElement<String> ) value);
}
-
/**
- * Gets the plainTextBody value for this SingleEmailMessage.
+ * Gets the value of the plainTextBody property.
*
- * @return plainTextBody
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getPlainTextBody() {
+ public String getPlainTextBody() {
return plainTextBody;
}
-
/**
- * Sets the plainTextBody value for this SingleEmailMessage.
+ * Sets the value of the plainTextBody property.
*
- * @param plainTextBody
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setPlainTextBody(java.lang.String plainTextBody) {
- this.plainTextBody = plainTextBody;
+ public void setPlainTextBody(String value) {
+ this.plainTextBody = value;
}
-
/**
- * Gets the references value for this SingleEmailMessage.
+ * Gets the value of the references property.
*
- * @return references
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public java.lang.String getReferences() {
+ public JAXBElement<String> getReferences() {
return references;
}
-
/**
- * Sets the references value for this SingleEmailMessage.
+ * Sets the value of the references property.
*
- * @param references
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
*/
- public void setReferences(java.lang.String references) {
- this.references = references;
+ public void setReferences(JAXBElement<String> value) {
+ this.references = ((JAXBElement<String> ) value);
}
-
/**
- * Gets the targetObjectId value for this SingleEmailMessage.
+ * Gets the value of the targetObjectId property.
*
- * @return targetObjectId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getTargetObjectId() {
+ public String getTargetObjectId() {
return targetObjectId;
}
-
/**
- * Sets the targetObjectId value for this SingleEmailMessage.
+ * Sets the value of the targetObjectId property.
*
- * @param targetObjectId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setTargetObjectId(java.lang.String targetObjectId) {
- this.targetObjectId = targetObjectId;
+ public void setTargetObjectId(String value) {
+ this.targetObjectId = value;
}
-
/**
- * Gets the templateId value for this SingleEmailMessage.
+ * Gets the value of the templateId property.
*
- * @return templateId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getTemplateId() {
+ public String getTemplateId() {
return templateId;
}
-
/**
- * Sets the templateId value for this SingleEmailMessage.
+ * Sets the value of the templateId property.
*
- * @param templateId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setTemplateId(java.lang.String templateId) {
- this.templateId = templateId;
+ public void setTemplateId(String value) {
+ this.templateId = value;
}
-
/**
- * Gets the toAddresses value for this SingleEmailMessage.
+ * Gets the value of the toAddresses property.
*
- * @return toAddresses
- */
- public java.lang.String[] getToAddresses() {
- return toAddresses;
- }
-
-
- /**
- * Sets the toAddresses value for this SingleEmailMessage.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the toAddresses
property.
*
- * @param toAddresses
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getToAddresses().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
*/
- public void setToAddresses(java.lang.String[] toAddresses) {
- this.toAddresses = toAddresses;
+ public List<String> getToAddresses() {
+ if (toAddresses == null) {
+ toAddresses = new ArrayList<String>();
+ }
+ return this.toAddresses;
}
- public java.lang.String getToAddresses(int i) {
- return this.toAddresses[i];
- }
-
- public void setToAddresses(int i, java.lang.String _value) {
- this.toAddresses[i] = _value;
- }
-
-
/**
- * Gets the whatId value for this SingleEmailMessage.
+ * Gets the value of the whatId property.
*
- * @return whatId
+ * @return
+ * possible object is
+ * {@link String }
+ *
*/
- public java.lang.String getWhatId() {
+ public String getWhatId() {
return whatId;
}
-
/**
- * Sets the whatId value for this SingleEmailMessage.
+ * Sets the value of the whatId property.
*
- * @param whatId
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
*/
- public void setWhatId(java.lang.String whatId) {
- this.whatId = whatId;
+ public void setWhatId(String value) {
+ this.whatId = value;
}
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SingleEmailMessage)) return false;
- SingleEmailMessage other = (SingleEmailMessage) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj) &&
- ((this.bccAddresses==null && other.getBccAddresses()==null) ||
- (this.bccAddresses!=null &&
- java.util.Arrays.equals(this.bccAddresses, other.getBccAddresses())))
&&
- ((this.ccAddresses==null && other.getCcAddresses()==null) ||
- (this.ccAddresses!=null &&
- java.util.Arrays.equals(this.ccAddresses, other.getCcAddresses())))
&&
- ((this.charset==null && other.getCharset()==null) ||
- (this.charset!=null &&
- this.charset.equals(other.getCharset()))) &&
- ((this.documentAttachments==null &&
other.getDocumentAttachments()==null) ||
- (this.documentAttachments!=null &&
- java.util.Arrays.equals(this.documentAttachments,
other.getDocumentAttachments()))) &&
- ((this.htmlBody==null && other.getHtmlBody()==null) ||
- (this.htmlBody!=null &&
- this.htmlBody.equals(other.getHtmlBody()))) &&
- ((this.inReplyTo==null && other.getInReplyTo()==null) ||
- (this.inReplyTo!=null &&
- this.inReplyTo.equals(other.getInReplyTo()))) &&
- ((this.fileAttachments==null && other.getFileAttachments()==null) ||
- (this.fileAttachments!=null &&
- java.util.Arrays.equals(this.fileAttachments, other.getFileAttachments())))
&&
- ((this.orgWideEmailAddressId==null &&
other.getOrgWideEmailAddressId()==null) ||
- (this.orgWideEmailAddressId!=null &&
- this.orgWideEmailAddressId.equals(other.getOrgWideEmailAddressId())))
&&
- ((this.plainTextBody==null && other.getPlainTextBody()==null) ||
- (this.plainTextBody!=null &&
- this.plainTextBody.equals(other.getPlainTextBody()))) &&
- ((this.references==null && other.getReferences()==null) ||
- (this.references!=null &&
- this.references.equals(other.getReferences()))) &&
- ((this.targetObjectId==null && other.getTargetObjectId()==null) ||
- (this.targetObjectId!=null &&
- this.targetObjectId.equals(other.getTargetObjectId()))) &&
- ((this.templateId==null && other.getTemplateId()==null) ||
- (this.templateId!=null &&
- this.templateId.equals(other.getTemplateId()))) &&
- ((this.toAddresses==null && other.getToAddresses()==null) ||
- (this.toAddresses!=null &&
- java.util.Arrays.equals(this.toAddresses, other.getToAddresses())))
&&
- ((this.whatId==null && other.getWhatId()==null) ||
- (this.whatId!=null &&
- this.whatId.equals(other.getWhatId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- if (getBccAddresses() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getBccAddresses());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getBccAddresses(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getCcAddresses() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getCcAddresses());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getCcAddresses(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getCharset() != null) {
- _hashCode += getCharset().hashCode();
- }
- if (getDocumentAttachments() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getDocumentAttachments());
- i++) {
- java.lang.Object obj =
java.lang.reflect.Array.get(getDocumentAttachments(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getHtmlBody() != null) {
- _hashCode += getHtmlBody().hashCode();
- }
- if (getInReplyTo() != null) {
- _hashCode += getInReplyTo().hashCode();
- }
- if (getFileAttachments() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getFileAttachments());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getFileAttachments(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getOrgWideEmailAddressId() != null) {
- _hashCode += getOrgWideEmailAddressId().hashCode();
- }
- if (getPlainTextBody() != null) {
- _hashCode += getPlainTextBody().hashCode();
- }
- if (getReferences() != null) {
- _hashCode += getReferences().hashCode();
- }
- if (getTargetObjectId() != null) {
- _hashCode += getTargetObjectId().hashCode();
- }
- if (getTemplateId() != null) {
- _hashCode += getTemplateId().hashCode();
- }
- if (getToAddresses() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getToAddresses());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getToAddresses(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getWhatId() != null) {
- _hashCode += getWhatId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SingleEmailMessage.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SingleEmailMessage"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("bccAddresses");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"bccAddresses"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ccAddresses");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ccAddresses"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("charset");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "charset"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("documentAttachments");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"documentAttachments"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("htmlBody");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"htmlBody"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("inReplyTo");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"inReplyTo"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fileAttachments");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"fileAttachments"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmailFileAttachment"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("orgWideEmailAddressId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"orgWideEmailAddressId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("plainTextBody");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"plainTextBody"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("references");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"references"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("targetObjectId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"targetObjectId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("templateId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"templateId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("toAddresses");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"toAddresses"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("whatId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "whatId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Soap.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Soap.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Soap.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,161 +1,546 @@
+package com.sforce.soap.partner;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
/**
- * Soap.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
*/
+
+@WebService(targetNamespace = "urn:partner.soap.sforce.com", name =
"Soap")
+(a)XmlSeeAlso({com.sforce.soap.partner.fault.ObjectFactory.class,ObjectFactory.class,com.sforce.soap.partner.sobject.ObjectFactory.class})
+public interface Soap {
-package com.sforce.soap.partner;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "merge", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Merge")
+ @ResponseWrapper(localName = "mergeResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.MergeResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.MergeResult> merge(
+ @WebParam(name = "request", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.MergeRequest> request,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AssignmentRuleHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AssignmentRuleHeader assignmentRuleHeader,
+ @WebParam(name = "MruHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ MruHeader mruHeader,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "EmailHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ EmailHeader emailHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws InvalidFieldFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault;
-public interface Soap extends java.rmi.Remote {
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "getUserInfo", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetUserInfo")
+ @ResponseWrapper(localName = "getUserInfoResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetUserInfoResponse")
+ @WebMethod
+ public com.sforce.soap.partner.GetUserInfoResult getUserInfo(
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws UnexpectedErrorFault;
- /**
- * Login to the
Salesforce.com SOAP Api
- */
- public com.sforce.soap.partner.LoginResult login(java.lang.String username,
java.lang.String password) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.LoginFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "describeSoftphoneLayout", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeSoftphoneLayout")
+ @ResponseWrapper(localName = "describeSoftphoneLayoutResponse",
targetNamespace = "urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeSoftphoneLayoutResponse")
+ @WebMethod
+ public com.sforce.soap.partner.DescribeSoftphoneLayoutResult
describeSoftphoneLayout(
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws UnexpectedErrorFault;
- /**
- * Describe an sObject
- */
- public com.sforce.soap.partner.DescribeSObjectResult describeSObject(java.lang.String
sObjectType) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "update", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Update")
+ @ResponseWrapper(localName = "updateResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.UpdateResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.SaveResult> update(
+ @WebParam(name = "sObjects", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.sobject.SObject> sObjects,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AssignmentRuleHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AssignmentRuleHeader assignmentRuleHeader,
+ @WebParam(name = "MruHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ MruHeader mruHeader,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "EmailHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ EmailHeader emailHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws InvalidFieldFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault;
- /**
- * Describe a number sObjects
- */
- public com.sforce.soap.partner.DescribeSObjectResult[]
describeSObjects(java.lang.String[] sObjectType) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "setPassword", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.SetPassword")
+ @ResponseWrapper(localName = "setPasswordResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.SetPasswordResponse")
+ @WebMethod
+ public com.sforce.soap.partner.SetPasswordResult setPassword(
+ @WebParam(name = "userId", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String userId,
+ @WebParam(name = "password", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String password,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws InvalidNewPasswordFault, InvalidIdFault, UnexpectedErrorFault;
- /**
- * Describe the Global state
- */
- public com.sforce.soap.partner.DescribeGlobalResult describeGlobal() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @RequestWrapper(localName = "logout", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Logout")
+ @ResponseWrapper(localName = "logoutResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.LogoutResponse")
+ @WebMethod
+ public void logout(
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws UnexpectedErrorFault;
- /**
- * Describe the layout of an sObject
- */
- public com.sforce.soap.partner.DescribeLayoutResult describeLayout(java.lang.String
sObjectType, java.lang.String[] recordTypeIds) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "retrieve", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Retrieve")
+ @ResponseWrapper(localName = "retrieveResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.RetrieveResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.sobject.SObject> retrieve(
+ @WebParam(name = "fieldList", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String fieldList,
+ @WebParam(name = "sObjectType", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String sObjectType,
+ @WebParam(name = "ids", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> ids,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "QueryOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ QueryOptions queryOptions,
+ @WebParam(name = "MruHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ MruHeader mruHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws InvalidFieldFault, MalformedQueryFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault;
- /**
- * Describe the layout of the SoftPhone
- */
- public com.sforce.soap.partner.DescribeSoftphoneLayoutResult
describeSoftphoneLayout() throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "queryAll", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.QueryAll")
+ @ResponseWrapper(localName = "queryAllResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.QueryAllResponse")
+ @WebMethod
+ public com.sforce.soap.partner.QueryResult queryAll(
+ @WebParam(name = "queryString", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String queryString,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "QueryOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ QueryOptions queryOptions
+ ) throws InvalidFieldFault, MalformedQueryFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault, InvalidQueryLocatorFault;
- /**
- * Describe the tabs that appear on a users page
- */
- public com.sforce.soap.partner.DescribeTabSetResult[] describeTabs() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "getUpdated", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetUpdated")
+ @ResponseWrapper(localName = "getUpdatedResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetUpdatedResponse")
+ @WebMethod
+ public com.sforce.soap.partner.GetUpdatedResult getUpdated(
+ @WebParam(name = "sObjectType", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String sObjectType,
+ @WebParam(name = "startDate", targetNamespace =
"urn:partner.soap.sforce.com")
+ javax.xml.datatype.XMLGregorianCalendar startDate,
+ @WebParam(name = "endDate", targetNamespace =
"urn:partner.soap.sforce.com")
+ javax.xml.datatype.XMLGregorianCalendar endDate,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws InvalidSObjectFault, UnexpectedErrorFault;
- /**
- * Create a set of new sObjects
- */
- public com.sforce.soap.partner.SaveResult[]
create(com.sforce.soap.partner.sobject.SObject[] sObjects) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "undelete", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Undelete")
+ @ResponseWrapper(localName = "undeleteResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.UndeleteResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.UndeleteResult> undelete(
+ @WebParam(name = "ids", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> ids,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws UnexpectedErrorFault;
- /**
- * Update a set of sObjects
- */
- public com.sforce.soap.partner.SaveResult[]
update(com.sforce.soap.partner.sobject.SObject[] sObjects) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "create", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Create")
+ @ResponseWrapper(localName = "createResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.CreateResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.SaveResult> create(
+ @WebParam(name = "sObjects", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.sobject.SObject> sObjects,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AssignmentRuleHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AssignmentRuleHeader assignmentRuleHeader,
+ @WebParam(name = "MruHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ MruHeader mruHeader,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "EmailHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ EmailHeader emailHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws InvalidFieldFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault;
- /**
- * Update or insert a set of sObjects based on object id
- */
- public com.sforce.soap.partner.UpsertResult[] upsert(java.lang.String
externalIDFieldName, com.sforce.soap.partner.sobject.SObject[] sObjects) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "sendEmail", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.SendEmail")
+ @ResponseWrapper(localName = "sendEmailResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.SendEmailResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.SendEmailResult> sendEmail(
+ @WebParam(name = "messages", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.Email> messages,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws UnexpectedErrorFault;
- /**
- * Merge and update a set of sObjects based on object id
- */
- public com.sforce.soap.partner.MergeResult[]
merge(com.sforce.soap.partner.MergeRequest[] request) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "search", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Search")
+ @ResponseWrapper(localName = "searchResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.SearchResponse")
+ @WebMethod
+ public com.sforce.soap.partner.SearchResult search(
+ @WebParam(name = "searchString", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String searchString,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws InvalidFieldFault, InvalidSObjectFault, UnexpectedErrorFault,
MalformedSearchFault;
- /**
- * Delete a set of sObjects
- */
- public com.sforce.soap.partner.DeleteResult[] delete(java.lang.String[] ids) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "query", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Query")
+ @ResponseWrapper(localName = "queryResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.QueryResponse")
+ @WebMethod
+ public com.sforce.soap.partner.QueryResult query(
+ @WebParam(name = "queryString", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String queryString,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "QueryOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ QueryOptions queryOptions,
+ @WebParam(name = "MruHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ MruHeader mruHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws InvalidFieldFault, MalformedQueryFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault, InvalidQueryLocatorFault;
- /**
- * Undelete a set of sObjects
- */
- public com.sforce.soap.partner.UndeleteResult[] undelete(java.lang.String[] ids)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "getDeleted", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetDeleted")
+ @ResponseWrapper(localName = "getDeletedResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetDeletedResponse")
+ @WebMethod
+ public com.sforce.soap.partner.GetDeletedResult getDeleted(
+ @WebParam(name = "sObjectType", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String sObjectType,
+ @WebParam(name = "startDate", targetNamespace =
"urn:partner.soap.sforce.com")
+ javax.xml.datatype.XMLGregorianCalendar startDate,
+ @WebParam(name = "endDate", targetNamespace =
"urn:partner.soap.sforce.com")
+ javax.xml.datatype.XMLGregorianCalendar endDate,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws InvalidSObjectFault, UnexpectedErrorFault;
- /**
- * Empty a set of sObjects from the recycle bin
- */
- public com.sforce.soap.partner.EmptyRecycleBinResult[]
emptyRecycleBin(java.lang.String[] ids) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "process", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Process")
+ @ResponseWrapper(localName = "processResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.ProcessResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.ProcessResult> process(
+ @WebParam(name = "actions", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.ProcessRequest> actions,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws InvalidIdFault, UnexpectedErrorFault;
- /**
- * Get a set of sObjects
- */
- public com.sforce.soap.partner.sobject.SObject[] retrieve(java.lang.String fieldList,
java.lang.String sObjectType, java.lang.String[] ids) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedQueryFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "resetPassword", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.ResetPassword")
+ @ResponseWrapper(localName = "resetPasswordResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.ResetPasswordResponse")
+ @WebMethod
+ public com.sforce.soap.partner.ResetPasswordResult resetPassword(
+ @WebParam(name = "userId", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String userId,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "EmailHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ EmailHeader emailHeader
+ ) throws InvalidIdFault, UnexpectedErrorFault;
- /**
- * Submit an entity to a workflow process or process a workitem
- */
- public com.sforce.soap.partner.ProcessResult[]
process(com.sforce.soap.partner.ProcessRequest[] actions) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "describeGlobal", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeGlobal")
+ @ResponseWrapper(localName = "describeGlobalResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeGlobalResponse")
+ @WebMethod
+ public com.sforce.soap.partner.DescribeGlobalResult describeGlobal(
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws UnexpectedErrorFault;
- /**
- * convert a set of leads
- */
- public com.sforce.soap.partner.LeadConvertResult[]
convertLead(com.sforce.soap.partner.LeadConvert[] leadConverts) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "describeLayout", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeLayout")
+ @ResponseWrapper(localName = "describeLayoutResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeLayoutResponse")
+ @WebMethod
+ public com.sforce.soap.partner.DescribeLayoutResult describeLayout(
+ @WebParam(name = "sObjectType", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String sObjectType,
+ @WebParam(name = "recordTypeIds", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> recordTypeIds,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws InvalidSObjectFault, InvalidIdFault, UnexpectedErrorFault;
- /**
- * Logout the current user, invalidating the current session.
- */
- public void logout() throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "describeTabs", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeTabs")
+ @ResponseWrapper(localName = "describeTabsResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeTabsResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.DescribeTabSetResult>
describeTabs(
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader
+ ) throws UnexpectedErrorFault;
- /**
- * Logs out and invalidates session ids
- */
- public com.sforce.soap.partner.InvalidateSessionsResult[]
invalidateSessions(java.lang.String[] sessionIds) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "getServerTimestamp", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetServerTimestamp")
+ @ResponseWrapper(localName = "getServerTimestampResponse", targetNamespace
= "urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.GetServerTimestampResponse")
+ @WebMethod
+ public com.sforce.soap.partner.GetServerTimestampResult getServerTimestamp(
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws UnexpectedErrorFault;
- /**
- * Get the IDs for deleted sObjects
- */
- public com.sforce.soap.partner.GetDeletedResult getDeleted(java.lang.String
sObjectType, java.util.Calendar startDate, java.util.Calendar endDate) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "invalidateSessions", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.InvalidateSessions")
+ @ResponseWrapper(localName = "invalidateSessionsResponse", targetNamespace
= "urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.InvalidateSessionsResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.InvalidateSessionsResult>
invalidateSessions(
+ @WebParam(name = "sessionIds", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> sessionIds,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws UnexpectedErrorFault;
- /**
- * Get the IDs for updated sObjects
- */
- public com.sforce.soap.partner.GetUpdatedResult getUpdated(java.lang.String
sObjectType, java.util.Calendar startDate, java.util.Calendar endDate) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "describeSObject", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeSObject")
+ @ResponseWrapper(localName = "describeSObjectResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeSObjectResponse")
+ @WebMethod
+ public com.sforce.soap.partner.DescribeSObjectResult describeSObject(
+ @WebParam(name = "sObjectType", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String sObjectType,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "LocaleOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ LocaleOptions localeOptions
+ ) throws InvalidSObjectFault, UnexpectedErrorFault;
- /**
- * Create a Query Cursor
- */
- public com.sforce.soap.partner.QueryResult query(java.lang.String queryString) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedQueryFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "login", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Login")
+ @ResponseWrapper(localName = "loginResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.LoginResponse")
+ @WebMethod
+ public com.sforce.soap.partner.LoginResult login(
+ @WebParam(name = "username", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String username,
+ @WebParam(name = "password", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String password,
+ @WebParam(name = "LoginScopeHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ LoginScopeHeader loginScopeHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws LoginFault, InvalidIdFault, UnexpectedErrorFault;
- /**
- * Create a Query Cursor, including deleted sObjects
- */
- public com.sforce.soap.partner.QueryResult queryAll(java.lang.String queryString)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedQueryFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "queryMore", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.QueryMore")
+ @ResponseWrapper(localName = "queryMoreResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.QueryMoreResponse")
+ @WebMethod
+ public com.sforce.soap.partner.QueryResult queryMore(
+ @WebParam(name = "queryLocator", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String queryLocator,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "QueryOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ QueryOptions queryOptions
+ ) throws InvalidFieldFault, UnexpectedErrorFault, InvalidQueryLocatorFault;
- /**
- * Gets the next batch of sObjects from a query
- */
- public com.sforce.soap.partner.QueryResult queryMore(java.lang.String queryLocator)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "describeSObjects", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeSObjects")
+ @ResponseWrapper(localName = "describeSObjectsResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DescribeSObjectsResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.DescribeSObjectResult>
describeSObjects(
+ @WebParam(name = "sObjectType", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> sObjectType,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "LocaleOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ LocaleOptions localeOptions
+ ) throws InvalidSObjectFault, UnexpectedErrorFault;
- /**
- * Search for sObjects
- */
- public com.sforce.soap.partner.SearchResult search(java.lang.String searchString)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedSearchFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "emptyRecycleBin", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.EmptyRecycleBin")
+ @ResponseWrapper(localName = "emptyRecycleBinResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.EmptyRecycleBinResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.EmptyRecycleBinResult>
emptyRecycleBin(
+ @WebParam(name = "ids", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> ids,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions
+ ) throws UnexpectedErrorFault;
- /**
- * Gets server timestamp
- */
- public com.sforce.soap.partner.GetServerTimestampResult getServerTimestamp() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "upsert", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Upsert")
+ @ResponseWrapper(localName = "upsertResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.UpsertResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.UpsertResult> upsert(
+ @WebParam(name = "externalIDFieldName", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.lang.String externalIDFieldName,
+ @WebParam(name = "sObjects", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.sobject.SObject> sObjects,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AssignmentRuleHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AssignmentRuleHeader assignmentRuleHeader,
+ @WebParam(name = "MruHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ MruHeader mruHeader,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "EmailHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ EmailHeader emailHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws InvalidFieldFault, InvalidSObjectFault, InvalidIdFault,
UnexpectedErrorFault;
- /**
- * Set a user's password
- */
- public com.sforce.soap.partner.SetPasswordResult setPassword(java.lang.String userId,
java.lang.String password) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidNewPasswordFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "convertLead", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.ConvertLead")
+ @ResponseWrapper(localName = "convertLeadResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.ConvertLeadResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.LeadConvertResult> convertLead(
+ @WebParam(name = "leadConverts", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<com.sforce.soap.partner.LeadConvert> leadConverts,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws UnexpectedErrorFault;
- /**
- * Reset a user's password
- */
- public com.sforce.soap.partner.ResetPasswordResult resetPassword(java.lang.String
userId) throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
-
- /**
- * Returns standard information relevant to the current user
- */
- public com.sforce.soap.partner.GetUserInfoResult getUserInfo() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault;
-
- /**
- * Send outbound email
- */
- public com.sforce.soap.partner.SendEmailResult[]
sendEmail(com.sforce.soap.partner.Email[] messages) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault;
+ @WebResult(name = "result", targetNamespace =
"urn:partner.soap.sforce.com")
+ @RequestWrapper(localName = "delete", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.Delete")
+ @ResponseWrapper(localName = "deleteResponse", targetNamespace =
"urn:partner.soap.sforce.com", className =
"com.sforce.soap.partner.DeleteResponse")
+ @WebMethod
+ public java.util.List<com.sforce.soap.partner.DeleteResult> delete(
+ @WebParam(name = "ids", targetNamespace =
"urn:partner.soap.sforce.com")
+ java.util.List<java.lang.String> ids,
+ @WebParam(name = "SessionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ SessionHeader sessionHeader,
+ @WebParam(name = "CallOptions", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ CallOptions callOptions,
+ @WebParam(name = "PackageVersionHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ PackageVersionHeader packageVersionHeader,
+ @WebParam(name = "UserTerritoryDeleteHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ UserTerritoryDeleteHeader userTerritoryDeleteHeader,
+ @WebParam(name = "EmailHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ EmailHeader emailHeader,
+ @WebParam(name = "AllowFieldTruncationHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ AllowFieldTruncationHeader allowFieldTruncationHeader,
+ @WebParam(name = "DebuggingHeader", targetNamespace =
"urn:partner.soap.sforce.com", header = true)
+ DebuggingHeader debuggingHeader,
+ @WebParam(mode = WebParam.Mode.OUT, name = "DebuggingInfo",
targetNamespace = "urn:partner.soap.sforce.com", header = true)
+ javax.xml.ws.Holder<DebuggingInfo> debuggingInfo
+ ) throws UnexpectedErrorFault;
}
Deleted:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapBindingStub.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapBindingStub.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapBindingStub.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,3475 +0,0 @@
-/**
- * SoapBindingStub.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SoapBindingStub extends org.apache.axis.client.Stub implements
com.sforce.soap.partner.Soap {
- private java.util.Vector cachedSerClasses = new java.util.Vector();
- private java.util.Vector cachedSerQNames = new java.util.Vector();
- private java.util.Vector cachedSerFactories = new java.util.Vector();
- private java.util.Vector cachedDeserFactories = new java.util.Vector();
-
- static org.apache.axis.description.OperationDesc [] _operations;
-
- static {
- _operations = new org.apache.axis.description.OperationDesc[30];
- _initOperationDesc1();
- _initOperationDesc2();
- _initOperationDesc3();
- }
-
- private static void _initOperationDesc1(){
- org.apache.axis.description.OperationDesc oper;
- org.apache.axis.description.ParameterDesc param;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("login");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "username"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "password"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LoginResult"));
- oper.setReturnClass(com.sforce.soap.partner.LoginResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"LoginFault"),
- "com.sforce.soap.partner.fault.LoginFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"LoginFault"),
- true
- ));
- _operations[0] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("describeSObject");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSObjectResult"));
- oper.setReturnClass(com.sforce.soap.partner.DescribeSObjectResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[1] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("describeSObjects");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSObjectResult"));
- oper.setReturnClass(com.sforce.soap.partner.DescribeSObjectResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[2] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("describeGlobal");
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalResult"));
- oper.setReturnClass(com.sforce.soap.partner.DescribeGlobalResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[3] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("describeLayout");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"recordTypeIds"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutResult"));
- oper.setReturnClass(com.sforce.soap.partner.DescribeLayoutResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[4] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("describeSoftphoneLayout");
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutResult"));
-
oper.setReturnClass(com.sforce.soap.partner.DescribeSoftphoneLayoutResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[5] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("describeTabs");
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTabSetResult"));
- oper.setReturnClass(com.sforce.soap.partner.DescribeTabSetResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[6] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("create");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sObjects"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"), com.sforce.soap.partner.sobject.SObject[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SaveResult"));
- oper.setReturnClass(com.sforce.soap.partner.SaveResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[7] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("update");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sObjects"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"), com.sforce.soap.partner.sobject.SObject[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SaveResult"));
- oper.setReturnClass(com.sforce.soap.partner.SaveResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[8] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("upsert");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"externalIDFieldName"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sObjects"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"), com.sforce.soap.partner.sobject.SObject[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UpsertResult"));
- oper.setReturnClass(com.sforce.soap.partner.UpsertResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[9] = oper;
-
- }
-
- private static void _initOperationDesc2(){
- org.apache.axis.description.OperationDesc oper;
- org.apache.axis.description.ParameterDesc param;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("merge");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "request"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeRequest"), com.sforce.soap.partner.MergeRequest[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeResult"));
- oper.setReturnClass(com.sforce.soap.partner.MergeResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[10] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("delete");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeleteResult"));
- oper.setReturnClass(com.sforce.soap.partner.DeleteResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[11] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("undelete");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String[].class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UndeleteResult"));
- oper.setReturnClass(com.sforce.soap.partner.UndeleteResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[12] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("emptyRecycleBin");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String[].class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmptyRecycleBinResult"));
- oper.setReturnClass(com.sforce.soap.partner.EmptyRecycleBinResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[13] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("retrieve");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "fieldList"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"));
- oper.setReturnClass(com.sforce.soap.partner.sobject.SObject[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"),
- "com.sforce.soap.partner.fault.MalformedQueryFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[14] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("process");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "actions"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessRequest"), com.sforce.soap.partner.ProcessRequest[].class, false,
false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessResult"));
- oper.setReturnClass(com.sforce.soap.partner.ProcessResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[15] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("convertLead");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"leadConverts"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvert"), com.sforce.soap.partner.LeadConvert[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvertResult"));
- oper.setReturnClass(com.sforce.soap.partner.LeadConvertResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[16] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("logout");
- oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[17] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("invalidateSessions");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sessionIds"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"InvalidateSessionsResult"));
- oper.setReturnClass(com.sforce.soap.partner.InvalidateSessionsResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[18] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("getDeleted");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "startDate"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"), java.util.Calendar.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "endDate"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"), java.util.Calendar.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetDeletedResult"));
- oper.setReturnClass(com.sforce.soap.partner.GetDeletedResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[19] = oper;
-
- }
-
- private static void _initOperationDesc3(){
- org.apache.axis.description.OperationDesc oper;
- org.apache.axis.description.ParameterDesc param;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("getUpdated");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "startDate"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"), java.util.Calendar.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "endDate"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"dateTime"), java.util.Calendar.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUpdatedResult"));
- oper.setReturnClass(com.sforce.soap.partner.GetUpdatedResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[20] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("query");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryString"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- oper.setReturnClass(com.sforce.soap.partner.QueryResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"),
- "com.sforce.soap.partner.fault.MalformedQueryFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"),
-
"com.sforce.soap.partner.fault.InvalidQueryLocatorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"),
- true
- ));
- _operations[21] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("queryAll");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryString"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- oper.setReturnClass(com.sforce.soap.partner.QueryResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"),
- "com.sforce.soap.partner.fault.MalformedQueryFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"),
-
"com.sforce.soap.partner.fault.InvalidQueryLocatorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"),
- true
- ));
- _operations[22] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("queryMore");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryLocator"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryLocator"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult"));
- oper.setReturnClass(com.sforce.soap.partner.QueryResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"),
-
"com.sforce.soap.partner.fault.InvalidQueryLocatorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"),
- true
- ));
- _operations[23] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("search");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"searchString"), org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchResult"));
- oper.setReturnClass(com.sforce.soap.partner.SearchResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- "com.sforce.soap.partner.fault.InvalidSObjectFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedSearchFault"),
- "com.sforce.soap.partner.fault.MalformedSearchFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedSearchFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- "com.sforce.soap.partner.fault.InvalidFieldFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[24] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("getServerTimestamp");
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetServerTimestampResult"));
- oper.setReturnClass(com.sforce.soap.partner.GetServerTimestampResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[25] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("setPassword");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "userId"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String.class, false, false);
- oper.addParameter(param);
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "password"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"), java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SetPasswordResult"));
- oper.setReturnClass(com.sforce.soap.partner.SetPasswordResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidNewPasswordFault"),
- "com.sforce.soap.partner.fault.InvalidNewPasswordFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidNewPasswordFault"),
- true
- ));
- _operations[26] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("resetPassword");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "userId"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID"),
java.lang.String.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ResetPasswordResult"));
- oper.setReturnClass(com.sforce.soap.partner.ResetPasswordResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- "com.sforce.soap.partner.fault.InvalidIdFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"),
- true
- ));
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[27] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("getUserInfo");
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUserInfoResult"));
- oper.setReturnClass(com.sforce.soap.partner.GetUserInfoResult.class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[28] = oper;
-
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("sendEmail");
- param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "messages"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Email"),
com.sforce.soap.partner.Email[].class, false, false);
- param.setOmittable(true);
- oper.addParameter(param);
- oper.setReturnType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailResult"));
- oper.setReturnClass(com.sforce.soap.partner.SendEmailResult[].class);
- oper.setReturnQName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result"));
- oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- oper.addFault(new org.apache.axis.description.FaultDesc(
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- "com.sforce.soap.partner.fault.UnexpectedErrorFault",
- new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"),
- true
- ));
- _operations[29] = oper;
-
- }
-
- public SoapBindingStub() throws org.apache.axis.AxisFault {
- this(null);
- }
-
- public SoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
throws org.apache.axis.AxisFault {
- this(service);
- super.cachedEndpoint = endpointURL;
- }
-
- public SoapBindingStub(javax.xml.rpc.Service service) throws
org.apache.axis.AxisFault {
- if (service == null) {
- super.service = new org.apache.axis.client.Service();
- } else {
- super.service = service;
- }
-
((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
- java.lang.Class cls;
- javax.xml.namespace.QName qName;
- javax.xml.namespace.QName qName2;
- java.lang.Class beansf =
org.apache.axis.encoding.ser.BeanSerializerFactory.class;
- java.lang.Class beandf =
org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
- java.lang.Class enumsf =
org.apache.axis.encoding.ser.EnumSerializerFactory.class;
- java.lang.Class enumdf =
org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
- java.lang.Class arraysf =
org.apache.axis.encoding.ser.ArraySerializerFactory.class;
- java.lang.Class arraydf =
org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
- java.lang.Class simplesf =
org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
- java.lang.Class simpledf =
org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
- java.lang.Class simplelistsf =
org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
- java.lang.Class simplelistdf =
org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
- addBindings0();
- addBindings1();
- }
-
- private void addBindings0() {
- java.lang.Class cls;
- javax.xml.namespace.QName qName;
- javax.xml.namespace.QName qName2;
- java.lang.Class beansf =
org.apache.axis.encoding.ser.BeanSerializerFactory.class;
- java.lang.Class beandf =
org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
- java.lang.Class enumsf =
org.apache.axis.encoding.ser.EnumSerializerFactory.class;
- java.lang.Class enumdf =
org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
- java.lang.Class arraysf =
org.apache.axis.encoding.ser.ArraySerializerFactory.class;
- java.lang.Class arraydf =
org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
- java.lang.Class simplesf =
org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
- java.lang.Class simpledf =
org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
- java.lang.Class simplelistsf =
org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
- java.lang.Class simplelistdf =
org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ApiFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.ApiFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ApiQueryFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.ApiQueryFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ExceptionCode");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.ExceptionCode.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"FaultCode");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.FaultCode.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.InvalidFieldFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.InvalidIdFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidNewPasswordFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.InvalidNewPasswordFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.InvalidQueryLocatorFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.InvalidSObjectFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"LoginFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.LoginFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.MalformedQueryFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedSearchFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.MalformedSearchFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.fault.UnexpectedErrorFault.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">AllowFieldTruncationHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.AllowFieldTruncationHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">AssignmentRuleHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.AssignmentRuleHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">CallOptions");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.CallOptions.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">convertLead");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LeadConvert[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvert");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"leadConverts");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">convertLeadResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LeadConvertResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvertResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">create");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.sobject.SObject[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sObjects");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">createResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SaveResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SaveResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">DebuggingHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DebuggingHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">DebuggingInfo");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DebuggingInfo.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">delete");
- cachedSerQNames.add(qName);
- cls = java.lang.String[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">deleteResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DeleteResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeleteResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeGlobal");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeGlobal.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeGlobalResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeGlobalResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeLayout");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutType0.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeLayoutResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSObject");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSObject.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSObjectResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSObjectResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSObjects");
- cachedSerQNames.add(qName);
- cls = java.lang.String[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjectType");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSObjectsResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSObjectResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSObjectResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSoftphoneLayout");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayout.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeSoftphoneLayoutResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayoutResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeTabs");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeTabs.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">describeTabsResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeTabSetResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTabSetResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">EmailHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.EmailHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">emptyRecycleBin");
- cachedSerQNames.add(qName);
- cls = java.lang.String[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">emptyRecycleBinResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.EmptyRecycleBinResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmptyRecycleBinResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getDeleted");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetDeleted.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getDeletedResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetDeletedResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getServerTimestamp");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetServerTimestamp.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getServerTimestampResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetServerTimestampResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUpdated");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetUpdated.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUpdatedResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetUpdatedResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUserInfo");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetUserInfo.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">getUserInfoResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetUserInfoResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">invalidateSessions");
- cachedSerQNames.add(qName);
- cls = java.lang.String[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sessionIds");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">invalidateSessionsResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.InvalidateSessionsResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"InvalidateSessionsResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">LocaleOptions");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LocaleOptions.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">login");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Login.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">loginResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LoginResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">LoginScopeHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LoginScopeHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">logout");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Logout.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">logoutResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LogoutResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">merge");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.MergeRequest[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeRequest");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "request");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">mergeResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.MergeResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">MruHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.MruHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">PackageVersionHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.PackageVersion[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PackageVersion");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"packageVersions");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">process");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ProcessRequest[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessRequest");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "actions");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">processResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ProcessResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">query");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Query.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryAll");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryAll.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryAllResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryAllResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryMore");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryMore.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryMoreResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryMoreResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">QueryOptions");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryOptions.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">queryResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">resetPassword");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ResetPassword.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">resetPasswordResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ResetPasswordResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">retrieve");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Retrieve.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">retrieveResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.sobject.SObject[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">search");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Search.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">searchResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SearchResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">sendEmail");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Email[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Email");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "messages");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">sendEmailResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SendEmailResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">SessionHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SessionHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">setPassword");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SetPassword.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">setPasswordResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SetPasswordResponse.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">undelete");
- cachedSerQNames.add(qName);
- cls = java.lang.String[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ids");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">undeleteResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.UndeleteResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UndeleteResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">update");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.sobject.SObject[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "sObjects");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">updateResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SaveResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SaveResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">upsert");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Upsert.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">upsertResponse");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.UpsertResult[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UpsertResult");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "result");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">UserTerritoryDeleteHeader");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.UserTerritoryDeleteHeader.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ChildRelationship");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ChildRelationship.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DebugLevel");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DebugLevel.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeletedRecord");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DeletedRecord.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DeleteResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DeleteResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeGlobalResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeGlobalSObjectResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeGlobalSObjectResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayout");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayout.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutButton");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutButton.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutButtonSection");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutButton[].class;
- cachedSerClasses.add(cls);
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutButton");
- qName2 = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"detailButtons");
- cachedSerFactories.add(new
org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
- cachedDeserFactories.add(new
org.apache.axis.encoding.ser.ArrayDeserializerFactory());
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutComponent");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutComponent.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutItem");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutItem.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutRow");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutRow.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeLayoutSection");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeLayoutSection.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- }
- private void addBindings1() {
- java.lang.Class cls;
- javax.xml.namespace.QName qName;
- javax.xml.namespace.QName qName2;
- java.lang.Class beansf =
org.apache.axis.encoding.ser.BeanSerializerFactory.class;
- java.lang.Class beandf =
org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
- java.lang.Class enumsf =
org.apache.axis.encoding.ser.EnumSerializerFactory.class;
- java.lang.Class enumdf =
org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
- java.lang.Class arraysf =
org.apache.axis.encoding.ser.ArraySerializerFactory.class;
- java.lang.Class arraydf =
org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
- java.lang.Class simplesf =
org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
- java.lang.Class simpledf =
org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
- java.lang.Class simplelistsf =
org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
- java.lang.Class simplelistdf =
org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSObjectResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSObjectResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutCallType");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayoutCallType.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutInfoField");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayoutInfoField.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutItem");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayoutItem.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayoutResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeSoftphoneLayoutSection");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeSoftphoneLayoutSection.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTab");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeTab.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"DescribeTabSetResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.DescribeTabSetResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Email");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Email.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmailFileAttachment");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.EmailFileAttachment.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmailPriority");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.EmailPriority.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"EmptyRecycleBinResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.EmptyRecycleBinResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Error.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Field");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.Field.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"fieldType");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.FieldType.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetDeletedResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetDeletedResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetServerTimestampResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetServerTimestampResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUpdatedResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetUpdatedResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"GetUserInfoResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.GetUserInfoResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "ID");
- cachedSerQNames.add(qName);
- cls = java.lang.String.class;
- cachedSerClasses.add(cls);
-
cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class,
cls, qName));
-
cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class,
cls, qName));
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"InvalidateSessionsResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.InvalidateSessionsResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"layoutComponentType");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LayoutComponentType.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvert");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LeadConvert.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LeadConvertResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LeadConvertResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"LoginResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.LoginResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MassEmailMessage");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.MassEmailMessage.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeRequest");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.MergeRequest.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"MergeResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.MergeResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PackageVersion");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.PackageVersion.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistEntry");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.PicklistEntry.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"PicklistForRecordType");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.PicklistForRecordType.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessRequest");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ProcessRequest.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ProcessResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessSubmitRequest");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ProcessSubmitRequest.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ProcessWorkitemRequest");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ProcessWorkitemRequest.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryLocator");
- cachedSerQNames.add(qName);
- cls = java.lang.String.class;
- cachedSerClasses.add(cls);
-
cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class,
cls, qName));
-
cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class,
cls, qName));
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"QueryResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.QueryResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RecordTypeInfo");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.RecordTypeInfo.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RecordTypeMapping");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.RecordTypeMapping.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedList");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.RelatedList.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedListColumn");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.RelatedListColumn.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"RelatedListSort");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.RelatedListSort.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"ResetPasswordResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.ResetPasswordResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SaveResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SaveResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchRecord");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SearchRecord.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SearchResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SearchResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailError");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SendEmailError.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SendEmailResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SendEmailResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SetPasswordResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SetPasswordResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"SingleEmailMessage");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SingleEmailMessage.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "soapType");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.SoapType.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"StatusCode");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.StatusCode.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(enumsf);
- cachedDeserFactories.add(enumdf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UndeleteResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.UndeleteResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UpsertResult");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.UpsertResult.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- qName = new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject");
- cachedSerQNames.add(qName);
- cls = com.sforce.soap.partner.sobject.SObject.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- }
-
- protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
- try {
- org.apache.axis.client.Call _call = super._createCall();
- if (super.maintainSessionSet) {
- _call.setMaintainSession(super.maintainSession);
- }
- if (super.cachedUsername != null) {
- _call.setUsername(super.cachedUsername);
- }
- if (super.cachedPassword != null) {
- _call.setPassword(super.cachedPassword);
- }
- if (super.cachedEndpoint != null) {
- _call.setTargetEndpointAddress(super.cachedEndpoint);
- }
- if (super.cachedTimeout != null) {
- _call.setTimeout(super.cachedTimeout);
- }
- if (super.cachedPortName != null) {
- _call.setPortName(super.cachedPortName);
- }
- java.util.Enumeration keys = super.cachedProperties.keys();
- while (keys.hasMoreElements()) {
- java.lang.String key = (java.lang.String) keys.nextElement();
- _call.setProperty(key, super.cachedProperties.get(key));
- }
- // All the type mapping information is registered
- // when the first call is made.
- // The type mapping information is actually registered in
- // the TypeMappingRegistry of the service, which
- // is the reason why registration is only needed for the first call.
- synchronized (this) {
- if (firstCall()) {
- // must set encoding style before registering serializers
- _call.setEncodingStyle(null);
- for (int i = 0; i < cachedSerFactories.size(); ++i) {
- java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
- javax.xml.namespace.QName qName =
- (javax.xml.namespace.QName) cachedSerQNames.get(i);
- java.lang.Object x = cachedSerFactories.get(i);
- if (x instanceof Class) {
- java.lang.Class sf = (java.lang.Class)
- cachedSerFactories.get(i);
- java.lang.Class df = (java.lang.Class)
- cachedDeserFactories.get(i);
- _call.registerTypeMapping(cls, qName, sf, df, false);
- }
- else if (x instanceof javax.xml.rpc.encoding.SerializerFactory)
{
- org.apache.axis.encoding.SerializerFactory sf =
(org.apache.axis.encoding.SerializerFactory)
- cachedSerFactories.get(i);
- org.apache.axis.encoding.DeserializerFactory df =
(org.apache.axis.encoding.DeserializerFactory)
- cachedDeserFactories.get(i);
- _call.registerTypeMapping(cls, qName, sf, df, false);
- }
- }
- }
- }
- return _call;
- }
- catch (java.lang.Throwable _t) {
- throw new org.apache.axis.AxisFault("Failure trying to get the Call
object", _t);
- }
- }
-
- public com.sforce.soap.partner.LoginResult login(java.lang.String username,
java.lang.String password) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.LoginFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[0]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "login"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {username,
password});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.LoginResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.LoginResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.LoginResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.LoginFault) {
- throw (com.sforce.soap.partner.fault.LoginFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DescribeSObjectResult describeSObject(java.lang.String
sObjectType) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[1]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"describeSObject"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{sObjectType});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DescribeSObjectResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DescribeSObjectResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DescribeSObjectResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DescribeSObjectResult[]
describeSObjects(java.lang.String[] sObjectType) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[2]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"describeSObjects"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{sObjectType});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DescribeSObjectResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DescribeSObjectResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DescribeSObjectResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DescribeGlobalResult describeGlobal() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[3]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"describeGlobal"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DescribeGlobalResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DescribeGlobalResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DescribeGlobalResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DescribeLayoutResult describeLayout(java.lang.String
sObjectType, java.lang.String[] recordTypeIds) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[4]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"describeLayout"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sObjectType,
recordTypeIds});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DescribeLayoutResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DescribeLayoutResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DescribeLayoutResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DescribeSoftphoneLayoutResult
describeSoftphoneLayout() throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[5]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"describeSoftphoneLayout"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DescribeSoftphoneLayoutResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DescribeSoftphoneLayoutResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DescribeSoftphoneLayoutResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DescribeTabSetResult[] describeTabs() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[6]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"describeTabs"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DescribeTabSetResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DescribeTabSetResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DescribeTabSetResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.SaveResult[]
create(com.sforce.soap.partner.sobject.SObject[] sObjects) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[7]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "create"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sObjects});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.SaveResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.SaveResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.SaveResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.SaveResult[]
update(com.sforce.soap.partner.sobject.SObject[] sObjects) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[8]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "update"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sObjects});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.SaveResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.SaveResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.SaveResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.UpsertResult[] upsert(java.lang.String
externalIDFieldName, com.sforce.soap.partner.sobject.SObject[] sObjects) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[9]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "upsert"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{externalIDFieldName, sObjects});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.UpsertResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.UpsertResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.UpsertResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.MergeResult[]
merge(com.sforce.soap.partner.MergeRequest[] request) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[10]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "merge"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {request});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.MergeResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.MergeResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.MergeResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.DeleteResult[] delete(java.lang.String[] ids) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[11]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "delete"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {ids});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.DeleteResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.DeleteResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.DeleteResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.UndeleteResult[] undelete(java.lang.String[] ids)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[12]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"undelete"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {ids});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.UndeleteResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.UndeleteResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.UndeleteResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.EmptyRecycleBinResult[]
emptyRecycleBin(java.lang.String[] ids) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[13]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"emptyRecycleBin"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {ids});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.EmptyRecycleBinResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.EmptyRecycleBinResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.EmptyRecycleBinResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.sobject.SObject[] retrieve(java.lang.String fieldList,
java.lang.String sObjectType, java.lang.String[] ids) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedQueryFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[14]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"retrieve"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {fieldList,
sObjectType, ids});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.sobject.SObject[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.sobject.SObject[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.sobject.SObject[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.MalformedQueryFault) {
- throw (com.sforce.soap.partner.fault.MalformedQueryFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.ProcessResult[]
process(com.sforce.soap.partner.ProcessRequest[] actions) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[15]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "process"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {actions});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.ProcessResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.ProcessResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.ProcessResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.LeadConvertResult[]
convertLead(com.sforce.soap.partner.LeadConvert[] leadConverts) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[16]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"convertLead"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{leadConverts});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.LeadConvertResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.LeadConvertResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.LeadConvertResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public void logout() throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[17]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "logout"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- extractAttachments(_call);
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.InvalidateSessionsResult[]
invalidateSessions(java.lang.String[] sessionIds) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[18]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"invalidateSessions"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{sessionIds});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.InvalidateSessionsResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.InvalidateSessionsResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.InvalidateSessionsResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.GetDeletedResult getDeleted(java.lang.String
sObjectType, java.util.Calendar startDate, java.util.Calendar endDate) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[19]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"getDeleted"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sObjectType,
startDate, endDate});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.GetDeletedResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.GetDeletedResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.GetDeletedResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.GetUpdatedResult getUpdated(java.lang.String
sObjectType, java.util.Calendar startDate, java.util.Calendar endDate) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[20]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"getUpdated"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {sObjectType,
startDate, endDate});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.GetUpdatedResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.GetUpdatedResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.GetUpdatedResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.QueryResult query(java.lang.String queryString) throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedQueryFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[21]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "query"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{queryString});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.QueryResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.QueryResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.QueryResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.MalformedQueryFault) {
- throw (com.sforce.soap.partner.fault.MalformedQueryFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidQueryLocatorFault) {
- throw (com.sforce.soap.partner.fault.InvalidQueryLocatorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.QueryResult queryAll(java.lang.String queryString)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedQueryFault,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[22]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryAll"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{queryString});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.QueryResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.QueryResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.QueryResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.MalformedQueryFault) {
- throw (com.sforce.soap.partner.fault.MalformedQueryFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidQueryLocatorFault) {
- throw (com.sforce.soap.partner.fault.InvalidQueryLocatorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.QueryResult queryMore(java.lang.String queryLocator)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidQueryLocatorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[23]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"queryMore"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{queryLocator});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.QueryResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.QueryResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.QueryResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidQueryLocatorFault) {
- throw (com.sforce.soap.partner.fault.InvalidQueryLocatorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.SearchResult search(java.lang.String searchString)
throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidSObjectFault,
com.sforce.soap.partner.fault.MalformedSearchFault,
com.sforce.soap.partner.fault.InvalidFieldFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[24]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "search"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]
{searchString});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.SearchResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.SearchResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.SearchResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidSObjectFault) {
- throw (com.sforce.soap.partner.fault.InvalidSObjectFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.MalformedSearchFault) {
- throw (com.sforce.soap.partner.fault.MalformedSearchFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidFieldFault) {
- throw (com.sforce.soap.partner.fault.InvalidFieldFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.GetServerTimestampResult getServerTimestamp() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[25]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"getServerTimestamp"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.GetServerTimestampResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.GetServerTimestampResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.GetServerTimestampResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.SetPasswordResult setPassword(java.lang.String userId,
java.lang.String password) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault,
com.sforce.soap.partner.fault.InvalidNewPasswordFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[26]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"setPassword"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {userId,
password});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.SetPasswordResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.SetPasswordResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.SetPasswordResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidNewPasswordFault) {
- throw (com.sforce.soap.partner.fault.InvalidNewPasswordFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.ResetPasswordResult resetPassword(java.lang.String
userId) throws java.rmi.RemoteException, com.sforce.soap.partner.fault.InvalidIdFault,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[27]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"resetPassword"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {userId});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.ResetPasswordResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.ResetPasswordResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.ResetPasswordResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.InvalidIdFault) {
- throw (com.sforce.soap.partner.fault.InvalidIdFault)
axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.GetUserInfoResult getUserInfo() throws
java.rmi.RemoteException, com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[28]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"getUserInfo"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.GetUserInfoResult) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.GetUserInfoResult)
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.GetUserInfoResult.class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
- public com.sforce.soap.partner.SendEmailResult[]
sendEmail(com.sforce.soap.partner.Email[] messages) throws java.rmi.RemoteException,
com.sforce.soap.partner.fault.UnexpectedErrorFault {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[29]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sendEmail"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {messages});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- else {
- extractAttachments(_call);
- try {
- return (com.sforce.soap.partner.SendEmailResult[]) _resp;
- } catch (java.lang.Exception _exception) {
- return (com.sforce.soap.partner.SendEmailResult[])
org.apache.axis.utils.JavaUtils.convert(_resp,
com.sforce.soap.partner.SendEmailResult[].class);
- }
- }
- } catch (org.apache.axis.AxisFault axisFaultException) {
- if (axisFaultException.detail != null) {
- if (axisFaultException.detail instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException) axisFaultException.detail;
- }
- if (axisFaultException.detail instanceof
com.sforce.soap.partner.fault.UnexpectedErrorFault) {
- throw (com.sforce.soap.partner.fault.UnexpectedErrorFault)
axisFaultException.detail;
- }
- }
- throw axisFaultException;
-}
- }
-
-}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapType.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapType.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/SoapType.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,86 +1,75 @@
-/**
- * SoapType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class SoapType implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected SoapType(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final java.lang.String _value1 = "tns:ID";
- public static final java.lang.String _value2 = "xsd:base64Binary";
- public static final java.lang.String _value3 = "xsd:boolean";
- public static final java.lang.String _value4 = "xsd:double";
- public static final java.lang.String _value5 = "xsd:int";
- public static final java.lang.String _value6 = "xsd:string";
- public static final java.lang.String _value7 = "xsd:date";
- public static final java.lang.String _value8 = "xsd:dateTime";
- public static final java.lang.String _value9 = "xsd:time";
- public static final java.lang.String _value10 = "xsd:anyType";
- public static final SoapType value1 = new SoapType(_value1);
- public static final SoapType value2 = new SoapType(_value2);
- public static final SoapType value3 = new SoapType(_value3);
- public static final SoapType value4 = new SoapType(_value4);
- public static final SoapType value5 = new SoapType(_value5);
- public static final SoapType value6 = new SoapType(_value6);
- public static final SoapType value7 = new SoapType(_value7);
- public static final SoapType value8 = new SoapType(_value8);
- public static final SoapType value9 = new SoapType(_value9);
- public static final SoapType value10 = new SoapType(_value10);
- public java.lang.String getValue() { return _value_;}
- public static SoapType fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- SoapType enumeration = (SoapType)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static SoapType fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SoapType.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"soapType"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for soapType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="soapType">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="tns:ID"/>
+ * <enumeration value="xsd:base64Binary"/>
+ * <enumeration value="xsd:boolean"/>
+ * <enumeration value="xsd:double"/>
+ * <enumeration value="xsd:int"/>
+ * <enumeration value="xsd:string"/>
+ * <enumeration value="xsd:date"/>
+ * <enumeration value="xsd:dateTime"/>
+ * <enumeration value="xsd:time"/>
+ * <enumeration value="xsd:anyType"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "soapType")
+@XmlEnum
+public enum SoapType {
+
+ @XmlEnumValue("tns:ID")
+ TNS_ID("tns:ID"),
+ @XmlEnumValue("xsd:base64Binary")
+ XSD_BASE_64_BINARY("xsd:base64Binary"),
+ @XmlEnumValue("xsd:boolean")
+ XSD_BOOLEAN("xsd:boolean"),
+ @XmlEnumValue("xsd:double")
+ XSD_DOUBLE("xsd:double"),
+ @XmlEnumValue("xsd:int")
+ XSD_INT("xsd:int"),
+ @XmlEnumValue("xsd:string")
+ XSD_STRING("xsd:string"),
+ @XmlEnumValue("xsd:date")
+ XSD_DATE("xsd:date"),
+ @XmlEnumValue("xsd:dateTime")
+ XSD_DATE_TIME("xsd:dateTime"),
+ @XmlEnumValue("xsd:time")
+ XSD_TIME("xsd:time"),
+ @XmlEnumValue("xsd:anyType")
+ XSD_ANY_TYPE("xsd:anyType");
+ private final String value;
+
+ SoapType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static SoapType fromValue(String v) {
+ for (SoapType c: SoapType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/StatusCode.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/StatusCode.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/StatusCode.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,374 +1,342 @@
-/**
- * StatusCode.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
package com.sforce.soap.partner;
-public class StatusCode implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
- // Constructor
- protected StatusCode(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
- public static final java.lang.String _ALREADY_IN_PROCESS =
"ALREADY_IN_PROCESS";
- public static final java.lang.String _ASSIGNEE_TYPE_REQUIRED =
"ASSIGNEE_TYPE_REQUIRED";
- public static final java.lang.String _BAD_CUSTOM_ENTITY_PARENT_DOMAIN =
"BAD_CUSTOM_ENTITY_PARENT_DOMAIN";
- public static final java.lang.String _BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED =
"BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED";
- public static final java.lang.String _CANNOT_CASCADE_PRODUCT_ACTIVE =
"CANNOT_CASCADE_PRODUCT_ACTIVE";
- public static final java.lang.String
_CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD =
"CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD";
- public static final java.lang.String _CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE =
"CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE";
- public static final java.lang.String _CANNOT_DEACTIVATE_DIVISION =
"CANNOT_DEACTIVATE_DIVISION";
- public static final java.lang.String _CANNOT_DELETE_LAST_DATED_CONVERSION_RATE =
"CANNOT_DELETE_LAST_DATED_CONVERSION_RATE";
- public static final java.lang.String _CANNOT_DELETE_MANAGED_OBJECT =
"CANNOT_DELETE_MANAGED_OBJECT";
- public static final java.lang.String _CANNOT_DISABLE_LAST_ADMIN =
"CANNOT_DISABLE_LAST_ADMIN";
- public static final java.lang.String _CANNOT_ENABLE_IP_RESTRICT_REQUESTS =
"CANNOT_ENABLE_IP_RESTRICT_REQUESTS";
- public static final java.lang.String _CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY =
"CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY";
- public static final java.lang.String _CANNOT_MODIFY_MANAGED_OBJECT =
"CANNOT_MODIFY_MANAGED_OBJECT";
- public static final java.lang.String _CANNOT_RENAME_APEX_REFERENCED_FIELD =
"CANNOT_RENAME_APEX_REFERENCED_FIELD";
- public static final java.lang.String _CANNOT_RENAME_APEX_REFERENCED_OBJECT =
"CANNOT_RENAME_APEX_REFERENCED_OBJECT";
- public static final java.lang.String _CANNOT_REPARENT_RECORD =
"CANNOT_REPARENT_RECORD";
- public static final java.lang.String _CANNOT_UPDATE_CONVERTED_LEAD =
"CANNOT_UPDATE_CONVERTED_LEAD";
- public static final java.lang.String _CANT_DISABLE_CORP_CURRENCY =
"CANT_DISABLE_CORP_CURRENCY";
- public static final java.lang.String _CANT_UNSET_CORP_CURRENCY =
"CANT_UNSET_CORP_CURRENCY";
- public static final java.lang.String _CHILD_SHARE_FAILS_PARENT =
"CHILD_SHARE_FAILS_PARENT";
- public static final java.lang.String _CIRCULAR_DEPENDENCY =
"CIRCULAR_DEPENDENCY";
- public static final java.lang.String _COMMUNITY_NOT_ACCESSIBLE =
"COMMUNITY_NOT_ACCESSIBLE";
- public static final java.lang.String _CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED =
"CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED";
- public static final java.lang.String _CUSTOM_ENTITY_OR_FIELD_LIMIT =
"CUSTOM_ENTITY_OR_FIELD_LIMIT";
- public static final java.lang.String _CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED =
"CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED";
- public static final java.lang.String _CUSTOM_INDEX_EXISTS =
"CUSTOM_INDEX_EXISTS";
- public static final java.lang.String _CUSTOM_LINK_LIMIT_EXCEEDED =
"CUSTOM_LINK_LIMIT_EXCEEDED";
- public static final java.lang.String _CUSTOM_TAB_LIMIT_EXCEEDED =
"CUSTOM_TAB_LIMIT_EXCEEDED";
- public static final java.lang.String _DELETE_FAILED = "DELETE_FAILED";
- public static final java.lang.String _DELETE_REQUIRED_ON_CASCADE =
"DELETE_REQUIRED_ON_CASCADE";
- public static final java.lang.String _DEPENDENCY_EXISTS =
"DEPENDENCY_EXISTS";
- public static final java.lang.String _DUPLICATE_CASE_SOLUTION =
"DUPLICATE_CASE_SOLUTION";
- public static final java.lang.String _DUPLICATE_COMM_NICKNAME =
"DUPLICATE_COMM_NICKNAME";
- public static final java.lang.String _DUPLICATE_CUSTOM_ENTITY_DEFINITION =
"DUPLICATE_CUSTOM_ENTITY_DEFINITION";
- public static final java.lang.String _DUPLICATE_CUSTOM_TAB_MOTIF =
"DUPLICATE_CUSTOM_TAB_MOTIF";
- public static final java.lang.String _DUPLICATE_DEVELOPER_NAME =
"DUPLICATE_DEVELOPER_NAME";
- public static final java.lang.String _DUPLICATE_EXTERNAL_ID =
"DUPLICATE_EXTERNAL_ID";
- public static final java.lang.String _DUPLICATE_MASTER_LABEL =
"DUPLICATE_MASTER_LABEL";
- public static final java.lang.String _DUPLICATE_SENDER_DISPLAY_NAME =
"DUPLICATE_SENDER_DISPLAY_NAME";
- public static final java.lang.String _DUPLICATE_USERNAME =
"DUPLICATE_USERNAME";
- public static final java.lang.String _DUPLICATE_VALUE = "DUPLICATE_VALUE";
- public static final java.lang.String _EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR =
"EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR";
- public static final java.lang.String _EMPTY_SCONTROL_FILE_NAME =
"EMPTY_SCONTROL_FILE_NAME";
- public static final java.lang.String _ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE =
"ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE";
- public static final java.lang.String _ENTITY_IS_ARCHIVED =
"ENTITY_IS_ARCHIVED";
- public static final java.lang.String _ENTITY_IS_DELETED =
"ENTITY_IS_DELETED";
- public static final java.lang.String _ENTITY_IS_LOCKED =
"ENTITY_IS_LOCKED";
- public static final java.lang.String _ERROR_IN_MAILER = "ERROR_IN_MAILER";
- public static final java.lang.String _FAILED_ACTIVATION =
"FAILED_ACTIVATION";
- public static final java.lang.String _FIELD_CUSTOM_VALIDATION_EXCEPTION =
"FIELD_CUSTOM_VALIDATION_EXCEPTION";
- public static final java.lang.String _FIELD_INTEGRITY_EXCEPTION =
"FIELD_INTEGRITY_EXCEPTION";
- public static final java.lang.String _FILTERED_LOOKUP_LIMIT_EXCEEDED =
"FILTERED_LOOKUP_LIMIT_EXCEEDED";
- public static final java.lang.String _HTML_FILE_UPLOAD_NOT_ALLOWED =
"HTML_FILE_UPLOAD_NOT_ALLOWED";
- public static final java.lang.String _IMAGE_TOO_LARGE = "IMAGE_TOO_LARGE";
- public static final java.lang.String _INACTIVE_OWNER_OR_USER =
"INACTIVE_OWNER_OR_USER";
- public static final java.lang.String _INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY =
"INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY";
- public static final java.lang.String _INSUFFICIENT_ACCESS_OR_READONLY =
"INSUFFICIENT_ACCESS_OR_READONLY";
- public static final java.lang.String _INVALID_ACCESS_LEVEL =
"INVALID_ACCESS_LEVEL";
- public static final java.lang.String _INVALID_ARGUMENT_TYPE =
"INVALID_ARGUMENT_TYPE";
- public static final java.lang.String _INVALID_ASSIGNEE_TYPE =
"INVALID_ASSIGNEE_TYPE";
- public static final java.lang.String _INVALID_ASSIGNMENT_RULE =
"INVALID_ASSIGNMENT_RULE";
- public static final java.lang.String _INVALID_BATCH_OPERATION =
"INVALID_BATCH_OPERATION";
- public static final java.lang.String _INVALID_CONTENT_TYPE =
"INVALID_CONTENT_TYPE";
- public static final java.lang.String _INVALID_CREDIT_CARD_INFO =
"INVALID_CREDIT_CARD_INFO";
- public static final java.lang.String _INVALID_CROSS_REFERENCE_KEY =
"INVALID_CROSS_REFERENCE_KEY";
- public static final java.lang.String _INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD =
"INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD";
- public static final java.lang.String _INVALID_CURRENCY_CONV_RATE =
"INVALID_CURRENCY_CONV_RATE";
- public static final java.lang.String _INVALID_CURRENCY_CORP_RATE =
"INVALID_CURRENCY_CORP_RATE";
- public static final java.lang.String _INVALID_CURRENCY_ISO =
"INVALID_CURRENCY_ISO";
- public static final java.lang.String _INVALID_EMAIL_ADDRESS =
"INVALID_EMAIL_ADDRESS";
- public static final java.lang.String _INVALID_EMPTY_KEY_OWNER =
"INVALID_EMPTY_KEY_OWNER";
- public static final java.lang.String _INVALID_FIELD = "INVALID_FIELD";
- public static final java.lang.String _INVALID_FIELD_FOR_INSERT_UPDATE =
"INVALID_FIELD_FOR_INSERT_UPDATE";
- public static final java.lang.String _INVALID_FIELD_WHEN_USING_TEMPLATE =
"INVALID_FIELD_WHEN_USING_TEMPLATE";
- public static final java.lang.String _INVALID_FILTER_ACTION =
"INVALID_FILTER_ACTION";
- public static final java.lang.String _INVALID_GOOGLE_DOCS_URL =
"INVALID_GOOGLE_DOCS_URL";
- public static final java.lang.String _INVALID_ID_FIELD =
"INVALID_ID_FIELD";
- public static final java.lang.String _INVALID_INET_ADDRESS =
"INVALID_INET_ADDRESS";
- public static final java.lang.String _INVALID_LINEITEM_CLONE_STATE =
"INVALID_LINEITEM_CLONE_STATE";
- public static final java.lang.String _INVALID_MASTER_OR_TRANSLATED_SOLUTION =
"INVALID_MASTER_OR_TRANSLATED_SOLUTION";
- public static final java.lang.String _INVALID_MESSAGE_ID_REFERENCE =
"INVALID_MESSAGE_ID_REFERENCE";
- public static final java.lang.String _INVALID_OPERATION =
"INVALID_OPERATION";
- public static final java.lang.String _INVALID_OPERATOR =
"INVALID_OPERATOR";
- public static final java.lang.String _INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST =
"INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST";
- public static final java.lang.String _INVALID_PARTNER_NETWORK_STATUS =
"INVALID_PARTNER_NETWORK_STATUS";
- public static final java.lang.String _INVALID_PERSON_ACCOUNT_OPERATION =
"INVALID_PERSON_ACCOUNT_OPERATION";
- public static final java.lang.String _INVALID_SAVE_AS_ACTIVITY_FLAG =
"INVALID_SAVE_AS_ACTIVITY_FLAG";
- public static final java.lang.String _INVALID_SESSION_ID =
"INVALID_SESSION_ID";
- public static final java.lang.String _INVALID_SETUP_OWNER =
"INVALID_SETUP_OWNER";
- public static final java.lang.String _INVALID_STATUS = "INVALID_STATUS";
- public static final java.lang.String _INVALID_TYPE = "INVALID_TYPE";
- public static final java.lang.String _INVALID_TYPE_FOR_OPERATION =
"INVALID_TYPE_FOR_OPERATION";
- public static final java.lang.String _INVALID_TYPE_ON_FIELD_IN_RECORD =
"INVALID_TYPE_ON_FIELD_IN_RECORD";
- public static final java.lang.String _IP_RANGE_LIMIT_EXCEEDED =
"IP_RANGE_LIMIT_EXCEEDED";
- public static final java.lang.String _LICENSE_LIMIT_EXCEEDED =
"LICENSE_LIMIT_EXCEEDED";
- public static final java.lang.String _LIGHT_PORTAL_USER_EXCEPTION =
"LIGHT_PORTAL_USER_EXCEPTION";
- public static final java.lang.String _LIMIT_EXCEEDED = "LIMIT_EXCEEDED";
- public static final java.lang.String _MALFORMED_ID = "MALFORMED_ID";
- public static final java.lang.String _MANAGER_NOT_DEFINED =
"MANAGER_NOT_DEFINED";
- public static final java.lang.String _MASSMAIL_RETRY_LIMIT_EXCEEDED =
"MASSMAIL_RETRY_LIMIT_EXCEEDED";
- public static final java.lang.String _MASS_MAIL_LIMIT_EXCEEDED =
"MASS_MAIL_LIMIT_EXCEEDED";
- public static final java.lang.String _MAXIMUM_CCEMAILS_EXCEEDED =
"MAXIMUM_CCEMAILS_EXCEEDED";
- public static final java.lang.String _MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED =
"MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED";
- public static final java.lang.String _MAXIMUM_HIERARCHY_LEVELS_REACHED =
"MAXIMUM_HIERARCHY_LEVELS_REACHED";
- public static final java.lang.String _MAXIMUM_SIZE_OF_ATTACHMENT =
"MAXIMUM_SIZE_OF_ATTACHMENT";
- public static final java.lang.String _MAXIMUM_SIZE_OF_DOCUMENT =
"MAXIMUM_SIZE_OF_DOCUMENT";
- public static final java.lang.String _MAX_ACTIONS_PER_RULE_EXCEEDED =
"MAX_ACTIONS_PER_RULE_EXCEEDED";
- public static final java.lang.String _MAX_ACTIVE_RULES_EXCEEDED =
"MAX_ACTIVE_RULES_EXCEEDED";
- public static final java.lang.String _MAX_APPROVAL_STEPS_EXCEEDED =
"MAX_APPROVAL_STEPS_EXCEEDED";
- public static final java.lang.String _MAX_FORMULAS_PER_RULE_EXCEEDED =
"MAX_FORMULAS_PER_RULE_EXCEEDED";
- public static final java.lang.String _MAX_RULES_EXCEEDED =
"MAX_RULES_EXCEEDED";
- public static final java.lang.String _MAX_RULE_ENTRIES_EXCEEDED =
"MAX_RULE_ENTRIES_EXCEEDED";
- public static final java.lang.String _MAX_TASK_DESCRIPTION_EXCEEEDED =
"MAX_TASK_DESCRIPTION_EXCEEEDED";
- public static final java.lang.String _MAX_TM_RULES_EXCEEDED =
"MAX_TM_RULES_EXCEEDED";
- public static final java.lang.String _MAX_TM_RULE_ITEMS_EXCEEDED =
"MAX_TM_RULE_ITEMS_EXCEEDED";
- public static final java.lang.String _MERGE_FAILED = "MERGE_FAILED";
- public static final java.lang.String _MISSING_ARGUMENT =
"MISSING_ARGUMENT";
- public static final java.lang.String _MIXED_DML_OPERATION =
"MIXED_DML_OPERATION";
- public static final java.lang.String _NONUNIQUE_SHIPPING_ADDRESS =
"NONUNIQUE_SHIPPING_ADDRESS";
- public static final java.lang.String _NO_APPLICABLE_PROCESS =
"NO_APPLICABLE_PROCESS";
- public static final java.lang.String _NO_ATTACHMENT_PERMISSION =
"NO_ATTACHMENT_PERMISSION";
- public static final java.lang.String _NO_INACTIVE_DIVISION_MEMBERS =
"NO_INACTIVE_DIVISION_MEMBERS";
- public static final java.lang.String _NO_MASS_MAIL_PERMISSION =
"NO_MASS_MAIL_PERMISSION";
- public static final java.lang.String _NUMBER_OUTSIDE_VALID_RANGE =
"NUMBER_OUTSIDE_VALID_RANGE";
- public static final java.lang.String _NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED =
"NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED";
- public static final java.lang.String _OPTED_OUT_OF_MASS_MAIL =
"OPTED_OUT_OF_MASS_MAIL";
- public static final java.lang.String _PACKAGE_LICENSE_REQUIRED =
"PACKAGE_LICENSE_REQUIRED";
- public static final java.lang.String _PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT =
"PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT";
- public static final java.lang.String _PRIVATE_CONTACT_ON_ASSET =
"PRIVATE_CONTACT_ON_ASSET";
- public static final java.lang.String _RECORD_IN_USE_BY_WORKFLOW =
"RECORD_IN_USE_BY_WORKFLOW";
- public static final java.lang.String _REQUEST_RUNNING_TOO_LONG =
"REQUEST_RUNNING_TOO_LONG";
- public static final java.lang.String _REQUIRED_FIELD_MISSING =
"REQUIRED_FIELD_MISSING";
- public static final java.lang.String _SELF_REFERENCE_FROM_TRIGGER =
"SELF_REFERENCE_FROM_TRIGGER";
- public static final java.lang.String _SHARE_NEEDED_FOR_CHILD_OWNER =
"SHARE_NEEDED_FOR_CHILD_OWNER";
- public static final java.lang.String _STANDARD_PRICE_NOT_DEFINED =
"STANDARD_PRICE_NOT_DEFINED";
- public static final java.lang.String _STORAGE_LIMIT_EXCEEDED =
"STORAGE_LIMIT_EXCEEDED";
- public static final java.lang.String _STRING_TOO_LONG = "STRING_TOO_LONG";
- public static final java.lang.String _TABSET_LIMIT_EXCEEDED =
"TABSET_LIMIT_EXCEEDED";
- public static final java.lang.String _TEMPLATE_NOT_ACTIVE =
"TEMPLATE_NOT_ACTIVE";
- public static final java.lang.String _TERRITORY_REALIGN_IN_PROGRESS =
"TERRITORY_REALIGN_IN_PROGRESS";
- public static final java.lang.String _TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET =
"TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET";
- public static final java.lang.String _TOO_MANY_APEX_REQUESTS =
"TOO_MANY_APEX_REQUESTS";
- public static final java.lang.String _TOO_MANY_ENUM_VALUE =
"TOO_MANY_ENUM_VALUE";
- public static final java.lang.String _TRANSFER_REQUIRES_READ =
"TRANSFER_REQUIRES_READ";
- public static final java.lang.String _UNABLE_TO_LOCK_ROW =
"UNABLE_TO_LOCK_ROW";
- public static final java.lang.String _UNAVAILABLE_RECORDTYPE_EXCEPTION =
"UNAVAILABLE_RECORDTYPE_EXCEPTION";
- public static final java.lang.String _UNDELETE_FAILED = "UNDELETE_FAILED";
- public static final java.lang.String _UNKNOWN_EXCEPTION =
"UNKNOWN_EXCEPTION";
- public static final java.lang.String _UNSPECIFIED_EMAIL_ADDRESS =
"UNSPECIFIED_EMAIL_ADDRESS";
- public static final java.lang.String _UNSUPPORTED_APEX_TRIGGER_OPERATON =
"UNSUPPORTED_APEX_TRIGGER_OPERATON";
- public static final java.lang.String _UNVERIFIED_SENDER_ADDRESS =
"UNVERIFIED_SENDER_ADDRESS";
- public static final java.lang.String _WEBLINK_SIZE_LIMIT_EXCEEDED =
"WEBLINK_SIZE_LIMIT_EXCEEDED";
- public static final java.lang.String _WRONG_CONTROLLER_TYPE =
"WRONG_CONTROLLER_TYPE";
- public static final StatusCode ALREADY_IN_PROCESS = new
StatusCode(_ALREADY_IN_PROCESS);
- public static final StatusCode ASSIGNEE_TYPE_REQUIRED = new
StatusCode(_ASSIGNEE_TYPE_REQUIRED);
- public static final StatusCode BAD_CUSTOM_ENTITY_PARENT_DOMAIN = new
StatusCode(_BAD_CUSTOM_ENTITY_PARENT_DOMAIN);
- public static final StatusCode BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED = new
StatusCode(_BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED);
- public static final StatusCode CANNOT_CASCADE_PRODUCT_ACTIVE = new
StatusCode(_CANNOT_CASCADE_PRODUCT_ACTIVE);
- public static final StatusCode CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD =
new StatusCode(_CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD);
- public static final StatusCode CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE = new
StatusCode(_CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE);
- public static final StatusCode CANNOT_DEACTIVATE_DIVISION = new
StatusCode(_CANNOT_DEACTIVATE_DIVISION);
- public static final StatusCode CANNOT_DELETE_LAST_DATED_CONVERSION_RATE = new
StatusCode(_CANNOT_DELETE_LAST_DATED_CONVERSION_RATE);
- public static final StatusCode CANNOT_DELETE_MANAGED_OBJECT = new
StatusCode(_CANNOT_DELETE_MANAGED_OBJECT);
- public static final StatusCode CANNOT_DISABLE_LAST_ADMIN = new
StatusCode(_CANNOT_DISABLE_LAST_ADMIN);
- public static final StatusCode CANNOT_ENABLE_IP_RESTRICT_REQUESTS = new
StatusCode(_CANNOT_ENABLE_IP_RESTRICT_REQUESTS);
- public static final StatusCode CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY = new
StatusCode(_CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY);
- public static final StatusCode CANNOT_MODIFY_MANAGED_OBJECT = new
StatusCode(_CANNOT_MODIFY_MANAGED_OBJECT);
- public static final StatusCode CANNOT_RENAME_APEX_REFERENCED_FIELD = new
StatusCode(_CANNOT_RENAME_APEX_REFERENCED_FIELD);
- public static final StatusCode CANNOT_RENAME_APEX_REFERENCED_OBJECT = new
StatusCode(_CANNOT_RENAME_APEX_REFERENCED_OBJECT);
- public static final StatusCode CANNOT_REPARENT_RECORD = new
StatusCode(_CANNOT_REPARENT_RECORD);
- public static final StatusCode CANNOT_UPDATE_CONVERTED_LEAD = new
StatusCode(_CANNOT_UPDATE_CONVERTED_LEAD);
- public static final StatusCode CANT_DISABLE_CORP_CURRENCY = new
StatusCode(_CANT_DISABLE_CORP_CURRENCY);
- public static final StatusCode CANT_UNSET_CORP_CURRENCY = new
StatusCode(_CANT_UNSET_CORP_CURRENCY);
- public static final StatusCode CHILD_SHARE_FAILS_PARENT = new
StatusCode(_CHILD_SHARE_FAILS_PARENT);
- public static final StatusCode CIRCULAR_DEPENDENCY = new
StatusCode(_CIRCULAR_DEPENDENCY);
- public static final StatusCode COMMUNITY_NOT_ACCESSIBLE = new
StatusCode(_COMMUNITY_NOT_ACCESSIBLE);
- public static final StatusCode CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED = new
StatusCode(_CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED);
- public static final StatusCode CUSTOM_ENTITY_OR_FIELD_LIMIT = new
StatusCode(_CUSTOM_ENTITY_OR_FIELD_LIMIT);
- public static final StatusCode CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED = new
StatusCode(_CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED);
- public static final StatusCode CUSTOM_INDEX_EXISTS = new
StatusCode(_CUSTOM_INDEX_EXISTS);
- public static final StatusCode CUSTOM_LINK_LIMIT_EXCEEDED = new
StatusCode(_CUSTOM_LINK_LIMIT_EXCEEDED);
- public static final StatusCode CUSTOM_TAB_LIMIT_EXCEEDED = new
StatusCode(_CUSTOM_TAB_LIMIT_EXCEEDED);
- public static final StatusCode DELETE_FAILED = new StatusCode(_DELETE_FAILED);
- public static final StatusCode DELETE_REQUIRED_ON_CASCADE = new
StatusCode(_DELETE_REQUIRED_ON_CASCADE);
- public static final StatusCode DEPENDENCY_EXISTS = new
StatusCode(_DEPENDENCY_EXISTS);
- public static final StatusCode DUPLICATE_CASE_SOLUTION = new
StatusCode(_DUPLICATE_CASE_SOLUTION);
- public static final StatusCode DUPLICATE_COMM_NICKNAME = new
StatusCode(_DUPLICATE_COMM_NICKNAME);
- public static final StatusCode DUPLICATE_CUSTOM_ENTITY_DEFINITION = new
StatusCode(_DUPLICATE_CUSTOM_ENTITY_DEFINITION);
- public static final StatusCode DUPLICATE_CUSTOM_TAB_MOTIF = new
StatusCode(_DUPLICATE_CUSTOM_TAB_MOTIF);
- public static final StatusCode DUPLICATE_DEVELOPER_NAME = new
StatusCode(_DUPLICATE_DEVELOPER_NAME);
- public static final StatusCode DUPLICATE_EXTERNAL_ID = new
StatusCode(_DUPLICATE_EXTERNAL_ID);
- public static final StatusCode DUPLICATE_MASTER_LABEL = new
StatusCode(_DUPLICATE_MASTER_LABEL);
- public static final StatusCode DUPLICATE_SENDER_DISPLAY_NAME = new
StatusCode(_DUPLICATE_SENDER_DISPLAY_NAME);
- public static final StatusCode DUPLICATE_USERNAME = new
StatusCode(_DUPLICATE_USERNAME);
- public static final StatusCode DUPLICATE_VALUE = new StatusCode(_DUPLICATE_VALUE);
- public static final StatusCode EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR = new
StatusCode(_EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR);
- public static final StatusCode EMPTY_SCONTROL_FILE_NAME = new
StatusCode(_EMPTY_SCONTROL_FILE_NAME);
- public static final StatusCode ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE = new
StatusCode(_ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE);
- public static final StatusCode ENTITY_IS_ARCHIVED = new
StatusCode(_ENTITY_IS_ARCHIVED);
- public static final StatusCode ENTITY_IS_DELETED = new
StatusCode(_ENTITY_IS_DELETED);
- public static final StatusCode ENTITY_IS_LOCKED = new StatusCode(_ENTITY_IS_LOCKED);
- public static final StatusCode ERROR_IN_MAILER = new StatusCode(_ERROR_IN_MAILER);
- public static final StatusCode FAILED_ACTIVATION = new
StatusCode(_FAILED_ACTIVATION);
- public static final StatusCode FIELD_CUSTOM_VALIDATION_EXCEPTION = new
StatusCode(_FIELD_CUSTOM_VALIDATION_EXCEPTION);
- public static final StatusCode FIELD_INTEGRITY_EXCEPTION = new
StatusCode(_FIELD_INTEGRITY_EXCEPTION);
- public static final StatusCode FILTERED_LOOKUP_LIMIT_EXCEEDED = new
StatusCode(_FILTERED_LOOKUP_LIMIT_EXCEEDED);
- public static final StatusCode HTML_FILE_UPLOAD_NOT_ALLOWED = new
StatusCode(_HTML_FILE_UPLOAD_NOT_ALLOWED);
- public static final StatusCode IMAGE_TOO_LARGE = new StatusCode(_IMAGE_TOO_LARGE);
- public static final StatusCode INACTIVE_OWNER_OR_USER = new
StatusCode(_INACTIVE_OWNER_OR_USER);
- public static final StatusCode INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY = new
StatusCode(_INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY);
- public static final StatusCode INSUFFICIENT_ACCESS_OR_READONLY = new
StatusCode(_INSUFFICIENT_ACCESS_OR_READONLY);
- public static final StatusCode INVALID_ACCESS_LEVEL = new
StatusCode(_INVALID_ACCESS_LEVEL);
- public static final StatusCode INVALID_ARGUMENT_TYPE = new
StatusCode(_INVALID_ARGUMENT_TYPE);
- public static final StatusCode INVALID_ASSIGNEE_TYPE = new
StatusCode(_INVALID_ASSIGNEE_TYPE);
- public static final StatusCode INVALID_ASSIGNMENT_RULE = new
StatusCode(_INVALID_ASSIGNMENT_RULE);
- public static final StatusCode INVALID_BATCH_OPERATION = new
StatusCode(_INVALID_BATCH_OPERATION);
- public static final StatusCode INVALID_CONTENT_TYPE = new
StatusCode(_INVALID_CONTENT_TYPE);
- public static final StatusCode INVALID_CREDIT_CARD_INFO = new
StatusCode(_INVALID_CREDIT_CARD_INFO);
- public static final StatusCode INVALID_CROSS_REFERENCE_KEY = new
StatusCode(_INVALID_CROSS_REFERENCE_KEY);
- public static final StatusCode INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD = new
StatusCode(_INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD);
- public static final StatusCode INVALID_CURRENCY_CONV_RATE = new
StatusCode(_INVALID_CURRENCY_CONV_RATE);
- public static final StatusCode INVALID_CURRENCY_CORP_RATE = new
StatusCode(_INVALID_CURRENCY_CORP_RATE);
- public static final StatusCode INVALID_CURRENCY_ISO = new
StatusCode(_INVALID_CURRENCY_ISO);
- public static final StatusCode INVALID_EMAIL_ADDRESS = new
StatusCode(_INVALID_EMAIL_ADDRESS);
- public static final StatusCode INVALID_EMPTY_KEY_OWNER = new
StatusCode(_INVALID_EMPTY_KEY_OWNER);
- public static final StatusCode INVALID_FIELD = new StatusCode(_INVALID_FIELD);
- public static final StatusCode INVALID_FIELD_FOR_INSERT_UPDATE = new
StatusCode(_INVALID_FIELD_FOR_INSERT_UPDATE);
- public static final StatusCode INVALID_FIELD_WHEN_USING_TEMPLATE = new
StatusCode(_INVALID_FIELD_WHEN_USING_TEMPLATE);
- public static final StatusCode INVALID_FILTER_ACTION = new
StatusCode(_INVALID_FILTER_ACTION);
- public static final StatusCode INVALID_GOOGLE_DOCS_URL = new
StatusCode(_INVALID_GOOGLE_DOCS_URL);
- public static final StatusCode INVALID_ID_FIELD = new StatusCode(_INVALID_ID_FIELD);
- public static final StatusCode INVALID_INET_ADDRESS = new
StatusCode(_INVALID_INET_ADDRESS);
- public static final StatusCode INVALID_LINEITEM_CLONE_STATE = new
StatusCode(_INVALID_LINEITEM_CLONE_STATE);
- public static final StatusCode INVALID_MASTER_OR_TRANSLATED_SOLUTION = new
StatusCode(_INVALID_MASTER_OR_TRANSLATED_SOLUTION);
- public static final StatusCode INVALID_MESSAGE_ID_REFERENCE = new
StatusCode(_INVALID_MESSAGE_ID_REFERENCE);
- public static final StatusCode INVALID_OPERATION = new
StatusCode(_INVALID_OPERATION);
- public static final StatusCode INVALID_OPERATOR = new StatusCode(_INVALID_OPERATOR);
- public static final StatusCode INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST = new
StatusCode(_INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST);
- public static final StatusCode INVALID_PARTNER_NETWORK_STATUS = new
StatusCode(_INVALID_PARTNER_NETWORK_STATUS);
- public static final StatusCode INVALID_PERSON_ACCOUNT_OPERATION = new
StatusCode(_INVALID_PERSON_ACCOUNT_OPERATION);
- public static final StatusCode INVALID_SAVE_AS_ACTIVITY_FLAG = new
StatusCode(_INVALID_SAVE_AS_ACTIVITY_FLAG);
- public static final StatusCode INVALID_SESSION_ID = new
StatusCode(_INVALID_SESSION_ID);
- public static final StatusCode INVALID_SETUP_OWNER = new
StatusCode(_INVALID_SETUP_OWNER);
- public static final StatusCode INVALID_STATUS = new StatusCode(_INVALID_STATUS);
- public static final StatusCode INVALID_TYPE = new StatusCode(_INVALID_TYPE);
- public static final StatusCode INVALID_TYPE_FOR_OPERATION = new
StatusCode(_INVALID_TYPE_FOR_OPERATION);
- public static final StatusCode INVALID_TYPE_ON_FIELD_IN_RECORD = new
StatusCode(_INVALID_TYPE_ON_FIELD_IN_RECORD);
- public static final StatusCode IP_RANGE_LIMIT_EXCEEDED = new
StatusCode(_IP_RANGE_LIMIT_EXCEEDED);
- public static final StatusCode LICENSE_LIMIT_EXCEEDED = new
StatusCode(_LICENSE_LIMIT_EXCEEDED);
- public static final StatusCode LIGHT_PORTAL_USER_EXCEPTION = new
StatusCode(_LIGHT_PORTAL_USER_EXCEPTION);
- public static final StatusCode LIMIT_EXCEEDED = new StatusCode(_LIMIT_EXCEEDED);
- public static final StatusCode MALFORMED_ID = new StatusCode(_MALFORMED_ID);
- public static final StatusCode MANAGER_NOT_DEFINED = new
StatusCode(_MANAGER_NOT_DEFINED);
- public static final StatusCode MASSMAIL_RETRY_LIMIT_EXCEEDED = new
StatusCode(_MASSMAIL_RETRY_LIMIT_EXCEEDED);
- public static final StatusCode MASS_MAIL_LIMIT_EXCEEDED = new
StatusCode(_MASS_MAIL_LIMIT_EXCEEDED);
- public static final StatusCode MAXIMUM_CCEMAILS_EXCEEDED = new
StatusCode(_MAXIMUM_CCEMAILS_EXCEEDED);
- public static final StatusCode MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED = new
StatusCode(_MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED);
- public static final StatusCode MAXIMUM_HIERARCHY_LEVELS_REACHED = new
StatusCode(_MAXIMUM_HIERARCHY_LEVELS_REACHED);
- public static final StatusCode MAXIMUM_SIZE_OF_ATTACHMENT = new
StatusCode(_MAXIMUM_SIZE_OF_ATTACHMENT);
- public static final StatusCode MAXIMUM_SIZE_OF_DOCUMENT = new
StatusCode(_MAXIMUM_SIZE_OF_DOCUMENT);
- public static final StatusCode MAX_ACTIONS_PER_RULE_EXCEEDED = new
StatusCode(_MAX_ACTIONS_PER_RULE_EXCEEDED);
- public static final StatusCode MAX_ACTIVE_RULES_EXCEEDED = new
StatusCode(_MAX_ACTIVE_RULES_EXCEEDED);
- public static final StatusCode MAX_APPROVAL_STEPS_EXCEEDED = new
StatusCode(_MAX_APPROVAL_STEPS_EXCEEDED);
- public static final StatusCode MAX_FORMULAS_PER_RULE_EXCEEDED = new
StatusCode(_MAX_FORMULAS_PER_RULE_EXCEEDED);
- public static final StatusCode MAX_RULES_EXCEEDED = new
StatusCode(_MAX_RULES_EXCEEDED);
- public static final StatusCode MAX_RULE_ENTRIES_EXCEEDED = new
StatusCode(_MAX_RULE_ENTRIES_EXCEEDED);
- public static final StatusCode MAX_TASK_DESCRIPTION_EXCEEEDED = new
StatusCode(_MAX_TASK_DESCRIPTION_EXCEEEDED);
- public static final StatusCode MAX_TM_RULES_EXCEEDED = new
StatusCode(_MAX_TM_RULES_EXCEEDED);
- public static final StatusCode MAX_TM_RULE_ITEMS_EXCEEDED = new
StatusCode(_MAX_TM_RULE_ITEMS_EXCEEDED);
- public static final StatusCode MERGE_FAILED = new StatusCode(_MERGE_FAILED);
- public static final StatusCode MISSING_ARGUMENT = new StatusCode(_MISSING_ARGUMENT);
- public static final StatusCode MIXED_DML_OPERATION = new
StatusCode(_MIXED_DML_OPERATION);
- public static final StatusCode NONUNIQUE_SHIPPING_ADDRESS = new
StatusCode(_NONUNIQUE_SHIPPING_ADDRESS);
- public static final StatusCode NO_APPLICABLE_PROCESS = new
StatusCode(_NO_APPLICABLE_PROCESS);
- public static final StatusCode NO_ATTACHMENT_PERMISSION = new
StatusCode(_NO_ATTACHMENT_PERMISSION);
- public static final StatusCode NO_INACTIVE_DIVISION_MEMBERS = new
StatusCode(_NO_INACTIVE_DIVISION_MEMBERS);
- public static final StatusCode NO_MASS_MAIL_PERMISSION = new
StatusCode(_NO_MASS_MAIL_PERMISSION);
- public static final StatusCode NUMBER_OUTSIDE_VALID_RANGE = new
StatusCode(_NUMBER_OUTSIDE_VALID_RANGE);
- public static final StatusCode NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED = new
StatusCode(_NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED);
- public static final StatusCode OPTED_OUT_OF_MASS_MAIL = new
StatusCode(_OPTED_OUT_OF_MASS_MAIL);
- public static final StatusCode PACKAGE_LICENSE_REQUIRED = new
StatusCode(_PACKAGE_LICENSE_REQUIRED);
- public static final StatusCode PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT = new
StatusCode(_PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT);
- public static final StatusCode PRIVATE_CONTACT_ON_ASSET = new
StatusCode(_PRIVATE_CONTACT_ON_ASSET);
- public static final StatusCode RECORD_IN_USE_BY_WORKFLOW = new
StatusCode(_RECORD_IN_USE_BY_WORKFLOW);
- public static final StatusCode REQUEST_RUNNING_TOO_LONG = new
StatusCode(_REQUEST_RUNNING_TOO_LONG);
- public static final StatusCode REQUIRED_FIELD_MISSING = new
StatusCode(_REQUIRED_FIELD_MISSING);
- public static final StatusCode SELF_REFERENCE_FROM_TRIGGER = new
StatusCode(_SELF_REFERENCE_FROM_TRIGGER);
- public static final StatusCode SHARE_NEEDED_FOR_CHILD_OWNER = new
StatusCode(_SHARE_NEEDED_FOR_CHILD_OWNER);
- public static final StatusCode STANDARD_PRICE_NOT_DEFINED = new
StatusCode(_STANDARD_PRICE_NOT_DEFINED);
- public static final StatusCode STORAGE_LIMIT_EXCEEDED = new
StatusCode(_STORAGE_LIMIT_EXCEEDED);
- public static final StatusCode STRING_TOO_LONG = new StatusCode(_STRING_TOO_LONG);
- public static final StatusCode TABSET_LIMIT_EXCEEDED = new
StatusCode(_TABSET_LIMIT_EXCEEDED);
- public static final StatusCode TEMPLATE_NOT_ACTIVE = new
StatusCode(_TEMPLATE_NOT_ACTIVE);
- public static final StatusCode TERRITORY_REALIGN_IN_PROGRESS = new
StatusCode(_TERRITORY_REALIGN_IN_PROGRESS);
- public static final StatusCode TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET = new
StatusCode(_TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET);
- public static final StatusCode TOO_MANY_APEX_REQUESTS = new
StatusCode(_TOO_MANY_APEX_REQUESTS);
- public static final StatusCode TOO_MANY_ENUM_VALUE = new
StatusCode(_TOO_MANY_ENUM_VALUE);
- public static final StatusCode TRANSFER_REQUIRES_READ = new
StatusCode(_TRANSFER_REQUIRES_READ);
- public static final StatusCode UNABLE_TO_LOCK_ROW = new
StatusCode(_UNABLE_TO_LOCK_ROW);
- public static final StatusCode UNAVAILABLE_RECORDTYPE_EXCEPTION = new
StatusCode(_UNAVAILABLE_RECORDTYPE_EXCEPTION);
- public static final StatusCode UNDELETE_FAILED = new StatusCode(_UNDELETE_FAILED);
- public static final StatusCode UNKNOWN_EXCEPTION = new
StatusCode(_UNKNOWN_EXCEPTION);
- public static final StatusCode UNSPECIFIED_EMAIL_ADDRESS = new
StatusCode(_UNSPECIFIED_EMAIL_ADDRESS);
- public static final StatusCode UNSUPPORTED_APEX_TRIGGER_OPERATON = new
StatusCode(_UNSUPPORTED_APEX_TRIGGER_OPERATON);
- public static final StatusCode UNVERIFIED_SENDER_ADDRESS = new
StatusCode(_UNVERIFIED_SENDER_ADDRESS);
- public static final StatusCode WEBLINK_SIZE_LIMIT_EXCEEDED = new
StatusCode(_WEBLINK_SIZE_LIMIT_EXCEEDED);
- public static final StatusCode WRONG_CONTROLLER_TYPE = new
StatusCode(_WRONG_CONTROLLER_TYPE);
- public java.lang.String getValue() { return _value_;}
- public static StatusCode fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- StatusCode enumeration = (StatusCode)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
+/**
+ * <p>Java class for StatusCode.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="StatusCode">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="ALREADY_IN_PROCESS"/>
+ * <enumeration value="ASSIGNEE_TYPE_REQUIRED"/>
+ * <enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/>
+ * <enumeration
value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/>
+ * <enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/>
+ * <enumeration
value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/>
+ * <enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/>
+ * <enumeration value="CANNOT_DEACTIVATE_DIVISION"/>
+ * <enumeration
value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/>
+ * <enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/>
+ * <enumeration value="CANNOT_DISABLE_LAST_ADMIN"/>
+ * <enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/>
+ * <enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/>
+ * <enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/>
+ * <enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/>
+ * <enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/>
+ * <enumeration value="CANNOT_REPARENT_RECORD"/>
+ * <enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/>
+ * <enumeration value="CANT_DISABLE_CORP_CURRENCY"/>
+ * <enumeration value="CANT_UNSET_CORP_CURRENCY"/>
+ * <enumeration value="CHILD_SHARE_FAILS_PARENT"/>
+ * <enumeration value="CIRCULAR_DEPENDENCY"/>
+ * <enumeration value="COMMUNITY_NOT_ACCESSIBLE"/>
+ * <enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/>
+ * <enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/>
+ * <enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/>
+ * <enumeration value="CUSTOM_INDEX_EXISTS"/>
+ * <enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/>
+ * <enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/>
+ * <enumeration value="DELETE_FAILED"/>
+ * <enumeration value="DELETE_REQUIRED_ON_CASCADE"/>
+ * <enumeration value="DEPENDENCY_EXISTS"/>
+ * <enumeration value="DUPLICATE_CASE_SOLUTION"/>
+ * <enumeration value="DUPLICATE_COMM_NICKNAME"/>
+ * <enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/>
+ * <enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/>
+ * <enumeration value="DUPLICATE_DEVELOPER_NAME"/>
+ * <enumeration value="DUPLICATE_EXTERNAL_ID"/>
+ * <enumeration value="DUPLICATE_MASTER_LABEL"/>
+ * <enumeration value="DUPLICATE_SENDER_DISPLAY_NAME"/>
+ * <enumeration value="DUPLICATE_USERNAME"/>
+ * <enumeration value="DUPLICATE_VALUE"/>
+ * <enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/>
+ * <enumeration value="EMPTY_SCONTROL_FILE_NAME"/>
+ * <enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/>
+ * <enumeration value="ENTITY_IS_ARCHIVED"/>
+ * <enumeration value="ENTITY_IS_DELETED"/>
+ * <enumeration value="ENTITY_IS_LOCKED"/>
+ * <enumeration value="ERROR_IN_MAILER"/>
+ * <enumeration value="FAILED_ACTIVATION"/>
+ * <enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/>
+ * <enumeration value="FIELD_INTEGRITY_EXCEPTION"/>
+ * <enumeration value="FILTERED_LOOKUP_LIMIT_EXCEEDED"/>
+ * <enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/>
+ * <enumeration value="IMAGE_TOO_LARGE"/>
+ * <enumeration value="INACTIVE_OWNER_OR_USER"/>
+ * <enumeration
value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/>
+ * <enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/>
+ * <enumeration value="INVALID_ACCESS_LEVEL"/>
+ * <enumeration value="INVALID_ARGUMENT_TYPE"/>
+ * <enumeration value="INVALID_ASSIGNEE_TYPE"/>
+ * <enumeration value="INVALID_ASSIGNMENT_RULE"/>
+ * <enumeration value="INVALID_BATCH_OPERATION"/>
+ * <enumeration value="INVALID_CONTENT_TYPE"/>
+ * <enumeration value="INVALID_CREDIT_CARD_INFO"/>
+ * <enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
+ * <enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/>
+ * <enumeration value="INVALID_CURRENCY_CONV_RATE"/>
+ * <enumeration value="INVALID_CURRENCY_CORP_RATE"/>
+ * <enumeration value="INVALID_CURRENCY_ISO"/>
+ * <enumeration value="INVALID_EMAIL_ADDRESS"/>
+ * <enumeration value="INVALID_EMPTY_KEY_OWNER"/>
+ * <enumeration value="INVALID_FIELD"/>
+ * <enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/>
+ * <enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/>
+ * <enumeration value="INVALID_FILTER_ACTION"/>
+ * <enumeration value="INVALID_GOOGLE_DOCS_URL"/>
+ * <enumeration value="INVALID_ID_FIELD"/>
+ * <enumeration value="INVALID_INET_ADDRESS"/>
+ * <enumeration value="INVALID_LINEITEM_CLONE_STATE"/>
+ * <enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/>
+ * <enumeration value="INVALID_MESSAGE_ID_REFERENCE"/>
+ * <enumeration value="INVALID_OPERATION"/>
+ * <enumeration value="INVALID_OPERATOR"/>
+ * <enumeration
value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/>
+ * <enumeration value="INVALID_PARTNER_NETWORK_STATUS"/>
+ * <enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/>
+ * <enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/>
+ * <enumeration value="INVALID_SESSION_ID"/>
+ * <enumeration value="INVALID_SETUP_OWNER"/>
+ * <enumeration value="INVALID_STATUS"/>
+ * <enumeration value="INVALID_TYPE"/>
+ * <enumeration value="INVALID_TYPE_FOR_OPERATION"/>
+ * <enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/>
+ * <enumeration value="IP_RANGE_LIMIT_EXCEEDED"/>
+ * <enumeration value="LICENSE_LIMIT_EXCEEDED"/>
+ * <enumeration value="LIGHT_PORTAL_USER_EXCEPTION"/>
+ * <enumeration value="LIMIT_EXCEEDED"/>
+ * <enumeration value="MALFORMED_ID"/>
+ * <enumeration value="MANAGER_NOT_DEFINED"/>
+ * <enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/>
+ * <enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/>
+ * <enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/>
+ * <enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/>
+ * <enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/>
+ * <enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/>
+ * <enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/>
+ * <enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/>
+ * <enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/>
+ * <enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/>
+ * <enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/>
+ * <enumeration value="MAX_RULES_EXCEEDED"/>
+ * <enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/>
+ * <enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/>
+ * <enumeration value="MAX_TM_RULES_EXCEEDED"/>
+ * <enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/>
+ * <enumeration value="MERGE_FAILED"/>
+ * <enumeration value="MISSING_ARGUMENT"/>
+ * <enumeration value="MIXED_DML_OPERATION"/>
+ * <enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/>
+ * <enumeration value="NO_APPLICABLE_PROCESS"/>
+ * <enumeration value="NO_ATTACHMENT_PERMISSION"/>
+ * <enumeration value="NO_INACTIVE_DIVISION_MEMBERS"/>
+ * <enumeration value="NO_MASS_MAIL_PERMISSION"/>
+ * <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
+ * <enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/>
+ * <enumeration value="OPTED_OUT_OF_MASS_MAIL"/>
+ * <enumeration value="PACKAGE_LICENSE_REQUIRED"/>
+ * <enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/>
+ * <enumeration value="PRIVATE_CONTACT_ON_ASSET"/>
+ * <enumeration value="RECORD_IN_USE_BY_WORKFLOW"/>
+ * <enumeration value="REQUEST_RUNNING_TOO_LONG"/>
+ * <enumeration value="REQUIRED_FIELD_MISSING"/>
+ * <enumeration value="SELF_REFERENCE_FROM_TRIGGER"/>
+ * <enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/>
+ * <enumeration value="STANDARD_PRICE_NOT_DEFINED"/>
+ * <enumeration value="STORAGE_LIMIT_EXCEEDED"/>
+ * <enumeration value="STRING_TOO_LONG"/>
+ * <enumeration value="TABSET_LIMIT_EXCEEDED"/>
+ * <enumeration value="TEMPLATE_NOT_ACTIVE"/>
+ * <enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/>
+ * <enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/>
+ * <enumeration value="TOO_MANY_APEX_REQUESTS"/>
+ * <enumeration value="TOO_MANY_ENUM_VALUE"/>
+ * <enumeration value="TRANSFER_REQUIRES_READ"/>
+ * <enumeration value="UNABLE_TO_LOCK_ROW"/>
+ * <enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/>
+ * <enumeration value="UNDELETE_FAILED"/>
+ * <enumeration value="UNKNOWN_EXCEPTION"/>
+ * <enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/>
+ * <enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/>
+ * <enumeration value="UNVERIFIED_SENDER_ADDRESS"/>
+ * <enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/>
+ * <enumeration value="WRONG_CONTROLLER_TYPE"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "StatusCode")
+@XmlEnum
+public enum StatusCode {
+
+ ALREADY_IN_PROCESS,
+ ASSIGNEE_TYPE_REQUIRED,
+ BAD_CUSTOM_ENTITY_PARENT_DOMAIN,
+ BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED,
+ CANNOT_CASCADE_PRODUCT_ACTIVE,
+ CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD,
+ CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE,
+ CANNOT_DEACTIVATE_DIVISION,
+ CANNOT_DELETE_LAST_DATED_CONVERSION_RATE,
+ CANNOT_DELETE_MANAGED_OBJECT,
+ CANNOT_DISABLE_LAST_ADMIN,
+ CANNOT_ENABLE_IP_RESTRICT_REQUESTS,
+ CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY,
+ CANNOT_MODIFY_MANAGED_OBJECT,
+ CANNOT_RENAME_APEX_REFERENCED_FIELD,
+ CANNOT_RENAME_APEX_REFERENCED_OBJECT,
+ CANNOT_REPARENT_RECORD,
+ CANNOT_UPDATE_CONVERTED_LEAD,
+ CANT_DISABLE_CORP_CURRENCY,
+ CANT_UNSET_CORP_CURRENCY,
+ CHILD_SHARE_FAILS_PARENT,
+ CIRCULAR_DEPENDENCY,
+ COMMUNITY_NOT_ACCESSIBLE,
+ CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED,
+ CUSTOM_ENTITY_OR_FIELD_LIMIT,
+ CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED,
+ CUSTOM_INDEX_EXISTS,
+ CUSTOM_LINK_LIMIT_EXCEEDED,
+ CUSTOM_TAB_LIMIT_EXCEEDED,
+ DELETE_FAILED,
+ DELETE_REQUIRED_ON_CASCADE,
+ DEPENDENCY_EXISTS,
+ DUPLICATE_CASE_SOLUTION,
+ DUPLICATE_COMM_NICKNAME,
+ DUPLICATE_CUSTOM_ENTITY_DEFINITION,
+ DUPLICATE_CUSTOM_TAB_MOTIF,
+ DUPLICATE_DEVELOPER_NAME,
+ DUPLICATE_EXTERNAL_ID,
+ DUPLICATE_MASTER_LABEL,
+ DUPLICATE_SENDER_DISPLAY_NAME,
+ DUPLICATE_USERNAME,
+ DUPLICATE_VALUE,
+ EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR,
+ EMPTY_SCONTROL_FILE_NAME,
+ ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE,
+ ENTITY_IS_ARCHIVED,
+ ENTITY_IS_DELETED,
+ ENTITY_IS_LOCKED,
+ ERROR_IN_MAILER,
+ FAILED_ACTIVATION,
+ FIELD_CUSTOM_VALIDATION_EXCEPTION,
+ FIELD_INTEGRITY_EXCEPTION,
+ FILTERED_LOOKUP_LIMIT_EXCEEDED,
+ HTML_FILE_UPLOAD_NOT_ALLOWED,
+ IMAGE_TOO_LARGE,
+ INACTIVE_OWNER_OR_USER,
+ INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY,
+ INSUFFICIENT_ACCESS_OR_READONLY,
+ INVALID_ACCESS_LEVEL,
+ INVALID_ARGUMENT_TYPE,
+ INVALID_ASSIGNEE_TYPE,
+ INVALID_ASSIGNMENT_RULE,
+ INVALID_BATCH_OPERATION,
+ INVALID_CONTENT_TYPE,
+ INVALID_CREDIT_CARD_INFO,
+ INVALID_CROSS_REFERENCE_KEY,
+ INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD,
+ INVALID_CURRENCY_CONV_RATE,
+ INVALID_CURRENCY_CORP_RATE,
+ INVALID_CURRENCY_ISO,
+ INVALID_EMAIL_ADDRESS,
+ INVALID_EMPTY_KEY_OWNER,
+ INVALID_FIELD,
+ INVALID_FIELD_FOR_INSERT_UPDATE,
+ INVALID_FIELD_WHEN_USING_TEMPLATE,
+ INVALID_FILTER_ACTION,
+ INVALID_GOOGLE_DOCS_URL,
+ INVALID_ID_FIELD,
+ INVALID_INET_ADDRESS,
+ INVALID_LINEITEM_CLONE_STATE,
+ INVALID_MASTER_OR_TRANSLATED_SOLUTION,
+ INVALID_MESSAGE_ID_REFERENCE,
+ INVALID_OPERATION,
+ INVALID_OPERATOR,
+ INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST,
+ INVALID_PARTNER_NETWORK_STATUS,
+ INVALID_PERSON_ACCOUNT_OPERATION,
+ INVALID_SAVE_AS_ACTIVITY_FLAG,
+ INVALID_SESSION_ID,
+ INVALID_SETUP_OWNER,
+ INVALID_STATUS,
+ INVALID_TYPE,
+ INVALID_TYPE_FOR_OPERATION,
+ INVALID_TYPE_ON_FIELD_IN_RECORD,
+ IP_RANGE_LIMIT_EXCEEDED,
+ LICENSE_LIMIT_EXCEEDED,
+ LIGHT_PORTAL_USER_EXCEPTION,
+ LIMIT_EXCEEDED,
+ MALFORMED_ID,
+ MANAGER_NOT_DEFINED,
+ MASSMAIL_RETRY_LIMIT_EXCEEDED,
+ MASS_MAIL_LIMIT_EXCEEDED,
+ MAXIMUM_CCEMAILS_EXCEEDED,
+ MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED,
+ MAXIMUM_HIERARCHY_LEVELS_REACHED,
+ MAXIMUM_SIZE_OF_ATTACHMENT,
+ MAXIMUM_SIZE_OF_DOCUMENT,
+ MAX_ACTIONS_PER_RULE_EXCEEDED,
+ MAX_ACTIVE_RULES_EXCEEDED,
+ MAX_APPROVAL_STEPS_EXCEEDED,
+ MAX_FORMULAS_PER_RULE_EXCEEDED,
+ MAX_RULES_EXCEEDED,
+ MAX_RULE_ENTRIES_EXCEEDED,
+ MAX_TASK_DESCRIPTION_EXCEEEDED,
+ MAX_TM_RULES_EXCEEDED,
+ MAX_TM_RULE_ITEMS_EXCEEDED,
+ MERGE_FAILED,
+ MISSING_ARGUMENT,
+ MIXED_DML_OPERATION,
+ NONUNIQUE_SHIPPING_ADDRESS,
+ NO_APPLICABLE_PROCESS,
+ NO_ATTACHMENT_PERMISSION,
+ NO_INACTIVE_DIVISION_MEMBERS,
+ NO_MASS_MAIL_PERMISSION,
+ NUMBER_OUTSIDE_VALID_RANGE,
+ NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED,
+ OPTED_OUT_OF_MASS_MAIL,
+ PACKAGE_LICENSE_REQUIRED,
+ PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT,
+ PRIVATE_CONTACT_ON_ASSET,
+ RECORD_IN_USE_BY_WORKFLOW,
+ REQUEST_RUNNING_TOO_LONG,
+ REQUIRED_FIELD_MISSING,
+ SELF_REFERENCE_FROM_TRIGGER,
+ SHARE_NEEDED_FOR_CHILD_OWNER,
+ STANDARD_PRICE_NOT_DEFINED,
+ STORAGE_LIMIT_EXCEEDED,
+ STRING_TOO_LONG,
+ TABSET_LIMIT_EXCEEDED,
+ TEMPLATE_NOT_ACTIVE,
+ TERRITORY_REALIGN_IN_PROGRESS,
+ TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET,
+ TOO_MANY_APEX_REQUESTS,
+ TOO_MANY_ENUM_VALUE,
+ TRANSFER_REQUIRES_READ,
+ UNABLE_TO_LOCK_ROW,
+ UNAVAILABLE_RECORDTYPE_EXCEPTION,
+ UNDELETE_FAILED,
+ UNKNOWN_EXCEPTION,
+ UNSPECIFIED_EMAIL_ADDRESS,
+ UNSUPPORTED_APEX_TRIGGER_OPERATON,
+ UNVERIFIED_SENDER_ADDRESS,
+ WEBLINK_SIZE_LIMIT_EXCEEDED,
+ WRONG_CONTROLLER_TYPE;
+
+ public String value() {
+ return name();
}
- public static StatusCode fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(StatusCode.class);
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"StatusCode"));
+ public static StatusCode fromValue(String v) {
+ return valueOf(v);
}
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Undelete.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Undelete.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Undelete.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,71 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ids"
type="{urn:partner.soap.sforce.com}ID" maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "ids"
+})
+@XmlRootElement(name = "undelete")
+public class Undelete {
+
+ @XmlElement(required = true)
+ protected List<String> ids;
+
+ /**
+ * Gets the value of the ids property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ids
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIds().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIds() {
+ if (ids == null) {
+ ids = new ArrayList<String>();
+ }
+ return this.ids;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Undelete.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,71 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}UndeleteResult"
maxOccurs="unbounded"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "undeleteResponse")
+public class UndeleteResponse {
+
+ @XmlElement(required = true)
+ protected List<UndeleteResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link UndeleteResult }
+ *
+ *
+ */
+ public List<UndeleteResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<UndeleteResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UndeleteResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,205 +1,115 @@
-/**
- * UndeleteResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class UndeleteResult implements java.io.Serializable {
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String id;
-
- private boolean success;
-
- public UndeleteResult() {
- }
-
- public UndeleteResult(
- com.sforce.soap.partner.Error[] errors,
- java.lang.String id,
- boolean success) {
- this.errors = errors;
- this.id = id;
- this.success = success;
- }
-
-
- /**
- * Gets the errors value for this UndeleteResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this UndeleteResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the id value for this UndeleteResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this UndeleteResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the success value for this UndeleteResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this UndeleteResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof UndeleteResult)) return false;
- UndeleteResult other = (UndeleteResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(UndeleteResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UndeleteResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for UndeleteResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="UndeleteResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "UndeleteResult", propOrder = {
+ "errors",
+ "id",
+ "success"
+})
+public class UndeleteResult {
+
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected boolean success;
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UnexpectedErrorFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UnexpectedErrorFault.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UnexpectedErrorFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,45 @@
+
+package com.sforce.soap.partner;
+
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by Apache CXF 2.2.6
+ * Thu Feb 11 15:37:56 EST 2010
+ * Generated source version: 2.2.6
+ *
+ */
+
+@WebFault(name = "UnexpectedErrorFault", targetNamespace =
"urn:fault.partner.soap.sforce.com")
+public class UnexpectedErrorFault extends Exception {
+ public static final long serialVersionUID = 20100211153756L;
+
+ private com.sforce.soap.partner.fault.UnexpectedErrorFault unexpectedErrorFault;
+
+ public UnexpectedErrorFault() {
+ super();
+ }
+
+ public UnexpectedErrorFault(String message) {
+ super(message);
+ }
+
+ public UnexpectedErrorFault(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public UnexpectedErrorFault(String message,
com.sforce.soap.partner.fault.UnexpectedErrorFault unexpectedErrorFault) {
+ super(message);
+ this.unexpectedErrorFault = unexpectedErrorFault;
+ }
+
+ public UnexpectedErrorFault(String message,
com.sforce.soap.partner.fault.UnexpectedErrorFault unexpectedErrorFault, Throwable cause)
{
+ super(message, cause);
+ this.unexpectedErrorFault = unexpectedErrorFault;
+ }
+
+ public com.sforce.soap.partner.fault.UnexpectedErrorFault getFaultInfo() {
+ return this.unexpectedErrorFault;
+ }
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UnexpectedErrorFault.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Update.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Update.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Update.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,70 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="sObjects"
type="{urn:sobject.partner.soap.sforce.com}sObject"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "sObjects"
+})
+@XmlRootElement(name = "update")
+public class Update {
+
+ protected List<SObject> sObjects;
+
+ /**
+ * Gets the value of the sObjects property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sObjects
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSObjects().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SObject }
+ *
+ *
+ */
+ public List<SObject> getSObjects() {
+ if (sObjects == null) {
+ sObjects = new ArrayList<SObject>();
+ }
+ return this.sObjects;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Update.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpdateResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpdateResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpdateResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}SaveResult" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "updateResponse")
+public class UpdateResponse {
+
+ protected List<SaveResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SaveResult }
+ *
+ *
+ */
+ public List<SaveResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<SaveResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpdateResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Upsert.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Upsert.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/Upsert.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,173 +1,99 @@
-/**
- * Upsert.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class Upsert implements java.io.Serializable {
- private java.lang.String externalIDFieldName;
-
- private com.sforce.soap.partner.sobject.SObject[] sObjects;
-
- public Upsert() {
- }
-
- public Upsert(
- java.lang.String externalIDFieldName,
- com.sforce.soap.partner.sobject.SObject[] sObjects) {
- this.externalIDFieldName = externalIDFieldName;
- this.sObjects = sObjects;
- }
-
-
- /**
- * Gets the externalIDFieldName value for this Upsert.
- *
- * @return externalIDFieldName
- */
- public java.lang.String getExternalIDFieldName() {
- return externalIDFieldName;
- }
-
-
- /**
- * Sets the externalIDFieldName value for this Upsert.
- *
- * @param externalIDFieldName
- */
- public void setExternalIDFieldName(java.lang.String externalIDFieldName) {
- this.externalIDFieldName = externalIDFieldName;
- }
-
-
- /**
- * Gets the sObjects value for this Upsert.
- *
- * @return sObjects
- */
- public com.sforce.soap.partner.sobject.SObject[] getSObjects() {
- return sObjects;
- }
-
-
- /**
- * Sets the sObjects value for this Upsert.
- *
- * @param sObjects
- */
- public void setSObjects(com.sforce.soap.partner.sobject.SObject[] sObjects) {
- this.sObjects = sObjects;
- }
-
- public com.sforce.soap.partner.sobject.SObject getSObjects(int i) {
- return this.sObjects[i];
- }
-
- public void setSObjects(int i, com.sforce.soap.partner.sobject.SObject _value) {
- this.sObjects[i] = _value;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof Upsert)) return false;
- Upsert other = (Upsert) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.externalIDFieldName==null &&
other.getExternalIDFieldName()==null) ||
- (this.externalIDFieldName!=null &&
- this.externalIDFieldName.equals(other.getExternalIDFieldName())))
&&
- ((this.sObjects==null && other.getSObjects()==null) ||
- (this.sObjects!=null &&
- java.util.Arrays.equals(this.sObjects, other.getSObjects())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getExternalIDFieldName() != null) {
- _hashCode += getExternalIDFieldName().hashCode();
- }
- if (getSObjects() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getSObjects());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getSObjects(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(Upsert.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">upsert"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("externalIDFieldName");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"externalIDFieldName"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("SObjects");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"sObjects"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import com.sforce.soap.partner.sobject.SObject;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="externalIDFieldName"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="sObjects"
type="{urn:sobject.partner.soap.sforce.com}sObject"
maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "externalIDFieldName",
+ "sObjects"
+})
+@XmlRootElement(name = "upsert")
+public class Upsert {
+
+ @XmlElement(required = true)
+ protected String externalIDFieldName;
+ protected List<SObject> sObjects;
+
+ /**
+ * Gets the value of the externalIDFieldName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExternalIDFieldName() {
+ return externalIDFieldName;
+ }
+
+ /**
+ * Sets the value of the externalIDFieldName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExternalIDFieldName(String value) {
+ this.externalIDFieldName = value;
+ }
+
+ /**
+ * Gets the value of the sObjects property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the sObjects
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSObjects().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SObject }
+ *
+ *
+ */
+ public List<SObject> getSObjects() {
+ if (sObjects == null) {
+ sObjects = new ArrayList<SObject>();
+ }
+ return this.sObjects;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResponse.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResponse.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResponse.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,69 @@
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="result"
type="{urn:partner.soap.sforce.com}UpsertResult" maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result"
+})
+@XmlRootElement(name = "upsertResponse")
+public class UpsertResponse {
+
+ protected List<UpsertResult> result;
+
+ /**
+ * Gets the value of the result property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the result
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResult().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link UpsertResult }
+ *
+ *
+ */
+ public List<UpsertResult> getResult() {
+ if (result == null) {
+ result = new ArrayList<UpsertResult>();
+ }
+ return this.result;
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResponse.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResult.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResult.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UpsertResult.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,237 +1,134 @@
-/**
- * UpsertResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class UpsertResult implements java.io.Serializable {
- private boolean created;
-
- private com.sforce.soap.partner.Error[] errors;
-
- private java.lang.String id;
-
- private boolean success;
-
- public UpsertResult() {
- }
-
- public UpsertResult(
- boolean created,
- com.sforce.soap.partner.Error[] errors,
- java.lang.String id,
- boolean success) {
- this.created = created;
- this.errors = errors;
- this.id = id;
- this.success = success;
- }
-
-
- /**
- * Gets the created value for this UpsertResult.
- *
- * @return created
- */
- public boolean isCreated() {
- return created;
- }
-
-
- /**
- * Sets the created value for this UpsertResult.
- *
- * @param created
- */
- public void setCreated(boolean created) {
- this.created = created;
- }
-
-
- /**
- * Gets the errors value for this UpsertResult.
- *
- * @return errors
- */
- public com.sforce.soap.partner.Error[] getErrors() {
- return errors;
- }
-
-
- /**
- * Sets the errors value for this UpsertResult.
- *
- * @param errors
- */
- public void setErrors(com.sforce.soap.partner.Error[] errors) {
- this.errors = errors;
- }
-
- public com.sforce.soap.partner.Error getErrors(int i) {
- return this.errors[i];
- }
-
- public void setErrors(int i, com.sforce.soap.partner.Error _value) {
- this.errors[i] = _value;
- }
-
-
- /**
- * Gets the id value for this UpsertResult.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this UpsertResult.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the success value for this UpsertResult.
- *
- * @return success
- */
- public boolean isSuccess() {
- return success;
- }
-
-
- /**
- * Sets the success value for this UpsertResult.
- *
- * @param success
- */
- public void setSuccess(boolean success) {
- this.success = success;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof UpsertResult)) return false;
- UpsertResult other = (UpsertResult) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- this.created == other.isCreated() &&
- ((this.errors==null && other.getErrors()==null) ||
- (this.errors!=null &&
- java.util.Arrays.equals(this.errors, other.getErrors()))) &&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- this.success == other.isSuccess();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- _hashCode += (isCreated() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- if (getErrors() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getErrors());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getErrors(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(UpsertResult.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"UpsertResult"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("created");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "created"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("errors");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "errors"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "Error"));
- elemField.setMinOccurs(0);
- elemField.setNillable(false);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("success");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com", "success"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"boolean"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for UpsertResult complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="UpsertResult">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="created"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="errors"
type="{urn:partner.soap.sforce.com}Error" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <element name="success"
type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "UpsertResult", propOrder = {
+ "created",
+ "errors",
+ "id",
+ "success"
+})
+public class UpsertResult {
+
+ protected boolean created;
+ protected List<Error> errors;
+ @XmlElement(required = true, nillable = true)
+ protected String id;
+ protected boolean success;
+
+ /**
+ * Gets the value of the created property.
+ *
+ */
+ public boolean isCreated() {
+ return created;
+ }
+
+ /**
+ * Sets the value of the created property.
+ *
+ */
+ public void setCreated(boolean value) {
+ this.created = value;
+ }
+
+ /**
+ * Gets the value of the errors property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the errors
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getErrors().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Error }
+ *
+ *
+ */
+ public List<Error> getErrors() {
+ if (errors == null) {
+ errors = new ArrayList<Error>();
+ }
+ return this.errors;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the success property.
+ *
+ */
+ public boolean isSuccess() {
+ return success;
+ }
+
+ /**
+ * Sets the value of the success property.
+ *
+ */
+ public void setSuccess(boolean value) {
+ this.success = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UserTerritoryDeleteHeader.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UserTerritoryDeleteHeader.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/UserTerritoryDeleteHeader.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,119 +1,64 @@
-/**
- * UserTerritoryDeleteHeader.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner;
-
-public class UserTerritoryDeleteHeader implements java.io.Serializable {
- private java.lang.String transferToUserId;
-
- public UserTerritoryDeleteHeader() {
- }
-
- public UserTerritoryDeleteHeader(
- java.lang.String transferToUserId) {
- this.transferToUserId = transferToUserId;
- }
-
-
- /**
- * Gets the transferToUserId value for this UserTerritoryDeleteHeader.
- *
- * @return transferToUserId
- */
- public java.lang.String getTransferToUserId() {
- return transferToUserId;
- }
-
-
- /**
- * Sets the transferToUserId value for this UserTerritoryDeleteHeader.
- *
- * @param transferToUserId
- */
- public void setTransferToUserId(java.lang.String transferToUserId) {
- this.transferToUserId = transferToUserId;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof UserTerritoryDeleteHeader)) return false;
- UserTerritoryDeleteHeader other = (UserTerritoryDeleteHeader) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.transferToUserId==null && other.getTransferToUserId()==null)
||
- (this.transferToUserId!=null &&
- this.transferToUserId.equals(other.getTransferToUserId())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getTransferToUserId() != null) {
- _hashCode += getTransferToUserId().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(UserTerritoryDeleteHeader.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
">UserTerritoryDeleteHeader"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("transferToUserId");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:partner.soap.sforce.com",
"transferToUserId"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="transferToUserId"
type="{urn:partner.soap.sforce.com}ID"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "transferToUserId"
+})
+@XmlRootElement(name = "UserTerritoryDeleteHeader")
+public class UserTerritoryDeleteHeader {
+
+ @XmlElement(required = true, nillable = true)
+ protected String transferToUserId;
+
+ /**
+ * Gets the value of the transferToUserId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTransferToUserId() {
+ return transferToUserId;
+ }
+
+ /**
+ * Sets the value of the transferToUserId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTransferToUserId(String value) {
+ this.transferToUserId = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,162 +1,99 @@
-/**
- * ApiFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class ApiFault extends org.apache.axis.AxisFault implements java.io.Serializable
{
- private com.sforce.soap.partner.fault.ExceptionCode exceptionCode;
-
- private java.lang.String exceptionMessage;
-
- public ApiFault() {
- }
-
- public ApiFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage) {
- this.exceptionCode = exceptionCode;
- this.exceptionMessage = exceptionMessage;
- }
-
-
- /**
- * Gets the exceptionCode value for this ApiFault.
- *
- * @return exceptionCode
- */
- public com.sforce.soap.partner.fault.ExceptionCode getExceptionCode() {
- return exceptionCode;
- }
-
-
- /**
- * Sets the exceptionCode value for this ApiFault.
- *
- * @param exceptionCode
- */
- public void setExceptionCode(com.sforce.soap.partner.fault.ExceptionCode
exceptionCode) {
- this.exceptionCode = exceptionCode;
- }
-
-
- /**
- * Gets the exceptionMessage value for this ApiFault.
- *
- * @return exceptionMessage
- */
- public java.lang.String getExceptionMessage() {
- return exceptionMessage;
- }
-
-
- /**
- * Sets the exceptionMessage value for this ApiFault.
- *
- * @param exceptionMessage
- */
- public void setExceptionMessage(java.lang.String exceptionMessage) {
- this.exceptionMessage = exceptionMessage;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ApiFault)) return false;
- ApiFault other = (ApiFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.exceptionCode==null && other.getExceptionCode()==null) ||
- (this.exceptionCode!=null &&
- this.exceptionCode.equals(other.getExceptionCode()))) &&
- ((this.exceptionMessage==null && other.getExceptionMessage()==null)
||
- (this.exceptionMessage!=null &&
- this.exceptionMessage.equals(other.getExceptionMessage())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getExceptionCode() != null) {
- _hashCode += getExceptionCode().hashCode();
- }
- if (getExceptionMessage() != null) {
- _hashCode += getExceptionMessage().hashCode();
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ApiFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ApiFault"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("exceptionCode");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"exceptionCode"));
- elemField.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ExceptionCode"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("exceptionMessage");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"exceptionMessage"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ApiFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ApiFault">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="exceptionCode"
type="{urn:fault.partner.soap.sforce.com}ExceptionCode"/>
+ * <element name="exceptionMessage"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ApiFault", propOrder = {
+ "exceptionCode",
+ "exceptionMessage"
+})
+@XmlSeeAlso({
+ InvalidIdFault.class,
+ UnexpectedErrorFault.class,
+ InvalidQueryLocatorFault.class,
+ LoginFault.class,
+ InvalidNewPasswordFault.class,
+ ApiQueryFault.class
+})
+public class ApiFault {
+
+ @XmlElement(required = true)
+ protected ExceptionCode exceptionCode;
+ @XmlElement(required = true)
+ protected String exceptionMessage;
+
+ /**
+ * Gets the value of the exceptionCode property.
+ *
+ * @return
+ * possible object is
+ * {@link ExceptionCode }
+ *
+ */
+ public ExceptionCode getExceptionCode() {
+ return exceptionCode;
+ }
+
+ /**
+ * Sets the value of the exceptionCode property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ExceptionCode }
+ *
+ */
+ public void setExceptionCode(ExceptionCode value) {
+ this.exceptionCode = value;
+ }
+
+ /**
+ * Gets the value of the exceptionMessage property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExceptionMessage() {
+ return exceptionMessage;
+ }
+
+ /**
+ * Sets the value of the exceptionMessage property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExceptionMessage(String value) {
+ this.exceptionMessage = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiQueryFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiQueryFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ApiQueryFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,159 +1,80 @@
-/**
- * ApiQueryFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class ApiQueryFault extends com.sforce.soap.partner.fault.ApiFault implements
java.io.Serializable {
- private int row;
-
- private int column;
-
- public ApiQueryFault() {
- }
-
- public ApiQueryFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage,
- int row,
- int column) {
- super(
- exceptionCode,
- exceptionMessage);
- this.row = row;
- this.column = column;
- }
-
-
- /**
- * Gets the row value for this ApiQueryFault.
- *
- * @return row
- */
- public int getRow() {
- return row;
- }
-
-
- /**
- * Sets the row value for this ApiQueryFault.
- *
- * @param row
- */
- public void setRow(int row) {
- this.row = row;
- }
-
-
- /**
- * Gets the column value for this ApiQueryFault.
- *
- * @return column
- */
- public int getColumn() {
- return column;
- }
-
-
- /**
- * Sets the column value for this ApiQueryFault.
- *
- * @param column
- */
- public void setColumn(int column) {
- this.column = column;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ApiQueryFault)) return false;
- ApiQueryFault other = (ApiQueryFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj) &&
- this.row == other.getRow() &&
- this.column == other.getColumn();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- _hashCode += getRow();
- _hashCode += getColumn();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ApiQueryFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ApiQueryFault"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("row");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"row"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("column");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"column"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ApiQueryFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="ApiQueryFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * <sequence>
+ * <element name="row"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="column"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ApiQueryFault", propOrder = {
+ "row",
+ "column"
+})
+@XmlSeeAlso({
+ InvalidSObjectFault.class,
+ MalformedQueryFault.class,
+ MalformedSearchFault.class,
+ InvalidFieldFault.class
+})
+public class ApiQueryFault
+ extends ApiFault
+{
+
+ protected int row;
+ protected int column;
+
+ /**
+ * Gets the value of the row property.
+ *
+ */
+ public int getRow() {
+ return row;
+ }
+
+ /**
+ * Sets the value of the row property.
+ *
+ */
+ public void setRow(int value) {
+ this.row = value;
+ }
+
+ /**
+ * Gets the value of the column property.
+ *
+ */
+ public int getColumn() {
+ return column;
+ }
+
+ /**
+ * Sets the value of the column property.
+ *
+ */
+ public void setColumn(int value) {
+ this.column = value;
+ }
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ExceptionCode.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ExceptionCode.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ExceptionCode.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,218 +1,186 @@
-/**
- * ExceptionCode.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class ExceptionCode implements java.io.Serializable {
- private java.lang.String _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected ExceptionCode(java.lang.String value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final java.lang.String _API_CURRENTLY_DISABLED =
"API_CURRENTLY_DISABLED";
- public static final java.lang.String _API_DISABLED_FOR_ORG =
"API_DISABLED_FOR_ORG";
- public static final java.lang.String _CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY =
"CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY";
- public static final java.lang.String _CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY =
"CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY";
- public static final java.lang.String _CIRCULAR_OBJECT_GRAPH =
"CIRCULAR_OBJECT_GRAPH";
- public static final java.lang.String _CLIENT_NOT_ACCESSIBLE_FOR_USER =
"CLIENT_NOT_ACCESSIBLE_FOR_USER";
- public static final java.lang.String _CLIENT_REQUIRE_UPDATE_FOR_USER =
"CLIENT_REQUIRE_UPDATE_FOR_USER";
- public static final java.lang.String _CUSTOM_METADATA_LIMIT_EXCEEDED =
"CUSTOM_METADATA_LIMIT_EXCEEDED";
- public static final java.lang.String _DUPLICATE_VALUE = "DUPLICATE_VALUE";
- public static final java.lang.String _EMAIL_BATCH_SIZE_LIMIT_EXCEEDED =
"EMAIL_BATCH_SIZE_LIMIT_EXCEEDED";
- public static final java.lang.String _EMAIL_TO_CASE_INVALID_ROUTING =
"EMAIL_TO_CASE_INVALID_ROUTING";
- public static final java.lang.String _EMAIL_TO_CASE_LIMIT_EXCEEDED =
"EMAIL_TO_CASE_LIMIT_EXCEEDED";
- public static final java.lang.String _EMAIL_TO_CASE_NOT_ENABLED =
"EMAIL_TO_CASE_NOT_ENABLED";
- public static final java.lang.String _EXCEEDED_ID_LIMIT =
"EXCEEDED_ID_LIMIT";
- public static final java.lang.String _EXCEEDED_LEAD_CONVERT_LIMIT =
"EXCEEDED_LEAD_CONVERT_LIMIT";
- public static final java.lang.String _EXCEEDED_MAX_SIZE_REQUEST =
"EXCEEDED_MAX_SIZE_REQUEST";
- public static final java.lang.String _EXCEEDED_MAX_TYPES_LIMIT =
"EXCEEDED_MAX_TYPES_LIMIT";
- public static final java.lang.String _EXCEEDED_QUOTA = "EXCEEDED_QUOTA";
- public static final java.lang.String _FUNCTIONALITY_NOT_ENABLED =
"FUNCTIONALITY_NOT_ENABLED";
- public static final java.lang.String _INACTIVE_OWNER_OR_USER =
"INACTIVE_OWNER_OR_USER";
- public static final java.lang.String _INACTIVE_PORTAL = "INACTIVE_PORTAL";
- public static final java.lang.String _INSUFFICIENT_ACCESS =
"INSUFFICIENT_ACCESS";
- public static final java.lang.String _INVALID_ASSIGNMENT_RULE =
"INVALID_ASSIGNMENT_RULE";
- public static final java.lang.String _INVALID_BATCH_SIZE =
"INVALID_BATCH_SIZE";
- public static final java.lang.String _INVALID_CLIENT = "INVALID_CLIENT";
- public static final java.lang.String _INVALID_CROSS_REFERENCE_KEY =
"INVALID_CROSS_REFERENCE_KEY";
- public static final java.lang.String _INVALID_FIELD = "INVALID_FIELD";
- public static final java.lang.String _INVALID_FILTER_LANGUAGE =
"INVALID_FILTER_LANGUAGE";
- public static final java.lang.String _INVALID_FILTER_VALUE =
"INVALID_FILTER_VALUE";
- public static final java.lang.String _INVALID_ID_FIELD =
"INVALID_ID_FIELD";
- public static final java.lang.String _INVALID_LOCALE_LANGUAGE =
"INVALID_LOCALE_LANGUAGE";
- public static final java.lang.String _INVALID_LOCATOR = "INVALID_LOCATOR";
- public static final java.lang.String _INVALID_LOGIN = "INVALID_LOGIN";
- public static final java.lang.String _INVALID_NEW_PASSWORD =
"INVALID_NEW_PASSWORD";
- public static final java.lang.String _INVALID_OPERATION =
"INVALID_OPERATION";
- public static final java.lang.String _INVALID_OPERATION_WITH_EXPIRED_PASSWORD =
"INVALID_OPERATION_WITH_EXPIRED_PASSWORD";
- public static final java.lang.String _INVALID_QUERY_FILTER_OPERATOR =
"INVALID_QUERY_FILTER_OPERATOR";
- public static final java.lang.String _INVALID_QUERY_LOCATOR =
"INVALID_QUERY_LOCATOR";
- public static final java.lang.String _INVALID_QUERY_SCOPE =
"INVALID_QUERY_SCOPE";
- public static final java.lang.String _INVALID_REPLICATION_DATE =
"INVALID_REPLICATION_DATE";
- public static final java.lang.String _INVALID_SEARCH = "INVALID_SEARCH";
- public static final java.lang.String _INVALID_SEARCH_SCOPE =
"INVALID_SEARCH_SCOPE";
- public static final java.lang.String _INVALID_SESSION_ID =
"INVALID_SESSION_ID";
- public static final java.lang.String _INVALID_SOAP_HEADER =
"INVALID_SOAP_HEADER";
- public static final java.lang.String _INVALID_SSO_GATEWAY_URL =
"INVALID_SSO_GATEWAY_URL";
- public static final java.lang.String _INVALID_TYPE = "INVALID_TYPE";
- public static final java.lang.String _INVALID_TYPE_FOR_OPERATION =
"INVALID_TYPE_FOR_OPERATION";
- public static final java.lang.String _LIMIT_EXCEEDED = "LIMIT_EXCEEDED";
- public static final java.lang.String _LOGIN_CHALLENGE_ISSUED =
"LOGIN_CHALLENGE_ISSUED";
- public static final java.lang.String _LOGIN_CHALLENGE_PENDING =
"LOGIN_CHALLENGE_PENDING";
- public static final java.lang.String _LOGIN_DURING_RESTRICTED_DOMAIN =
"LOGIN_DURING_RESTRICTED_DOMAIN";
- public static final java.lang.String _LOGIN_DURING_RESTRICTED_TIME =
"LOGIN_DURING_RESTRICTED_TIME";
- public static final java.lang.String _LOGIN_MUST_USE_SECURITY_TOKEN =
"LOGIN_MUST_USE_SECURITY_TOKEN";
- public static final java.lang.String _MALFORMED_ID = "MALFORMED_ID";
- public static final java.lang.String _MALFORMED_QUERY = "MALFORMED_QUERY";
- public static final java.lang.String _MALFORMED_SEARCH =
"MALFORMED_SEARCH";
- public static final java.lang.String _MISSING_ARGUMENT =
"MISSING_ARGUMENT";
- public static final java.lang.String _NOT_MODIFIED = "NOT_MODIFIED";
- public static final java.lang.String _NO_SOFTPHONE_LAYOUT =
"NO_SOFTPHONE_LAYOUT";
- public static final java.lang.String _NUMBER_OUTSIDE_VALID_RANGE =
"NUMBER_OUTSIDE_VALID_RANGE";
- public static final java.lang.String _OPERATION_TOO_LARGE =
"OPERATION_TOO_LARGE";
- public static final java.lang.String _ORG_LOCKED = "ORG_LOCKED";
- public static final java.lang.String _ORG_NOT_OWNED_BY_INSTANCE =
"ORG_NOT_OWNED_BY_INSTANCE";
- public static final java.lang.String _PASSWORD_LOCKOUT =
"PASSWORD_LOCKOUT";
- public static final java.lang.String _PORTAL_NO_ACCESS =
"PORTAL_NO_ACCESS";
- public static final java.lang.String _QUERY_TIMEOUT = "QUERY_TIMEOUT";
- public static final java.lang.String _QUERY_TOO_COMPLICATED =
"QUERY_TOO_COMPLICATED";
- public static final java.lang.String _REQUEST_LIMIT_EXCEEDED =
"REQUEST_LIMIT_EXCEEDED";
- public static final java.lang.String _REQUEST_RUNNING_TOO_LONG =
"REQUEST_RUNNING_TOO_LONG";
- public static final java.lang.String _SERVER_UNAVAILABLE =
"SERVER_UNAVAILABLE";
- public static final java.lang.String _SSO_SERVICE_DOWN =
"SSO_SERVICE_DOWN";
- public static final java.lang.String _TOO_MANY_APEX_REQUESTS =
"TOO_MANY_APEX_REQUESTS";
- public static final java.lang.String _TRIAL_EXPIRED = "TRIAL_EXPIRED";
- public static final java.lang.String _UNKNOWN_EXCEPTION =
"UNKNOWN_EXCEPTION";
- public static final java.lang.String _UNSUPPORTED_API_VERSION =
"UNSUPPORTED_API_VERSION";
- public static final java.lang.String _UNSUPPORTED_CLIENT =
"UNSUPPORTED_CLIENT";
- public static final ExceptionCode API_CURRENTLY_DISABLED = new
ExceptionCode(_API_CURRENTLY_DISABLED);
- public static final ExceptionCode API_DISABLED_FOR_ORG = new
ExceptionCode(_API_DISABLED_FOR_ORG);
- public static final ExceptionCode CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY = new
ExceptionCode(_CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY);
- public static final ExceptionCode CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY = new
ExceptionCode(_CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY);
- public static final ExceptionCode CIRCULAR_OBJECT_GRAPH = new
ExceptionCode(_CIRCULAR_OBJECT_GRAPH);
- public static final ExceptionCode CLIENT_NOT_ACCESSIBLE_FOR_USER = new
ExceptionCode(_CLIENT_NOT_ACCESSIBLE_FOR_USER);
- public static final ExceptionCode CLIENT_REQUIRE_UPDATE_FOR_USER = new
ExceptionCode(_CLIENT_REQUIRE_UPDATE_FOR_USER);
- public static final ExceptionCode CUSTOM_METADATA_LIMIT_EXCEEDED = new
ExceptionCode(_CUSTOM_METADATA_LIMIT_EXCEEDED);
- public static final ExceptionCode DUPLICATE_VALUE = new
ExceptionCode(_DUPLICATE_VALUE);
- public static final ExceptionCode EMAIL_BATCH_SIZE_LIMIT_EXCEEDED = new
ExceptionCode(_EMAIL_BATCH_SIZE_LIMIT_EXCEEDED);
- public static final ExceptionCode EMAIL_TO_CASE_INVALID_ROUTING = new
ExceptionCode(_EMAIL_TO_CASE_INVALID_ROUTING);
- public static final ExceptionCode EMAIL_TO_CASE_LIMIT_EXCEEDED = new
ExceptionCode(_EMAIL_TO_CASE_LIMIT_EXCEEDED);
- public static final ExceptionCode EMAIL_TO_CASE_NOT_ENABLED = new
ExceptionCode(_EMAIL_TO_CASE_NOT_ENABLED);
- public static final ExceptionCode EXCEEDED_ID_LIMIT = new
ExceptionCode(_EXCEEDED_ID_LIMIT);
- public static final ExceptionCode EXCEEDED_LEAD_CONVERT_LIMIT = new
ExceptionCode(_EXCEEDED_LEAD_CONVERT_LIMIT);
- public static final ExceptionCode EXCEEDED_MAX_SIZE_REQUEST = new
ExceptionCode(_EXCEEDED_MAX_SIZE_REQUEST);
- public static final ExceptionCode EXCEEDED_MAX_TYPES_LIMIT = new
ExceptionCode(_EXCEEDED_MAX_TYPES_LIMIT);
- public static final ExceptionCode EXCEEDED_QUOTA = new
ExceptionCode(_EXCEEDED_QUOTA);
- public static final ExceptionCode FUNCTIONALITY_NOT_ENABLED = new
ExceptionCode(_FUNCTIONALITY_NOT_ENABLED);
- public static final ExceptionCode INACTIVE_OWNER_OR_USER = new
ExceptionCode(_INACTIVE_OWNER_OR_USER);
- public static final ExceptionCode INACTIVE_PORTAL = new
ExceptionCode(_INACTIVE_PORTAL);
- public static final ExceptionCode INSUFFICIENT_ACCESS = new
ExceptionCode(_INSUFFICIENT_ACCESS);
- public static final ExceptionCode INVALID_ASSIGNMENT_RULE = new
ExceptionCode(_INVALID_ASSIGNMENT_RULE);
- public static final ExceptionCode INVALID_BATCH_SIZE = new
ExceptionCode(_INVALID_BATCH_SIZE);
- public static final ExceptionCode INVALID_CLIENT = new
ExceptionCode(_INVALID_CLIENT);
- public static final ExceptionCode INVALID_CROSS_REFERENCE_KEY = new
ExceptionCode(_INVALID_CROSS_REFERENCE_KEY);
- public static final ExceptionCode INVALID_FIELD = new ExceptionCode(_INVALID_FIELD);
- public static final ExceptionCode INVALID_FILTER_LANGUAGE = new
ExceptionCode(_INVALID_FILTER_LANGUAGE);
- public static final ExceptionCode INVALID_FILTER_VALUE = new
ExceptionCode(_INVALID_FILTER_VALUE);
- public static final ExceptionCode INVALID_ID_FIELD = new
ExceptionCode(_INVALID_ID_FIELD);
- public static final ExceptionCode INVALID_LOCALE_LANGUAGE = new
ExceptionCode(_INVALID_LOCALE_LANGUAGE);
- public static final ExceptionCode INVALID_LOCATOR = new
ExceptionCode(_INVALID_LOCATOR);
- public static final ExceptionCode INVALID_LOGIN = new ExceptionCode(_INVALID_LOGIN);
- public static final ExceptionCode INVALID_NEW_PASSWORD = new
ExceptionCode(_INVALID_NEW_PASSWORD);
- public static final ExceptionCode INVALID_OPERATION = new
ExceptionCode(_INVALID_OPERATION);
- public static final ExceptionCode INVALID_OPERATION_WITH_EXPIRED_PASSWORD = new
ExceptionCode(_INVALID_OPERATION_WITH_EXPIRED_PASSWORD);
- public static final ExceptionCode INVALID_QUERY_FILTER_OPERATOR = new
ExceptionCode(_INVALID_QUERY_FILTER_OPERATOR);
- public static final ExceptionCode INVALID_QUERY_LOCATOR = new
ExceptionCode(_INVALID_QUERY_LOCATOR);
- public static final ExceptionCode INVALID_QUERY_SCOPE = new
ExceptionCode(_INVALID_QUERY_SCOPE);
- public static final ExceptionCode INVALID_REPLICATION_DATE = new
ExceptionCode(_INVALID_REPLICATION_DATE);
- public static final ExceptionCode INVALID_SEARCH = new
ExceptionCode(_INVALID_SEARCH);
- public static final ExceptionCode INVALID_SEARCH_SCOPE = new
ExceptionCode(_INVALID_SEARCH_SCOPE);
- public static final ExceptionCode INVALID_SESSION_ID = new
ExceptionCode(_INVALID_SESSION_ID);
- public static final ExceptionCode INVALID_SOAP_HEADER = new
ExceptionCode(_INVALID_SOAP_HEADER);
- public static final ExceptionCode INVALID_SSO_GATEWAY_URL = new
ExceptionCode(_INVALID_SSO_GATEWAY_URL);
- public static final ExceptionCode INVALID_TYPE = new ExceptionCode(_INVALID_TYPE);
- public static final ExceptionCode INVALID_TYPE_FOR_OPERATION = new
ExceptionCode(_INVALID_TYPE_FOR_OPERATION);
- public static final ExceptionCode LIMIT_EXCEEDED = new
ExceptionCode(_LIMIT_EXCEEDED);
- public static final ExceptionCode LOGIN_CHALLENGE_ISSUED = new
ExceptionCode(_LOGIN_CHALLENGE_ISSUED);
- public static final ExceptionCode LOGIN_CHALLENGE_PENDING = new
ExceptionCode(_LOGIN_CHALLENGE_PENDING);
- public static final ExceptionCode LOGIN_DURING_RESTRICTED_DOMAIN = new
ExceptionCode(_LOGIN_DURING_RESTRICTED_DOMAIN);
- public static final ExceptionCode LOGIN_DURING_RESTRICTED_TIME = new
ExceptionCode(_LOGIN_DURING_RESTRICTED_TIME);
- public static final ExceptionCode LOGIN_MUST_USE_SECURITY_TOKEN = new
ExceptionCode(_LOGIN_MUST_USE_SECURITY_TOKEN);
- public static final ExceptionCode MALFORMED_ID = new ExceptionCode(_MALFORMED_ID);
- public static final ExceptionCode MALFORMED_QUERY = new
ExceptionCode(_MALFORMED_QUERY);
- public static final ExceptionCode MALFORMED_SEARCH = new
ExceptionCode(_MALFORMED_SEARCH);
- public static final ExceptionCode MISSING_ARGUMENT = new
ExceptionCode(_MISSING_ARGUMENT);
- public static final ExceptionCode NOT_MODIFIED = new ExceptionCode(_NOT_MODIFIED);
- public static final ExceptionCode NO_SOFTPHONE_LAYOUT = new
ExceptionCode(_NO_SOFTPHONE_LAYOUT);
- public static final ExceptionCode NUMBER_OUTSIDE_VALID_RANGE = new
ExceptionCode(_NUMBER_OUTSIDE_VALID_RANGE);
- public static final ExceptionCode OPERATION_TOO_LARGE = new
ExceptionCode(_OPERATION_TOO_LARGE);
- public static final ExceptionCode ORG_LOCKED = new ExceptionCode(_ORG_LOCKED);
- public static final ExceptionCode ORG_NOT_OWNED_BY_INSTANCE = new
ExceptionCode(_ORG_NOT_OWNED_BY_INSTANCE);
- public static final ExceptionCode PASSWORD_LOCKOUT = new
ExceptionCode(_PASSWORD_LOCKOUT);
- public static final ExceptionCode PORTAL_NO_ACCESS = new
ExceptionCode(_PORTAL_NO_ACCESS);
- public static final ExceptionCode QUERY_TIMEOUT = new ExceptionCode(_QUERY_TIMEOUT);
- public static final ExceptionCode QUERY_TOO_COMPLICATED = new
ExceptionCode(_QUERY_TOO_COMPLICATED);
- public static final ExceptionCode REQUEST_LIMIT_EXCEEDED = new
ExceptionCode(_REQUEST_LIMIT_EXCEEDED);
- public static final ExceptionCode REQUEST_RUNNING_TOO_LONG = new
ExceptionCode(_REQUEST_RUNNING_TOO_LONG);
- public static final ExceptionCode SERVER_UNAVAILABLE = new
ExceptionCode(_SERVER_UNAVAILABLE);
- public static final ExceptionCode SSO_SERVICE_DOWN = new
ExceptionCode(_SSO_SERVICE_DOWN);
- public static final ExceptionCode TOO_MANY_APEX_REQUESTS = new
ExceptionCode(_TOO_MANY_APEX_REQUESTS);
- public static final ExceptionCode TRIAL_EXPIRED = new ExceptionCode(_TRIAL_EXPIRED);
- public static final ExceptionCode UNKNOWN_EXCEPTION = new
ExceptionCode(_UNKNOWN_EXCEPTION);
- public static final ExceptionCode UNSUPPORTED_API_VERSION = new
ExceptionCode(_UNSUPPORTED_API_VERSION);
- public static final ExceptionCode UNSUPPORTED_CLIENT = new
ExceptionCode(_UNSUPPORTED_CLIENT);
- public java.lang.String getValue() { return _value_;}
- public static ExceptionCode fromValue(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- ExceptionCode enumeration = (ExceptionCode)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static ExceptionCode fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- return fromValue(value);
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_;}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(ExceptionCode.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"ExceptionCode"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ExceptionCode.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ * <p>
+ * <pre>
+ * <simpleType name="ExceptionCode">
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="API_CURRENTLY_DISABLED"/>
+ * <enumeration value="API_DISABLED_FOR_ORG"/>
+ * <enumeration
value="CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY"/>
+ * <enumeration
value="CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY"/>
+ * <enumeration value="CIRCULAR_OBJECT_GRAPH"/>
+ * <enumeration value="CLIENT_NOT_ACCESSIBLE_FOR_USER"/>
+ * <enumeration value="CLIENT_REQUIRE_UPDATE_FOR_USER"/>
+ * <enumeration value="CUSTOM_METADATA_LIMIT_EXCEEDED"/>
+ * <enumeration value="DUPLICATE_VALUE"/>
+ * <enumeration value="EMAIL_BATCH_SIZE_LIMIT_EXCEEDED"/>
+ * <enumeration value="EMAIL_TO_CASE_INVALID_ROUTING"/>
+ * <enumeration value="EMAIL_TO_CASE_LIMIT_EXCEEDED"/>
+ * <enumeration value="EMAIL_TO_CASE_NOT_ENABLED"/>
+ * <enumeration value="EXCEEDED_ID_LIMIT"/>
+ * <enumeration value="EXCEEDED_LEAD_CONVERT_LIMIT"/>
+ * <enumeration value="EXCEEDED_MAX_SIZE_REQUEST"/>
+ * <enumeration value="EXCEEDED_MAX_TYPES_LIMIT"/>
+ * <enumeration value="EXCEEDED_QUOTA"/>
+ * <enumeration value="FUNCTIONALITY_NOT_ENABLED"/>
+ * <enumeration value="INACTIVE_OWNER_OR_USER"/>
+ * <enumeration value="INACTIVE_PORTAL"/>
+ * <enumeration value="INSUFFICIENT_ACCESS"/>
+ * <enumeration value="INVALID_ASSIGNMENT_RULE"/>
+ * <enumeration value="INVALID_BATCH_SIZE"/>
+ * <enumeration value="INVALID_CLIENT"/>
+ * <enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
+ * <enumeration value="INVALID_FIELD"/>
+ * <enumeration value="INVALID_FILTER_LANGUAGE"/>
+ * <enumeration value="INVALID_FILTER_VALUE"/>
+ * <enumeration value="INVALID_ID_FIELD"/>
+ * <enumeration value="INVALID_LOCALE_LANGUAGE"/>
+ * <enumeration value="INVALID_LOCATOR"/>
+ * <enumeration value="INVALID_LOGIN"/>
+ * <enumeration value="INVALID_NEW_PASSWORD"/>
+ * <enumeration value="INVALID_OPERATION"/>
+ * <enumeration
value="INVALID_OPERATION_WITH_EXPIRED_PASSWORD"/>
+ * <enumeration value="INVALID_QUERY_FILTER_OPERATOR"/>
+ * <enumeration value="INVALID_QUERY_LOCATOR"/>
+ * <enumeration value="INVALID_QUERY_SCOPE"/>
+ * <enumeration value="INVALID_REPLICATION_DATE"/>
+ * <enumeration value="INVALID_SEARCH"/>
+ * <enumeration value="INVALID_SEARCH_SCOPE"/>
+ * <enumeration value="INVALID_SESSION_ID"/>
+ * <enumeration value="INVALID_SOAP_HEADER"/>
+ * <enumeration value="INVALID_SSO_GATEWAY_URL"/>
+ * <enumeration value="INVALID_TYPE"/>
+ * <enumeration value="INVALID_TYPE_FOR_OPERATION"/>
+ * <enumeration value="LIMIT_EXCEEDED"/>
+ * <enumeration value="LOGIN_CHALLENGE_ISSUED"/>
+ * <enumeration value="LOGIN_CHALLENGE_PENDING"/>
+ * <enumeration value="LOGIN_DURING_RESTRICTED_DOMAIN"/>
+ * <enumeration value="LOGIN_DURING_RESTRICTED_TIME"/>
+ * <enumeration value="LOGIN_MUST_USE_SECURITY_TOKEN"/>
+ * <enumeration value="MALFORMED_ID"/>
+ * <enumeration value="MALFORMED_QUERY"/>
+ * <enumeration value="MALFORMED_SEARCH"/>
+ * <enumeration value="MISSING_ARGUMENT"/>
+ * <enumeration value="NOT_MODIFIED"/>
+ * <enumeration value="NO_SOFTPHONE_LAYOUT"/>
+ * <enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
+ * <enumeration value="OPERATION_TOO_LARGE"/>
+ * <enumeration value="ORG_LOCKED"/>
+ * <enumeration value="ORG_NOT_OWNED_BY_INSTANCE"/>
+ * <enumeration value="PASSWORD_LOCKOUT"/>
+ * <enumeration value="PORTAL_NO_ACCESS"/>
+ * <enumeration value="QUERY_TIMEOUT"/>
+ * <enumeration value="QUERY_TOO_COMPLICATED"/>
+ * <enumeration value="REQUEST_LIMIT_EXCEEDED"/>
+ * <enumeration value="REQUEST_RUNNING_TOO_LONG"/>
+ * <enumeration value="SERVER_UNAVAILABLE"/>
+ * <enumeration value="SSO_SERVICE_DOWN"/>
+ * <enumeration value="TOO_MANY_APEX_REQUESTS"/>
+ * <enumeration value="TRIAL_EXPIRED"/>
+ * <enumeration value="UNKNOWN_EXCEPTION"/>
+ * <enumeration value="UNSUPPORTED_API_VERSION"/>
+ * <enumeration value="UNSUPPORTED_CLIENT"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "ExceptionCode")
+@XmlEnum
+public enum ExceptionCode {
+
+ API_CURRENTLY_DISABLED,
+ API_DISABLED_FOR_ORG,
+ CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY,
+ CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY,
+ CIRCULAR_OBJECT_GRAPH,
+ CLIENT_NOT_ACCESSIBLE_FOR_USER,
+ CLIENT_REQUIRE_UPDATE_FOR_USER,
+ CUSTOM_METADATA_LIMIT_EXCEEDED,
+ DUPLICATE_VALUE,
+ EMAIL_BATCH_SIZE_LIMIT_EXCEEDED,
+ EMAIL_TO_CASE_INVALID_ROUTING,
+ EMAIL_TO_CASE_LIMIT_EXCEEDED,
+ EMAIL_TO_CASE_NOT_ENABLED,
+ EXCEEDED_ID_LIMIT,
+ EXCEEDED_LEAD_CONVERT_LIMIT,
+ EXCEEDED_MAX_SIZE_REQUEST,
+ EXCEEDED_MAX_TYPES_LIMIT,
+ EXCEEDED_QUOTA,
+ FUNCTIONALITY_NOT_ENABLED,
+ INACTIVE_OWNER_OR_USER,
+ INACTIVE_PORTAL,
+ INSUFFICIENT_ACCESS,
+ INVALID_ASSIGNMENT_RULE,
+ INVALID_BATCH_SIZE,
+ INVALID_CLIENT,
+ INVALID_CROSS_REFERENCE_KEY,
+ INVALID_FIELD,
+ INVALID_FILTER_LANGUAGE,
+ INVALID_FILTER_VALUE,
+ INVALID_ID_FIELD,
+ INVALID_LOCALE_LANGUAGE,
+ INVALID_LOCATOR,
+ INVALID_LOGIN,
+ INVALID_NEW_PASSWORD,
+ INVALID_OPERATION,
+ INVALID_OPERATION_WITH_EXPIRED_PASSWORD,
+ INVALID_QUERY_FILTER_OPERATOR,
+ INVALID_QUERY_LOCATOR,
+ INVALID_QUERY_SCOPE,
+ INVALID_REPLICATION_DATE,
+ INVALID_SEARCH,
+ INVALID_SEARCH_SCOPE,
+ INVALID_SESSION_ID,
+ INVALID_SOAP_HEADER,
+ INVALID_SSO_GATEWAY_URL,
+ INVALID_TYPE,
+ INVALID_TYPE_FOR_OPERATION,
+ LIMIT_EXCEEDED,
+ LOGIN_CHALLENGE_ISSUED,
+ LOGIN_CHALLENGE_PENDING,
+ LOGIN_DURING_RESTRICTED_DOMAIN,
+ LOGIN_DURING_RESTRICTED_TIME,
+ LOGIN_MUST_USE_SECURITY_TOKEN,
+ MALFORMED_ID,
+ MALFORMED_QUERY,
+ MALFORMED_SEARCH,
+ MISSING_ARGUMENT,
+ NOT_MODIFIED,
+ NO_SOFTPHONE_LAYOUT,
+ NUMBER_OUTSIDE_VALID_RANGE,
+ OPERATION_TOO_LARGE,
+ ORG_LOCKED,
+ ORG_NOT_OWNED_BY_INSTANCE,
+ PASSWORD_LOCKOUT,
+ PORTAL_NO_ACCESS,
+ QUERY_TIMEOUT,
+ QUERY_TOO_COMPLICATED,
+ REQUEST_LIMIT_EXCEEDED,
+ REQUEST_RUNNING_TOO_LONG,
+ SERVER_UNAVAILABLE,
+ SSO_SERVICE_DOWN,
+ TOO_MANY_APEX_REQUESTS,
+ TRIAL_EXPIRED,
+ UNKNOWN_EXCEPTION,
+ UNSUPPORTED_API_VERSION,
+ UNSUPPORTED_CLIENT;
+
+ public String value() {
+ return name();
+ }
+
+ public static ExceptionCode fromValue(String v) {
+ return valueOf(v);
+ }
+
+}
Deleted:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/FaultCode.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/FaultCode.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/FaultCode.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,222 +0,0 @@
-/**
- * FaultCode.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class FaultCode implements java.io.Serializable {
- private javax.xml.namespace.QName _value_;
- private static java.util.HashMap _table_ = new java.util.HashMap();
-
- // Constructor
- protected FaultCode(javax.xml.namespace.QName value) {
- _value_ = value;
- _table_.put(_value_,this);
- }
-
- public static final javax.xml.namespace.QName _value1 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}API_CURRENTLY_DISABLED");
- public static final javax.xml.namespace.QName _value2 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}API_DISABLED_FOR_ORG");
- public static final javax.xml.namespace.QName _value3 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}CANT_ADD_STANDADRD_PORTAL_USER_TO_TERRITORY");
- public static final javax.xml.namespace.QName _value4 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}CANT_ADD_STANDARD_PORTAL_USER_TO_TERRITORY");
- public static final javax.xml.namespace.QName _value5 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}CIRCULAR_OBJECT_GRAPH");
- public static final javax.xml.namespace.QName _value6 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}CLIENT_NOT_ACCESSIBLE_FOR_USER");
- public static final javax.xml.namespace.QName _value7 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}CLIENT_REQUIRE_UPDATE_FOR_USER");
- public static final javax.xml.namespace.QName _value8 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}CUSTOM_METADATA_LIMIT_EXCEEDED");
- public static final javax.xml.namespace.QName _value9 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}DUPLICATE_VALUE");
- public static final javax.xml.namespace.QName _value10 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EMAIL_BATCH_SIZE_LIMIT_EXCEEDED");
- public static final javax.xml.namespace.QName _value11 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EMAIL_TO_CASE_INVALID_ROUTING");
- public static final javax.xml.namespace.QName _value12 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EMAIL_TO_CASE_LIMIT_EXCEEDED");
- public static final javax.xml.namespace.QName _value13 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EMAIL_TO_CASE_NOT_ENABLED");
- public static final javax.xml.namespace.QName _value14 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EXCEEDED_ID_LIMIT");
- public static final javax.xml.namespace.QName _value15 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EXCEEDED_LEAD_CONVERT_LIMIT");
- public static final javax.xml.namespace.QName _value16 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EXCEEDED_MAX_SIZE_REQUEST");
- public static final javax.xml.namespace.QName _value17 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EXCEEDED_MAX_TYPES_LIMIT");
- public static final javax.xml.namespace.QName _value18 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}EXCEEDED_QUOTA");
- public static final javax.xml.namespace.QName _value19 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}FUNCTIONALITY_NOT_ENABLED");
- public static final javax.xml.namespace.QName _value20 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INACTIVE_OWNER_OR_USER");
- public static final javax.xml.namespace.QName _value21 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INACTIVE_PORTAL");
- public static final javax.xml.namespace.QName _value22 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INSUFFICIENT_ACCESS");
- public static final javax.xml.namespace.QName _value23 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_ASSIGNMENT_RULE");
- public static final javax.xml.namespace.QName _value24 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_BATCH_SIZE");
- public static final javax.xml.namespace.QName _value25 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_CLIENT");
- public static final javax.xml.namespace.QName _value26 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_CROSS_REFERENCE_KEY");
- public static final javax.xml.namespace.QName _value27 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_FIELD");
- public static final javax.xml.namespace.QName _value28 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_FILTER_LANGUAGE");
- public static final javax.xml.namespace.QName _value29 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_FILTER_VALUE");
- public static final javax.xml.namespace.QName _value30 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_ID_FIELD");
- public static final javax.xml.namespace.QName _value31 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_LOCALE_LANGUAGE");
- public static final javax.xml.namespace.QName _value32 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_LOCATOR");
- public static final javax.xml.namespace.QName _value33 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_LOGIN");
- public static final javax.xml.namespace.QName _value34 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_NEW_PASSWORD");
- public static final javax.xml.namespace.QName _value35 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_OPERATION");
- public static final javax.xml.namespace.QName _value36 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_OPERATION_WITH_EXPIRED_PASSWORD");
- public static final javax.xml.namespace.QName _value37 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_QUERY_FILTER_OPERATOR");
- public static final javax.xml.namespace.QName _value38 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_QUERY_LOCATOR");
- public static final javax.xml.namespace.QName _value39 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_QUERY_SCOPE");
- public static final javax.xml.namespace.QName _value40 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_REPLICATION_DATE");
- public static final javax.xml.namespace.QName _value41 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_SEARCH");
- public static final javax.xml.namespace.QName _value42 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_SEARCH_SCOPE");
- public static final javax.xml.namespace.QName _value43 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_SESSION_ID");
- public static final javax.xml.namespace.QName _value44 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_SOAP_HEADER");
- public static final javax.xml.namespace.QName _value45 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_SSO_GATEWAY_URL");
- public static final javax.xml.namespace.QName _value46 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_TYPE");
- public static final javax.xml.namespace.QName _value47 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}INVALID_TYPE_FOR_OPERATION");
- public static final javax.xml.namespace.QName _value48 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}LIMIT_EXCEEDED");
- public static final javax.xml.namespace.QName _value49 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}LOGIN_CHALLENGE_ISSUED");
- public static final javax.xml.namespace.QName _value50 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}LOGIN_CHALLENGE_PENDING");
- public static final javax.xml.namespace.QName _value51 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}LOGIN_DURING_RESTRICTED_DOMAIN");
- public static final javax.xml.namespace.QName _value52 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}LOGIN_DURING_RESTRICTED_TIME");
- public static final javax.xml.namespace.QName _value53 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}LOGIN_MUST_USE_SECURITY_TOKEN");
- public static final javax.xml.namespace.QName _value54 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}MALFORMED_ID");
- public static final javax.xml.namespace.QName _value55 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}MALFORMED_QUERY");
- public static final javax.xml.namespace.QName _value56 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}MALFORMED_SEARCH");
- public static final javax.xml.namespace.QName _value57 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}MISSING_ARGUMENT");
- public static final javax.xml.namespace.QName _value58 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}NOT_MODIFIED");
- public static final javax.xml.namespace.QName _value59 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}NO_SOFTPHONE_LAYOUT");
- public static final javax.xml.namespace.QName _value60 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}NUMBER_OUTSIDE_VALID_RANGE");
- public static final javax.xml.namespace.QName _value61 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}OPERATION_TOO_LARGE");
- public static final javax.xml.namespace.QName _value62 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}ORG_LOCKED");
- public static final javax.xml.namespace.QName _value63 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}ORG_NOT_OWNED_BY_INSTANCE");
- public static final javax.xml.namespace.QName _value64 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}PASSWORD_LOCKOUT");
- public static final javax.xml.namespace.QName _value65 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}PORTAL_NO_ACCESS");
- public static final javax.xml.namespace.QName _value66 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}QUERY_TIMEOUT");
- public static final javax.xml.namespace.QName _value67 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}QUERY_TOO_COMPLICATED");
- public static final javax.xml.namespace.QName _value68 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}REQUEST_LIMIT_EXCEEDED");
- public static final javax.xml.namespace.QName _value69 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}REQUEST_RUNNING_TOO_LONG");
- public static final javax.xml.namespace.QName _value70 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}SERVER_UNAVAILABLE");
- public static final javax.xml.namespace.QName _value71 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}SSO_SERVICE_DOWN");
- public static final javax.xml.namespace.QName _value72 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}TOO_MANY_APEX_REQUESTS");
- public static final javax.xml.namespace.QName _value73 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}TRIAL_EXPIRED");
- public static final javax.xml.namespace.QName _value74 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}UNKNOWN_EXCEPTION");
- public static final javax.xml.namespace.QName _value75 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}UNSUPPORTED_API_VERSION");
- public static final javax.xml.namespace.QName _value76 =
javax.xml.namespace.QName.valueOf("{urn:fault.partner.soap.sforce.com}UNSUPPORTED_CLIENT");
- public static final FaultCode value1 = new FaultCode(_value1);
- public static final FaultCode value2 = new FaultCode(_value2);
- public static final FaultCode value3 = new FaultCode(_value3);
- public static final FaultCode value4 = new FaultCode(_value4);
- public static final FaultCode value5 = new FaultCode(_value5);
- public static final FaultCode value6 = new FaultCode(_value6);
- public static final FaultCode value7 = new FaultCode(_value7);
- public static final FaultCode value8 = new FaultCode(_value8);
- public static final FaultCode value9 = new FaultCode(_value9);
- public static final FaultCode value10 = new FaultCode(_value10);
- public static final FaultCode value11 = new FaultCode(_value11);
- public static final FaultCode value12 = new FaultCode(_value12);
- public static final FaultCode value13 = new FaultCode(_value13);
- public static final FaultCode value14 = new FaultCode(_value14);
- public static final FaultCode value15 = new FaultCode(_value15);
- public static final FaultCode value16 = new FaultCode(_value16);
- public static final FaultCode value17 = new FaultCode(_value17);
- public static final FaultCode value18 = new FaultCode(_value18);
- public static final FaultCode value19 = new FaultCode(_value19);
- public static final FaultCode value20 = new FaultCode(_value20);
- public static final FaultCode value21 = new FaultCode(_value21);
- public static final FaultCode value22 = new FaultCode(_value22);
- public static final FaultCode value23 = new FaultCode(_value23);
- public static final FaultCode value24 = new FaultCode(_value24);
- public static final FaultCode value25 = new FaultCode(_value25);
- public static final FaultCode value26 = new FaultCode(_value26);
- public static final FaultCode value27 = new FaultCode(_value27);
- public static final FaultCode value28 = new FaultCode(_value28);
- public static final FaultCode value29 = new FaultCode(_value29);
- public static final FaultCode value30 = new FaultCode(_value30);
- public static final FaultCode value31 = new FaultCode(_value31);
- public static final FaultCode value32 = new FaultCode(_value32);
- public static final FaultCode value33 = new FaultCode(_value33);
- public static final FaultCode value34 = new FaultCode(_value34);
- public static final FaultCode value35 = new FaultCode(_value35);
- public static final FaultCode value36 = new FaultCode(_value36);
- public static final FaultCode value37 = new FaultCode(_value37);
- public static final FaultCode value38 = new FaultCode(_value38);
- public static final FaultCode value39 = new FaultCode(_value39);
- public static final FaultCode value40 = new FaultCode(_value40);
- public static final FaultCode value41 = new FaultCode(_value41);
- public static final FaultCode value42 = new FaultCode(_value42);
- public static final FaultCode value43 = new FaultCode(_value43);
- public static final FaultCode value44 = new FaultCode(_value44);
- public static final FaultCode value45 = new FaultCode(_value45);
- public static final FaultCode value46 = new FaultCode(_value46);
- public static final FaultCode value47 = new FaultCode(_value47);
- public static final FaultCode value48 = new FaultCode(_value48);
- public static final FaultCode value49 = new FaultCode(_value49);
- public static final FaultCode value50 = new FaultCode(_value50);
- public static final FaultCode value51 = new FaultCode(_value51);
- public static final FaultCode value52 = new FaultCode(_value52);
- public static final FaultCode value53 = new FaultCode(_value53);
- public static final FaultCode value54 = new FaultCode(_value54);
- public static final FaultCode value55 = new FaultCode(_value55);
- public static final FaultCode value56 = new FaultCode(_value56);
- public static final FaultCode value57 = new FaultCode(_value57);
- public static final FaultCode value58 = new FaultCode(_value58);
- public static final FaultCode value59 = new FaultCode(_value59);
- public static final FaultCode value60 = new FaultCode(_value60);
- public static final FaultCode value61 = new FaultCode(_value61);
- public static final FaultCode value62 = new FaultCode(_value62);
- public static final FaultCode value63 = new FaultCode(_value63);
- public static final FaultCode value64 = new FaultCode(_value64);
- public static final FaultCode value65 = new FaultCode(_value65);
- public static final FaultCode value66 = new FaultCode(_value66);
- public static final FaultCode value67 = new FaultCode(_value67);
- public static final FaultCode value68 = new FaultCode(_value68);
- public static final FaultCode value69 = new FaultCode(_value69);
- public static final FaultCode value70 = new FaultCode(_value70);
- public static final FaultCode value71 = new FaultCode(_value71);
- public static final FaultCode value72 = new FaultCode(_value72);
- public static final FaultCode value73 = new FaultCode(_value73);
- public static final FaultCode value74 = new FaultCode(_value74);
- public static final FaultCode value75 = new FaultCode(_value75);
- public static final FaultCode value76 = new FaultCode(_value76);
- public javax.xml.namespace.QName getValue() { return _value_;}
- public static FaultCode fromValue(javax.xml.namespace.QName value)
- throws java.lang.IllegalArgumentException {
- FaultCode enumeration = (FaultCode)
- _table_.get(value);
- if (enumeration==null) throw new java.lang.IllegalArgumentException();
- return enumeration;
- }
- public static FaultCode fromString(java.lang.String value)
- throws java.lang.IllegalArgumentException {
- try {
- return fromValue(javax.xml.namespace.QName.valueOf(value));
- } catch (Exception e) {
- throw new java.lang.IllegalArgumentException();
- }
- }
- public boolean equals(java.lang.Object obj) {return (obj == this);}
- public int hashCode() { return toString().hashCode();}
- public java.lang.String toString() { return _value_.toString();}
- public java.lang.Object readResolve() throws java.io.ObjectStreamException { return
fromValue(_value_);}
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumSerializer(
- _javaType, _xmlType);
- }
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.EnumDeserializer(
- _javaType, _xmlType);
- }
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(FaultCode.class);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"FaultCode"));
- }
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
-}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidFieldFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidFieldFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidFieldFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,99 +1,32 @@
-/**
- * InvalidFieldFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class InvalidFieldFault extends com.sforce.soap.partner.fault.ApiQueryFault
implements java.io.Serializable {
- public InvalidFieldFault() {
- }
-
- public InvalidFieldFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage,
- int row,
- int column) {
- super(
- exceptionCode,
- exceptionMessage,
- row,
- column);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof InvalidFieldFault)) return false;
- InvalidFieldFault other = (InvalidFieldFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(InvalidFieldFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidFieldFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InvalidFieldFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="InvalidFieldFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiQueryFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InvalidFieldFault")
+public class InvalidFieldFault
+ extends ApiQueryFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidIdFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidIdFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidIdFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,95 +1,32 @@
-/**
- * InvalidIdFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class InvalidIdFault extends com.sforce.soap.partner.fault.ApiFault implements
java.io.Serializable {
- public InvalidIdFault() {
- }
-
- public InvalidIdFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage) {
- super(
- exceptionCode,
- exceptionMessage);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof InvalidIdFault)) return false;
- InvalidIdFault other = (InvalidIdFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(InvalidIdFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidIdFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InvalidIdFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="InvalidIdFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InvalidIdFault")
+public class InvalidIdFault
+ extends ApiFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidNewPasswordFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidNewPasswordFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidNewPasswordFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,95 +1,32 @@
-/**
- * InvalidNewPasswordFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class InvalidNewPasswordFault extends com.sforce.soap.partner.fault.ApiFault
implements java.io.Serializable {
- public InvalidNewPasswordFault() {
- }
-
- public InvalidNewPasswordFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage) {
- super(
- exceptionCode,
- exceptionMessage);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof InvalidNewPasswordFault)) return false;
- InvalidNewPasswordFault other = (InvalidNewPasswordFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(InvalidNewPasswordFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidNewPasswordFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InvalidNewPasswordFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="InvalidNewPasswordFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InvalidNewPasswordFault")
+public class InvalidNewPasswordFault
+ extends ApiFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidQueryLocatorFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidQueryLocatorFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidQueryLocatorFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,95 +1,32 @@
-/**
- * InvalidQueryLocatorFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class InvalidQueryLocatorFault extends com.sforce.soap.partner.fault.ApiFault
implements java.io.Serializable {
- public InvalidQueryLocatorFault() {
- }
-
- public InvalidQueryLocatorFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage) {
- super(
- exceptionCode,
- exceptionMessage);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof InvalidQueryLocatorFault)) return false;
- InvalidQueryLocatorFault other = (InvalidQueryLocatorFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(InvalidQueryLocatorFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InvalidQueryLocatorFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="InvalidQueryLocatorFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InvalidQueryLocatorFault")
+public class InvalidQueryLocatorFault
+ extends ApiFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidSObjectFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidSObjectFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/InvalidSObjectFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,99 +1,32 @@
-/**
- * InvalidSObjectFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class InvalidSObjectFault extends com.sforce.soap.partner.fault.ApiQueryFault
implements java.io.Serializable {
- public InvalidSObjectFault() {
- }
-
- public InvalidSObjectFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage,
- int row,
- int column) {
- super(
- exceptionCode,
- exceptionMessage,
- row,
- column);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof InvalidSObjectFault)) return false;
- InvalidSObjectFault other = (InvalidSObjectFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(InvalidSObjectFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"InvalidSObjectFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for InvalidSObjectFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="InvalidSObjectFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiQueryFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InvalidSObjectFault")
+public class InvalidSObjectFault
+ extends ApiQueryFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/LoginFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/LoginFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/LoginFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,95 +1,32 @@
-/**
- * LoginFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class LoginFault extends com.sforce.soap.partner.fault.ApiFault implements
java.io.Serializable {
- public LoginFault() {
- }
-
- public LoginFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage) {
- super(
- exceptionCode,
- exceptionMessage);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof LoginFault)) return false;
- LoginFault other = (LoginFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(LoginFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"LoginFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for LoginFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="LoginFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "LoginFault")
+public class LoginFault
+ extends ApiFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedQueryFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedQueryFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedQueryFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,99 +1,32 @@
-/**
- * MalformedQueryFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class MalformedQueryFault extends com.sforce.soap.partner.fault.ApiQueryFault
implements java.io.Serializable {
- public MalformedQueryFault() {
- }
-
- public MalformedQueryFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage,
- int row,
- int column) {
- super(
- exceptionCode,
- exceptionMessage,
- row,
- column);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof MalformedQueryFault)) return false;
- MalformedQueryFault other = (MalformedQueryFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(MalformedQueryFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedQueryFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MalformedQueryFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="MalformedQueryFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiQueryFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MalformedQueryFault")
+public class MalformedQueryFault
+ extends ApiQueryFault
+{
+
+
+}
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedSearchFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedSearchFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/MalformedSearchFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,99 +1,32 @@
-/**
- * MalformedSearchFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class MalformedSearchFault extends com.sforce.soap.partner.fault.ApiQueryFault
implements java.io.Serializable {
- public MalformedSearchFault() {
- }
-
- public MalformedSearchFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage,
- int row,
- int column) {
- super(
- exceptionCode,
- exceptionMessage,
- row,
- column);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof MalformedSearchFault)) return false;
- MalformedSearchFault other = (MalformedSearchFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(MalformedSearchFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"MalformedSearchFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MalformedSearchFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="MalformedSearchFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiQueryFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "MalformedSearchFault")
+public class MalformedSearchFault
+ extends ApiQueryFault
+{
+
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ObjectFactory.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ObjectFactory.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ObjectFactory.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,223 @@
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.sforce.soap.partner.fault package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _UnexpectedErrorFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "UnexpectedErrorFault");
+ private final static QName _Fault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "fault");
+ private final static QName _LoginFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "LoginFault");
+ private final static QName _InvalidQueryLocatorFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com",
"InvalidQueryLocatorFault");
+ private final static QName _InvalidNewPasswordFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com",
"InvalidNewPasswordFault");
+ private final static QName _InvalidSObjectFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "InvalidSObjectFault");
+ private final static QName _MalformedQueryFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "MalformedQueryFault");
+ private final static QName _InvalidIdFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "InvalidIdFault");
+ private final static QName _InvalidFieldFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "InvalidFieldFault");
+ private final static QName _MalformedSearchFault_QNAME = new
QName("urn:fault.partner.soap.sforce.com", "MalformedSearchFault");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: com.sforce.soap.partner.fault
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link ApiQueryFault }
+ *
+ */
+ public ApiQueryFault createApiQueryFault() {
+ return new ApiQueryFault();
+ }
+
+ /**
+ * Create an instance of {@link MalformedSearchFault }
+ *
+ */
+ public MalformedSearchFault createMalformedSearchFault() {
+ return new MalformedSearchFault();
+ }
+
+ /**
+ * Create an instance of {@link InvalidQueryLocatorFault }
+ *
+ */
+ public InvalidQueryLocatorFault createInvalidQueryLocatorFault() {
+ return new InvalidQueryLocatorFault();
+ }
+
+ /**
+ * Create an instance of {@link InvalidNewPasswordFault }
+ *
+ */
+ public InvalidNewPasswordFault createInvalidNewPasswordFault() {
+ return new InvalidNewPasswordFault();
+ }
+
+ /**
+ * Create an instance of {@link InvalidSObjectFault }
+ *
+ */
+ public InvalidSObjectFault createInvalidSObjectFault() {
+ return new InvalidSObjectFault();
+ }
+
+ /**
+ * Create an instance of {@link InvalidIdFault }
+ *
+ */
+ public InvalidIdFault createInvalidIdFault() {
+ return new InvalidIdFault();
+ }
+
+ /**
+ * Create an instance of {@link ApiFault }
+ *
+ */
+ public ApiFault createApiFault() {
+ return new ApiFault();
+ }
+
+ /**
+ * Create an instance of {@link MalformedQueryFault }
+ *
+ */
+ public MalformedQueryFault createMalformedQueryFault() {
+ return new MalformedQueryFault();
+ }
+
+ /**
+ * Create an instance of {@link UnexpectedErrorFault }
+ *
+ */
+ public UnexpectedErrorFault createUnexpectedErrorFault() {
+ return new UnexpectedErrorFault();
+ }
+
+ /**
+ * Create an instance of {@link InvalidFieldFault }
+ *
+ */
+ public InvalidFieldFault createInvalidFieldFault() {
+ return new InvalidFieldFault();
+ }
+
+ /**
+ * Create an instance of {@link LoginFault }
+ *
+ */
+ public LoginFault createLoginFault() {
+ return new LoginFault();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link UnexpectedErrorFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"UnexpectedErrorFault")
+ public JAXBElement<UnexpectedErrorFault>
createUnexpectedErrorFault(UnexpectedErrorFault value) {
+ return new JAXBElement<UnexpectedErrorFault>(_UnexpectedErrorFault_QNAME,
UnexpectedErrorFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ApiFault }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"fault")
+ public JAXBElement<ApiFault> createFault(ApiFault value) {
+ return new JAXBElement<ApiFault>(_Fault_QNAME, ApiFault.class, null,
value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link LoginFault }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"LoginFault")
+ public JAXBElement<LoginFault> createLoginFault(LoginFault value) {
+ return new JAXBElement<LoginFault>(_LoginFault_QNAME, LoginFault.class,
null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link
InvalidQueryLocatorFault }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"InvalidQueryLocatorFault")
+ public JAXBElement<InvalidQueryLocatorFault>
createInvalidQueryLocatorFault(InvalidQueryLocatorFault value) {
+ return new
JAXBElement<InvalidQueryLocatorFault>(_InvalidQueryLocatorFault_QNAME,
InvalidQueryLocatorFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link
InvalidNewPasswordFault }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"InvalidNewPasswordFault")
+ public JAXBElement<InvalidNewPasswordFault>
createInvalidNewPasswordFault(InvalidNewPasswordFault value) {
+ return new
JAXBElement<InvalidNewPasswordFault>(_InvalidNewPasswordFault_QNAME,
InvalidNewPasswordFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link InvalidSObjectFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"InvalidSObjectFault")
+ public JAXBElement<InvalidSObjectFault>
createInvalidSObjectFault(InvalidSObjectFault value) {
+ return new JAXBElement<InvalidSObjectFault>(_InvalidSObjectFault_QNAME,
InvalidSObjectFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link MalformedQueryFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"MalformedQueryFault")
+ public JAXBElement<MalformedQueryFault>
createMalformedQueryFault(MalformedQueryFault value) {
+ return new JAXBElement<MalformedQueryFault>(_MalformedQueryFault_QNAME,
MalformedQueryFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link InvalidIdFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"InvalidIdFault")
+ public JAXBElement<InvalidIdFault> createInvalidIdFault(InvalidIdFault value)
{
+ return new JAXBElement<InvalidIdFault>(_InvalidIdFault_QNAME,
InvalidIdFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link InvalidFieldFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"InvalidFieldFault")
+ public JAXBElement<InvalidFieldFault> createInvalidFieldFault(InvalidFieldFault
value) {
+ return new JAXBElement<InvalidFieldFault>(_InvalidFieldFault_QNAME,
InvalidFieldFault.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link MalformedSearchFault
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:fault.partner.soap.sforce.com", name =
"MalformedSearchFault")
+ public JAXBElement<MalformedSearchFault>
createMalformedSearchFault(MalformedSearchFault value) {
+ return new JAXBElement<MalformedSearchFault>(_MalformedSearchFault_QNAME,
MalformedSearchFault.class, null, value);
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/ObjectFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/UnexpectedErrorFault.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/UnexpectedErrorFault.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/UnexpectedErrorFault.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,95 +1,32 @@
-/**
- * UnexpectedErrorFault.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.fault;
-
-public class UnexpectedErrorFault extends com.sforce.soap.partner.fault.ApiFault
implements java.io.Serializable {
- public UnexpectedErrorFault() {
- }
-
- public UnexpectedErrorFault(
- com.sforce.soap.partner.fault.ExceptionCode exceptionCode,
- java.lang.String exceptionMessage) {
- super(
- exceptionCode,
- exceptionMessage);
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof UnexpectedErrorFault)) return false;
- UnexpectedErrorFault other = (UnexpectedErrorFault) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = super.equals(obj);
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = super.hashCode();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(UnexpectedErrorFault.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:fault.partner.soap.sforce.com",
"UnexpectedErrorFault"));
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-
- /**
- * Writes the exception data to the faultDetails
- */
- public void writeDetails(javax.xml.namespace.QName qname,
org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
- context.serialize(qname, null, this);
- }
-}
+
+package com.sforce.soap.partner.fault;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for UnexpectedErrorFault complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="UnexpectedErrorFault">
+ * <complexContent>
+ * <extension
base="{urn:fault.partner.soap.sforce.com}ApiFault">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "UnexpectedErrorFault")
+public class UnexpectedErrorFault
+ extends ApiFault
+{
+
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/package-info.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/package-info.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/package-info.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace =
"urn:fault.partner.soap.sforce.com", elementFormDefault =
javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package com.sforce.soap.partner.fault;
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/fault/package-info.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/package-info.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/package-info.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/package-info.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "urn:partner.soap.sforce.com",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package com.sforce.soap.partner;
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/package-info.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/ObjectFactory.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/ObjectFactory.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/ObjectFactory.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,40 @@
+
+package com.sforce.soap.partner.sobject;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.sforce.soap.partner.sobject package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: com.sforce.soap.partner.sobject
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link SObject }
+ *
+ */
+ public SObject createSObject() {
+ return new SObject();
+ }
+
+}
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/ObjectFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/SObject.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/SObject.java 2010-02-19
02:29:42 UTC (rev 1843)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/SObject.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -1,247 +1,161 @@
-/**
- * SObject.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
- */
-
-package com.sforce.soap.partner.sobject;
-
-public class SObject implements java.io.Serializable,
org.apache.axis.encoding.AnyContentType {
- private java.lang.String type;
-
- private java.lang.String[] fieldsToNull;
-
- private java.lang.String id;
-
- private org.apache.axis.message.MessageElement [] _any;
-
- public SObject() {
- }
-
- public SObject(
- java.lang.String type,
- java.lang.String[] fieldsToNull,
- java.lang.String id,
- org.apache.axis.message.MessageElement [] _any) {
- this.type = type;
- this.fieldsToNull = fieldsToNull;
- this.id = id;
- this._any = _any;
- }
-
-
- /**
- * Gets the type value for this SObject.
- *
- * @return type
- */
- public java.lang.String getType() {
- return type;
- }
-
-
- /**
- * Sets the type value for this SObject.
- *
- * @param type
- */
- public void setType(java.lang.String type) {
- this.type = type;
- }
-
-
- /**
- * Gets the fieldsToNull value for this SObject.
- *
- * @return fieldsToNull
- */
- public java.lang.String[] getFieldsToNull() {
- return fieldsToNull;
- }
-
-
- /**
- * Sets the fieldsToNull value for this SObject.
- *
- * @param fieldsToNull
- */
- public void setFieldsToNull(java.lang.String[] fieldsToNull) {
- this.fieldsToNull = fieldsToNull;
- }
-
- public java.lang.String getFieldsToNull(int i) {
- return this.fieldsToNull[i];
- }
-
- public void setFieldsToNull(int i, java.lang.String _value) {
- this.fieldsToNull[i] = _value;
- }
-
-
- /**
- * Gets the id value for this SObject.
- *
- * @return id
- */
- public java.lang.String getId() {
- return id;
- }
-
-
- /**
- * Sets the id value for this SObject.
- *
- * @param id
- */
- public void setId(java.lang.String id) {
- this.id = id;
- }
-
-
- /**
- * Gets the _any value for this SObject.
- *
- * @return _any
- */
- public org.apache.axis.message.MessageElement [] get_any() {
- return _any;
- }
-
-
- /**
- * Sets the _any value for this SObject.
- *
- * @param _any
- */
- public void set_any(org.apache.axis.message.MessageElement [] _any) {
- this._any = _any;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof SObject)) return false;
- SObject other = (SObject) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.type==null && other.getType()==null) ||
- (this.type!=null &&
- this.type.equals(other.getType()))) &&
- ((this.fieldsToNull==null && other.getFieldsToNull()==null) ||
- (this.fieldsToNull!=null &&
- java.util.Arrays.equals(this.fieldsToNull, other.getFieldsToNull())))
&&
- ((this.id==null && other.getId()==null) ||
- (this.id!=null &&
- this.id.equals(other.getId()))) &&
- ((this._any==null && other.get_any()==null) ||
- (this._any!=null &&
- java.util.Arrays.equals(this._any, other.get_any())));
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getType() != null) {
- _hashCode += getType().hashCode();
- }
- if (getFieldsToNull() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(getFieldsToNull());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(getFieldsToNull(),
i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- if (getId() != null) {
- _hashCode += getId().hashCode();
- }
- if (get_any() != null) {
- for (int i=0;
- i<java.lang.reflect.Array.getLength(get_any());
- i++) {
- java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
- if (obj != null &&
- !obj.getClass().isArray()) {
- _hashCode += obj.hashCode();
- }
- }
- }
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(SObject.class, true);
-
- static {
- typeDesc.setXmlType(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"sObject"));
- org.apache.axis.description.ElementDesc elemField = new
org.apache.axis.description.ElementDesc();
- elemField.setFieldName("type");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"type"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("fieldsToNull");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"fieldsToNull"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setMinOccurs(0);
- elemField.setNillable(true);
- elemField.setMaxOccursUnbounded(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("id");
- elemField.setXmlName(new
javax.xml.namespace.QName("urn:sobject.partner.soap.sforce.com",
"Id"));
- elemField.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+
+package com.sforce.soap.partner.sobject;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for sObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="sObject">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="type"
type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="fieldsToNull"
type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"
minOccurs="0"/>
+ * <element name="Id"
type="{urn:partner.soap.sforce.com}ID"/>
+ * <any processContents='lax'
namespace='urn:sobject.partner.soap.sforce.com' maxOccurs="unbounded"
minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "sObject", propOrder = {
+ "type",
+ "fieldsToNull",
+ "id",
+ "any"
+})
+public class SObject {
+
+ @XmlElement(required = true)
+ protected String type;
+ @XmlElement(nillable = true)
+ protected List<String> fieldsToNull;
+ @XmlElement(name = "Id", required = true, nillable = true)
+ protected String id;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the fieldsToNull property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the
fieldsToNull property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFieldsToNull().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getFieldsToNull() {
+ if (fieldsToNull == null) {
+ fieldsToNull = new ArrayList<String>();
+ }
+ return this.fieldsToNull;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any
property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+}
Added:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/package-info.java
===================================================================
---
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/package-info.java
(rev 0)
+++
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/package-info.java 2010-02-19
16:05:32 UTC (rev 1844)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace =
"urn:sobject.partner.soap.sforce.com", elementFormDefault =
javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package com.sforce.soap.partner.sobject;
Property changes on:
branches/JCA/connectors/salesforce-api/src/main/java/com/sforce/soap/partner/sobject/package-info.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain