All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.GetDeleted_element Maven / Gradle / Ivy

There is a newer version: 30.0.0
Show newest version
package com.sforce.soap.tooling;

/**
 * Generated by ComplexTypeCodeGenerator.java. Please do not edit.
 */
public class GetDeleted_element implements com.sforce.ws.bind.XMLizable {

    /**
     * Constructor
     */
    public GetDeleted_element() {}

    /**
     * element : sObjectType of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private static final com.sforce.ws.bind.TypeInfo sObjectType__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","sObjectType","http://www.w3.org/2001/XMLSchema","string",1,1,true);

    private boolean sObjectType__is_set = false;

    private java.lang.String sObjectType;

    public java.lang.String getSObjectType() {
      return sObjectType;
    }

    public void setSObjectType(java.lang.String sObjectType) {
      this.sObjectType = sObjectType;
      sObjectType__is_set = true;
    }

    /**
     * element : start of type {http://www.w3.org/2001/XMLSchema}dateTime
     * java type: java.util.Calendar
     */
    private static final com.sforce.ws.bind.TypeInfo start__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","start","http://www.w3.org/2001/XMLSchema","dateTime",1,1,true);

    private boolean start__is_set = false;

    private java.util.Calendar start;

    public java.util.Calendar getStart() {
      return start;
    }

    public void setStart(java.util.Calendar start) {
      this.start = start;
      start__is_set = true;
    }

    /**
     * element : end of type {http://www.w3.org/2001/XMLSchema}dateTime
     * java type: java.util.Calendar
     */
    private static final com.sforce.ws.bind.TypeInfo end__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","end","http://www.w3.org/2001/XMLSchema","dateTime",1,1,true);

    private boolean end__is_set = false;

    private java.util.Calendar end;

    public java.util.Calendar getEnd() {
      return end;
    }

    public void setEnd(java.util.Calendar end) {
      this.end = end;
      end__is_set = true;
    }

    /**
     */
    @Override
    public void write(javax.xml.namespace.QName __element,
        com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
        throws java.io.IOException {
      __out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
      writeFields(__out, __typeMapper);
      __out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
    }

    protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
         com.sforce.ws.bind.TypeMapper __typeMapper)
         throws java.io.IOException {
       __typeMapper.writeString(__out, sObjectType__typeInfo, sObjectType, sObjectType__is_set);
       __typeMapper.writeObject(__out, start__typeInfo, start, start__is_set);
       __typeMapper.writeObject(__out, end__typeInfo, end, end__is_set);
    }

    @Override
    public void load(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __typeMapper.consumeStartTag(__in);
      loadFields(__in, __typeMapper);
      __typeMapper.consumeEndTag(__in);
    }

    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(__typeMapper.readString(__in, sObjectType__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.verifyElement(__in, start__typeInfo)) {
            setStart((java.util.Calendar)__typeMapper.readObject(__in, start__typeInfo, java.util.Calendar.class));
        }
        __in.peekTag();
        if (__typeMapper.verifyElement(__in, end__typeInfo)) {
            setEnd((java.util.Calendar)__typeMapper.readObject(__in, end__typeInfo, java.util.Calendar.class));
        }
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[GetDeleted_element ");
      sb.append(" sObjectType=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(sObjectType)+"'\n");
      sb.append(" start=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(start)+"'\n");
      sb.append(" end=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(end)+"'\n");
      sb.append("]\n");
      return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy