コード例 #1
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, label__typeInfo)) {
     setLabel(
         (java.lang.String)
             __typeMapper.readString(__in, label__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, logoUrl__typeInfo)) {
     setLogoUrl(
         (java.lang.String)
             __typeMapper.readString(__in, logoUrl__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, namespace__typeInfo)) {
     setNamespace(
         (java.lang.String)
             __typeMapper.readString(__in, namespace__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, selected__typeInfo)) {
     setSelected((boolean) __typeMapper.readBoolean(__in, selected__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, tabs__typeInfo)) {
     setTabs(
         (com.sforce.soap.partner.DescribeTab[])
             __typeMapper.readObject(
                 __in, tabs__typeInfo, com.sforce.soap.partner.DescribeTab[].class));
   }
 }
コード例 #2
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, MemberId__typeInfo)) {
     setMemberId(__typeMapper.readString(__in, MemberId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, TeamRoleId__typeInfo)) {
     setTeamRoleId(__typeMapper.readString(__in, TeamRoleId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, TeamTemplateId__typeInfo)) {
     setTeamTemplateId(
         __typeMapper.readString(__in, TeamTemplateId__typeInfo, java.lang.String.class));
   }
 }
コード例 #3
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.Name)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.Name.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Field__typeInfo)) {
     setField(__typeMapper.readString(__in, Field__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, NewValue__typeInfo)) {
     setNewValue(
         (java.lang.Object)
             __typeMapper.readObject(__in, NewValue__typeInfo, java.lang.Object.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, OldValue__typeInfo)) {
     setOldValue(
         (java.lang.Object)
             __typeMapper.readObject(__in, OldValue__typeInfo, java.lang.Object.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Parent__typeInfo)) {
     setParent(
         (com.sforce.soap.enterprise.sobject.Servicio__c)
             __typeMapper.readObject(
                 __in, Parent__typeInfo, com.sforce.soap.enterprise.sobject.Servicio__c.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ParentId__typeInfo)) {
     setParentId(__typeMapper.readString(__in, ParentId__typeInfo, java.lang.String.class));
   }
 }
コード例 #4
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, keyPrefix__typeInfo)) {
     setKeyPrefix(__typeMapper.readString(__in, keyPrefix__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, name__typeInfo)) {
     setName(__typeMapper.readString(__in, name__typeInfo, java.lang.String.class));
   }
 }
コード例 #5
0
ファイル: WorkflowAlert.java プロジェクト: abhishekbunty/g2
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, ccEmails__typeInfo)) {
     setCcEmails(
         (java.lang.String[])
             __typeMapper.readObject(__in, ccEmails__typeInfo, java.lang.String[].class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, description__typeInfo)) {
     setDescription(
         (java.lang.String)
             __typeMapper.readString(__in, description__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, _protected__typeInfo)) {
     setProtected((boolean) __typeMapper.readBoolean(__in, _protected__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, recipients__typeInfo)) {
     setRecipients(
         (com.sforce.soap.metadata.WorkflowEmailRecipient[])
             __typeMapper.readObject(
                 __in,
                 recipients__typeInfo,
                 com.sforce.soap.metadata.WorkflowEmailRecipient[].class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, senderAddress__typeInfo)) {
     setSenderAddress(
         (java.lang.String)
             __typeMapper.readString(__in, senderAddress__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, senderType__typeInfo)) {
     setSenderType(
         (com.sforce.soap.metadata.ActionEmailSenderType)
             __typeMapper.readObject(
                 __in,
                 senderType__typeInfo,
                 com.sforce.soap.metadata.ActionEmailSenderType.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, template__typeInfo)) {
     setTemplate(
         (java.lang.String)
             __typeMapper.readString(__in, template__typeInfo, java.lang.String.class));
   }
 }
コード例 #6
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, editable__typeInfo)) {
     setEditable((boolean) __typeMapper.readBoolean(__in, editable__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, label__typeInfo)) {
     setLabel(
         (java.lang.String)
             __typeMapper.readString(__in, label__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, layoutComponents__typeInfo)) {
     setLayoutComponents(
         (com.sforce.soap.enterprise.DescribeLayoutComponent[])
             __typeMapper.readObject(
                 __in,
                 layoutComponents__typeInfo,
                 com.sforce.soap.enterprise.DescribeLayoutComponent[].class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, placeholder__typeInfo)) {
     setPlaceholder(
         (boolean) __typeMapper.readBoolean(__in, placeholder__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, required__typeInfo)) {
     setRequired((boolean) __typeMapper.readBoolean(__in, required__typeInfo, boolean.class));
   }
 }
コード例 #7
0
 protected void setLabel(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, label__typeInfo)) {
     setLabel(__typeMapper.readString(__in, label__typeInfo, java.lang.String.class));
   }
 }
コード例 #8
0
ファイル: QueueSobject.java プロジェクト: abhishekbunty/g2
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(
         (java.lang.String)
             __typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Queue__typeInfo)) {
     setQueue(
         (com.sforce.soap.enterprise.sobject.Group)
             __typeMapper.readObject(
                 __in, Queue__typeInfo, com.sforce.soap.enterprise.sobject.Group.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, QueueId__typeInfo)) {
     setQueueId(
         (java.lang.String)
             __typeMapper.readString(__in, QueueId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SobjectType__typeInfo)) {
     setSobjectType(
         (java.lang.String)
             __typeMapper.readString(__in, SobjectType__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
 }
コード例 #9
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, objectId__typeInfo)) {
     setObjectId(
         (java.lang.String)
             __typeMapper.readString(__in, objectId__typeInfo, java.lang.String.class));
   }
 }
コード例 #10
0
ファイル: RoleOrTerritory.java プロジェクト: abhishekbunty/g2
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, caseAccessLevel__typeInfo)) {
     setCaseAccessLevel(
         (java.lang.String)
             __typeMapper.readString(__in, caseAccessLevel__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, contactAccessLevel__typeInfo)) {
     setContactAccessLevel(
         (java.lang.String)
             __typeMapper.readString(__in, contactAccessLevel__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, description__typeInfo)) {
     setDescription(
         (java.lang.String)
             __typeMapper.readString(__in, description__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, mayForecastManagerShare__typeInfo)) {
     setMayForecastManagerShare(
         (boolean)
             __typeMapper.readBoolean(__in, mayForecastManagerShare__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, opportunityAccessLevel__typeInfo)) {
     setOpportunityAccessLevel(
         (java.lang.String)
             __typeMapper.readString(
                 __in, opportunityAccessLevel__typeInfo, java.lang.String.class));
   }
 }
コード例 #11
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, callTypes__typeInfo)) {
     setCallTypes(
         (com.sforce.soap.partner.DescribeSoftphoneLayoutCallType[])
             __typeMapper.readObject(
                 __in,
                 callTypes__typeInfo,
                 com.sforce.soap.partner.DescribeSoftphoneLayoutCallType[].class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, id__typeInfo)) {
     setId((java.lang.String) __typeMapper.readString(__in, id__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, name__typeInfo, java.lang.String.class));
   }
 }
コード例 #12
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, enabled__typeInfo)) {
     setEnabled((boolean) __typeMapper.readBoolean(__in, enabled__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, name__typeInfo, java.lang.String.class));
   }
 }
コード例 #13
0
  protected void loadFields(
      com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
      throws java.io.IOException, com.sforce.ws.ConnectionException {

    __in.peekTag();
    if (__typeMapper.verifyElement(__in, fieldList__typeInfo)) {
      setFieldList(
          (java.lang.String)
              __typeMapper.readString(__in, fieldList__typeInfo, java.lang.String.class));
    }
    __in.peekTag();
    if (__typeMapper.verifyElement(__in, sObjectType__typeInfo)) {
      setSObjectType(
          (java.lang.String)
              __typeMapper.readString(__in, sObjectType__typeInfo, java.lang.String.class));
    }
    __in.peekTag();
    if (__typeMapper.isElement(__in, ids__typeInfo)) {
      setIds(
          (java.lang.String[])
              __typeMapper.readObject(__in, ids__typeInfo, java.lang.String[].class));
    }
  }
コード例 #14
0
  protected void loadFields(
      com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
      throws java.io.IOException, com.sforce.ws.ConnectionException {

    __in.peekTag();
    if (__typeMapper.isElement(__in, errors__typeInfo)) {
      setErrors((Error[]) __typeMapper.readObject(__in, errors__typeInfo, Error[].class));
    }
    __in.peekTag();
    if (__typeMapper.isElement(__in, id__typeInfo)) {
      setId(__typeMapper.readString(__in, id__typeInfo, String.class));
    }
    __in.peekTag();
    if (__typeMapper.verifyElement(__in, success__typeInfo)) {
      setSuccess(__typeMapper.readBoolean(__in, success__typeInfo, boolean.class));
    }
    __in.peekTag();
    if (__typeMapper.isElement(__in, created__typeInfo)) {
      setCreated(__typeMapper.readBoolean(__in, created__typeInfo, boolean.class));
    }
  }
コード例 #15
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, sObjectType__typeInfo)) {
     setSObjectType(
         (java.lang.String)
             __typeMapper.readString(__in, sObjectType__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, startDate__typeInfo)) {
     setStartDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, startDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, endDate__typeInfo)) {
     setEndDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, endDate__typeInfo, java.util.Calendar.class));
   }
 }
コード例 #16
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, channel__typeInfo)) {
     setChannel(
         (com.sforce.soap.metadata.Channel)
             __typeMapper.readObject(
                 __in, channel__typeInfo, com.sforce.soap.metadata.Channel.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, page__typeInfo)) {
     setPage(
         (java.lang.String) __typeMapper.readString(__in, page__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, template__typeInfo)) {
     setTemplate(
         (com.sforce.soap.metadata.Template)
             __typeMapper.readObject(
                 __in, template__typeInfo, com.sforce.soap.metadata.Template.class));
   }
 }
コード例 #17
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, accountId__typeInfo)) {
     setAccountId(__typeMapper.readString(__in, accountId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, contactId__typeInfo)) {
     setContactId(__typeMapper.readString(__in, contactId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, convertedStatus__typeInfo)) {
     setConvertedStatus(
         __typeMapper.readString(__in, convertedStatus__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, doNotCreateOpportunity__typeInfo)) {
     setDoNotCreateOpportunity(
         __typeMapper.readBoolean(__in, doNotCreateOpportunity__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, leadId__typeInfo)) {
     setLeadId(__typeMapper.readString(__in, leadId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, opportunityName__typeInfo)) {
     setOpportunityName(
         __typeMapper.readString(__in, opportunityName__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, overwriteLeadSource__typeInfo)) {
     setOverwriteLeadSource(
         __typeMapper.readBoolean(__in, overwriteLeadSource__typeInfo, boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, ownerId__typeInfo)) {
     setOwnerId(__typeMapper.readString(__in, ownerId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.verifyElement(__in, sendNotificationEmail__typeInfo)) {
     setSendNotificationEmail(
         __typeMapper.readBoolean(__in, sendNotificationEmail__typeInfo, boolean.class));
   }
 }
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, ActivityHistories__typeInfo)) {
     setActivityHistories(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ActivityHistories__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, AttachedContentDocuments__typeInfo)) {
     setAttachedContentDocuments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 AttachedContentDocuments__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Attachments__typeInfo)) {
     setAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Attachments__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CombinedAttachments__typeInfo)) {
     setCombinedAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 CombinedAttachments__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Events__typeInfo)) {
     setEvents(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Events__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FeedSubscriptionsForEntity__typeInfo)) {
     setFeedSubscriptionsForEntity(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 FeedSubscriptionsForEntity__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Histories__typeInfo)) {
     setHistories(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Histories__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastActivityDate__typeInfo)) {
     setLastActivityDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastActivityDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastReferencedDate__typeInfo)) {
     setLastReferencedDate(
         (java.util.Calendar)
             __typeMapper.readObject(
                 __in, LastReferencedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastViewedDate__typeInfo)) {
     setLastViewedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastViewedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(__typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Notes__typeInfo)) {
     setNotes(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Notes__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, NotesAndAttachments__typeInfo)) {
     setNotesAndAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 NotesAndAttachments__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, OpenActivities__typeInfo)) {
     setOpenActivities(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, OpenActivities__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Owner__typeInfo)) {
     setOwner(
         (com.sforce.soap.enterprise.sobject.Name)
             __typeMapper.readObject(
                 __in, Owner__typeInfo, com.sforce.soap.enterprise.sobject.Name.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, OwnerId__typeInfo)) {
     setOwnerId(__typeMapper.readString(__in, OwnerId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ProcessInstances__typeInfo)) {
     setProcessInstances(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ProcessInstances__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ProcessSteps__typeInfo)) {
     setProcessSteps(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ProcessSteps__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Tasks__typeInfo)) {
     setTasks(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Tasks__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__Description__c__typeInfo)) {
     setCloudswarm__Description__c(
         __typeMapper.readString(
             __in, cloudswarm__Description__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__Notify_on_Swarm__c__typeInfo)) {
     setCloudswarm__Notify_on_Swarm__c(
         (java.lang.Boolean)
             __typeMapper.readObject(
                 __in, cloudswarm__Notify_on_Swarm__c__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__Opportunity_Amount__c__typeInfo)) {
     setCloudswarm__Opportunity_Amount__c(
         (java.lang.Double)
             __typeMapper.readObject(
                 __in, cloudswarm__Opportunity_Amount__c__typeInfo, java.lang.Double.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__Opportunity_Stage__c__typeInfo)) {
     setCloudswarm__Opportunity_Stage__c(
         __typeMapper.readString(
             __in, cloudswarm__Opportunity_Stage__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__Opportunity_Type__c__typeInfo)) {
     setCloudswarm__Opportunity_Type__c(
         __typeMapper.readString(
             __in, cloudswarm__Opportunity_Type__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__Type__c__typeInfo)) {
     setCloudswarm__Type__c(
         __typeMapper.readString(__in, cloudswarm__Type__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__User__c__typeInfo)) {
     setCloudswarm__User__c(
         __typeMapper.readString(__in, cloudswarm__User__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, cloudswarm__User__r__typeInfo)) {
     setCloudswarm__User__r(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in,
                 cloudswarm__User__r__typeInfo,
                 com.sforce.soap.enterprise.sobject.User.class));
   }
 }
コード例 #19
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, Body__typeInfo)) {
     setBody(__typeMapper.readString(__in, Body__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CommentCount__typeInfo)) {
     setCommentCount(
         (java.lang.Integer)
             __typeMapper.readObject(__in, CommentCount__typeInfo, java.lang.Integer.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ContentData__typeInfo)) {
     setContentData((byte[]) __typeMapper.readObject(__in, ContentData__typeInfo, byte[].class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ContentDescription__typeInfo)) {
     setContentDescription(
         __typeMapper.readString(__in, ContentDescription__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ContentFileName__typeInfo)) {
     setContentFileName(
         __typeMapper.readString(__in, ContentFileName__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ContentSize__typeInfo)) {
     setContentSize(
         (java.lang.Integer)
             __typeMapper.readObject(__in, ContentSize__typeInfo, java.lang.Integer.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ContentType__typeInfo)) {
     setContentType(__typeMapper.readString(__in, ContentType__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.Name)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.Name.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FeedComments__typeInfo)) {
     setFeedComments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, FeedComments__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FeedLikes__typeInfo)) {
     setFeedLikes(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, FeedLikes__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FeedTrackedChanges__typeInfo)) {
     setFeedTrackedChanges(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 FeedTrackedChanges__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, InsertedBy__typeInfo)) {
     setInsertedBy(
         (com.sforce.soap.enterprise.sobject.Name)
             __typeMapper.readObject(
                 __in, InsertedBy__typeInfo, com.sforce.soap.enterprise.sobject.Name.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, InsertedById__typeInfo)) {
     setInsertedById(
         __typeMapper.readString(__in, InsertedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LikeCount__typeInfo)) {
     setLikeCount(
         (java.lang.Integer)
             __typeMapper.readObject(__in, LikeCount__typeInfo, java.lang.Integer.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LinkUrl__typeInfo)) {
     setLinkUrl(__typeMapper.readString(__in, LinkUrl__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, NetworkScope__typeInfo)) {
     setNetworkScope(
         __typeMapper.readString(__in, NetworkScope__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Parent__typeInfo)) {
     setParent(
         (com.sforce.soap.enterprise.sobject.Topic)
             __typeMapper.readObject(
                 __in, Parent__typeInfo, com.sforce.soap.enterprise.sobject.Topic.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ParentId__typeInfo)) {
     setParentId(__typeMapper.readString(__in, ParentId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, RelatedRecordId__typeInfo)) {
     setRelatedRecordId(
         __typeMapper.readString(__in, RelatedRecordId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Title__typeInfo)) {
     setTitle(__typeMapper.readString(__in, Title__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Type__typeInfo)) {
     setType(__typeMapper.readString(__in, Type__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Visibility__typeInfo)) {
     setVisibility(__typeMapper.readString(__in, Visibility__typeInfo, java.lang.String.class));
   }
 }
コード例 #20
0
ファイル: CampaignMember.java プロジェクト: abhishekbunty/g2
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, Campaign__typeInfo)) {
     setCampaign(
         (com.sforce.soap.enterprise.sobject.Campaign)
             __typeMapper.readObject(
                 __in, Campaign__typeInfo, com.sforce.soap.enterprise.sobject.Campaign.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CampaignId__typeInfo)) {
     setCampaignId(
         (java.lang.String)
             __typeMapper.readString(__in, CampaignId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Contact__typeInfo)) {
     setContact(
         (com.sforce.soap.enterprise.sobject.Contact)
             __typeMapper.readObject(
                 __in, Contact__typeInfo, com.sforce.soap.enterprise.sobject.Contact.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ContactId__typeInfo)) {
     setContactId(
         (java.lang.String)
             __typeMapper.readString(__in, ContactId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(
         (java.lang.String)
             __typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FirstRespondedDate__typeInfo)) {
     setFirstRespondedDate(
         (java.util.Calendar)
             __typeMapper.readObject(
                 __in, FirstRespondedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, HasResponded__typeInfo)) {
     setHasResponded(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, HasResponded__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         (java.lang.String)
             __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Lead__typeInfo)) {
     setLead(
         (com.sforce.soap.enterprise.sobject.Lead)
             __typeMapper.readObject(
                 __in, Lead__typeInfo, com.sforce.soap.enterprise.sobject.Lead.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LeadId__typeInfo)) {
     setLeadId(
         (java.lang.String)
             __typeMapper.readString(__in, LeadId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Status__typeInfo)) {
     setStatus(
         (java.lang.String)
             __typeMapper.readString(__in, Status__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
 }
コード例 #21
0
ファイル: Pricebook2.java プロジェクト: abhishekbunty/g2
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(
         (java.lang.String)
             __typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Description__typeInfo)) {
     setDescription(
         (java.lang.String)
             __typeMapper.readString(__in, Description__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsActive__typeInfo)) {
     setIsActive(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsActive__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsStandard__typeInfo)) {
     setIsStandard(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsStandard__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         (java.lang.String)
             __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Opportunities__typeInfo)) {
     setOpportunities(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Opportunities__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, PricebookEntries__typeInfo)) {
     setPricebookEntries(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, PricebookEntries__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
 }
コード例 #22
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, ActivityHistories__typeInfo)) {
     setActivityHistories(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ActivityHistories__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, AttachedContentDocuments__typeInfo)) {
     setAttachedContentDocuments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 AttachedContentDocuments__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Attachments__typeInfo)) {
     setAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Attachments__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CaseSolutions__typeInfo)) {
     setCaseSolutions(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, CaseSolutions__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CombinedAttachments__typeInfo)) {
     setCombinedAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 CombinedAttachments__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Events__typeInfo)) {
     setEvents(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Events__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FeedSubscriptionsForEntity__typeInfo)) {
     setFeedSubscriptionsForEntity(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 FeedSubscriptionsForEntity__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Feeds__typeInfo)) {
     setFeeds(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Feeds__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Histories__typeInfo)) {
     setHistories(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Histories__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsHtml__typeInfo)) {
     setIsHtml(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsHtml__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsPublished__typeInfo)) {
     setIsPublished(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsPublished__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsPublishedInPublicKb__typeInfo)) {
     setIsPublishedInPublicKb(
         (java.lang.Boolean)
             __typeMapper.readObject(
                 __in, IsPublishedInPublicKb__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsReviewed__typeInfo)) {
     setIsReviewed(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsReviewed__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastReferencedDate__typeInfo)) {
     setLastReferencedDate(
         (java.util.Calendar)
             __typeMapper.readObject(
                 __in, LastReferencedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastViewedDate__typeInfo)) {
     setLastViewedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastViewedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, OpenActivities__typeInfo)) {
     setOpenActivities(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, OpenActivities__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Owner__typeInfo)) {
     setOwner(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, Owner__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, OwnerId__typeInfo)) {
     setOwnerId(__typeMapper.readString(__in, OwnerId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ProcessInstances__typeInfo)) {
     setProcessInstances(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ProcessInstances__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ProcessSteps__typeInfo)) {
     setProcessSteps(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ProcessSteps__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SolutionName__typeInfo)) {
     setSolutionName(
         __typeMapper.readString(__in, SolutionName__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SolutionNote__typeInfo)) {
     setSolutionNote(
         __typeMapper.readString(__in, SolutionNote__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SolutionNumber__typeInfo)) {
     setSolutionNumber(
         __typeMapper.readString(__in, SolutionNumber__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Status__typeInfo)) {
     setStatus(__typeMapper.readString(__in, Status__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Tasks__typeInfo)) {
     setTasks(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Tasks__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, TimesUsed__typeInfo)) {
     setTimesUsed(
         (java.lang.Integer)
             __typeMapper.readObject(__in, TimesUsed__typeInfo, java.lang.Integer.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Votes__typeInfo)) {
     setVotes(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Votes__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
 }
コード例 #23
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, Attachments__typeInfo)) {
     setAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Attachments__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(
         (java.lang.String)
             __typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         (java.lang.String)
             __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Notes__typeInfo)) {
     setNotes(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Notes__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, NotesAndAttachments__typeInfo)) {
     setNotesAndAttachments(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 NotesAndAttachments__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Owner__typeInfo)) {
     setOwner(
         (com.sforce.soap.enterprise.sobject.Name)
             __typeMapper.readObject(
                 __in, Owner__typeInfo, com.sforce.soap.enterprise.sobject.Name.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, OwnerId__typeInfo)) {
     setOwnerId(
         (java.lang.String)
             __typeMapper.readString(__in, OwnerId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ProcessInstances__typeInfo)) {
     setProcessInstances(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ProcessInstances__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ProcessSteps__typeInfo)) {
     setProcessSteps(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ProcessSteps__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Tags__typeInfo)) {
     setTags(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Tags__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ts2__Name__c__typeInfo)) {
     setTs2__Name__c(
         (java.lang.String)
             __typeMapper.readString(__in, ts2__Name__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ts2__ParentId__c__typeInfo)) {
     setTs2__ParentId__c(
         (java.lang.String)
             __typeMapper.readString(__in, ts2__ParentId__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ts2__ParentId__r__typeInfo)) {
     setTs2__ParentId__r(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, ts2__ParentId__r__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ts2__ParentId_txt__c__typeInfo)) {
     setTs2__ParentId_txt__c(
         (java.lang.String)
             __typeMapper.readString(
                 __in, ts2__ParentId_txt__c__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ts2__TaxonomyId__r__typeInfo)) {
     setTs2__TaxonomyId__r(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 ts2__TaxonomyId__r__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ts2__Taxonomy_ExternalID__c__typeInfo)) {
     setTs2__Taxonomy_ExternalID__c(
         (java.lang.String)
             __typeMapper.readString(
                 __in, ts2__Taxonomy_ExternalID__c__typeInfo, java.lang.String.class));
   }
 }
コード例 #24
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Item__typeInfo)) {
     setItem(
         (com.sforce.soap.enterprise.sobject.JBS_StandardQuestions__c)
             __typeMapper.readObject(
                 __in,
                 Item__typeInfo,
                 com.sforce.soap.enterprise.sobject.JBS_StandardQuestions__c.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ItemId__typeInfo)) {
     setItemId(
         (java.lang.String)
             __typeMapper.readString(__in, ItemId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, TagDefinition__typeInfo)) {
     setTagDefinition(
         (com.sforce.soap.enterprise.sobject.TagDefinition)
             __typeMapper.readObject(
                 __in,
                 TagDefinition__typeInfo,
                 com.sforce.soap.enterprise.sobject.TagDefinition.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, TagDefinitionId__typeInfo)) {
     setTagDefinitionId(
         (java.lang.String)
             __typeMapper.readString(__in, TagDefinitionId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Type__typeInfo)) {
     setType(
         (java.lang.String) __typeMapper.readString(__in, Type__typeInfo, java.lang.String.class));
   }
 }
コード例 #25
0
ファイル: RecordType.java プロジェクト: abhishekbunty/g2
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, BusinessProcessId__typeInfo)) {
     setBusinessProcessId(
         (java.lang.String)
             __typeMapper.readString(__in, BusinessProcessId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(
         (java.lang.String)
             __typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Description__typeInfo)) {
     setDescription(
         (java.lang.String)
             __typeMapper.readString(__in, Description__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, DeveloperName__typeInfo)) {
     setDeveloperName(
         (java.lang.String)
             __typeMapper.readString(__in, DeveloperName__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsActive__typeInfo)) {
     setIsActive(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsActive__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         (java.lang.String)
             __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(
         (java.lang.String) __typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, NamespacePrefix__typeInfo)) {
     setNamespacePrefix(
         (java.lang.String)
             __typeMapper.readString(__in, NamespacePrefix__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SobjectType__typeInfo)) {
     setSobjectType(
         (java.lang.String)
             __typeMapper.readString(__in, SobjectType__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
 }
コード例 #26
0
ファイル: Topic.java プロジェクト: khowling/sfdc-dice-point
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Description__typeInfo)) {
     setDescription(__typeMapper.readString(__in, Description__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, FeedSubscriptionsForEntity__typeInfo)) {
     setFeedSubscriptionsForEntity(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in,
                 FeedSubscriptionsForEntity__typeInfo,
                 com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Feeds__typeInfo)) {
     setFeeds(
         (com.sforce.soap.enterprise.QueryResult)
             __typeMapper.readObject(
                 __in, Feeds__typeInfo, com.sforce.soap.enterprise.QueryResult.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(__typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, NetworkId__typeInfo)) {
     setNetworkId(__typeMapper.readString(__in, NetworkId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, TalkingAbout__typeInfo)) {
     setTalkingAbout(
         (java.lang.Integer)
             __typeMapper.readObject(__in, TalkingAbout__typeInfo, java.lang.Integer.class));
   }
 }
コード例 #27
0
 protected void loadFields(
     com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper)
     throws java.io.IOException, com.sforce.ws.ConnectionException {
   super.loadFields(__in, __typeMapper);
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
     setCreatedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, CreatedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedById__typeInfo)) {
     setCreatedById(__typeMapper.readString(__in, CreatedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, CreatedDate__typeInfo)) {
     setCreatedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, CreatedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, IsDeleted__typeInfo)) {
     setIsDeleted(
         (java.lang.Boolean)
             __typeMapper.readObject(__in, IsDeleted__typeInfo, java.lang.Boolean.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedBy__typeInfo)) {
     setLastModifiedBy(
         (com.sforce.soap.enterprise.sobject.User)
             __typeMapper.readObject(
                 __in, LastModifiedBy__typeInfo, com.sforce.soap.enterprise.sobject.User.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedById__typeInfo)) {
     setLastModifiedById(
         __typeMapper.readString(__in, LastModifiedById__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, LastModifiedDate__typeInfo)) {
     setLastModifiedDate(
         (java.util.Calendar)
             __typeMapper.readObject(__in, LastModifiedDate__typeInfo, java.util.Calendar.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Name__typeInfo)) {
     setName(__typeMapper.readString(__in, Name__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Reason__typeInfo)) {
     setReason(__typeMapper.readString(__in, Reason__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, Reply__typeInfo)) {
     setReply(
         (com.sforce.soap.enterprise.sobject.Reply)
             __typeMapper.readObject(
                 __in, Reply__typeInfo, com.sforce.soap.enterprise.sobject.Reply.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, ReplyId__typeInfo)) {
     setReplyId(__typeMapper.readString(__in, ReplyId__typeInfo, java.lang.String.class));
   }
   __in.peekTag();
   if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
     setSystemModstamp(
         (java.util.Calendar)
             __typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
   }
 }