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

com.sforce.soap.tooling.ProcessResult 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 ProcessResult implements com.sforce.ws.bind.XMLizable {

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

    /**
     * element : actorIds of type {urn:tooling.soap.sforce.com}ID
     * java type: java.lang.String[]
     */
    private static final com.sforce.ws.bind.TypeInfo actorIds__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","actorIds","urn:tooling.soap.sforce.com","ID",0,-1,true);

    private boolean actorIds__is_set = false;

    private java.lang.String[] actorIds = new java.lang.String[0];

    public java.lang.String[] getActorIds() {
      return actorIds;
    }

    public void setActorIds(java.lang.String[] actorIds) {
      this.actorIds = actorIds;
      actorIds__is_set = true;
    }

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

    private boolean entityId__is_set = false;

    private java.lang.String entityId;

    public java.lang.String getEntityId() {
      return entityId;
    }

    public void setEntityId(java.lang.String entityId) {
      this.entityId = entityId;
      entityId__is_set = true;
    }

    /**
     * element : errors of type {urn:tooling.soap.sforce.com}Error
     * java type: com.sforce.soap.tooling.Error[]
     */
    private static final com.sforce.ws.bind.TypeInfo errors__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","errors","urn:tooling.soap.sforce.com","Error",0,-1,true);

    private boolean errors__is_set = false;

    private com.sforce.soap.tooling.Error[] errors = new com.sforce.soap.tooling.Error[0];

    public com.sforce.soap.tooling.Error[] getErrors() {
      return errors;
    }

    public void setErrors(com.sforce.soap.tooling.Error[] errors) {
      this.errors = errors;
      errors__is_set = true;
    }

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

    private boolean instanceId__is_set = false;

    private java.lang.String instanceId;

    public java.lang.String getInstanceId() {
      return instanceId;
    }

    public void setInstanceId(java.lang.String instanceId) {
      this.instanceId = instanceId;
      instanceId__is_set = true;
    }

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

    private boolean instanceStatus__is_set = false;

    private java.lang.String instanceStatus;

    public java.lang.String getInstanceStatus() {
      return instanceStatus;
    }

    public void setInstanceStatus(java.lang.String instanceStatus) {
      this.instanceStatus = instanceStatus;
      instanceStatus__is_set = true;
    }

    /**
     * element : newWorkitemIds of type {urn:tooling.soap.sforce.com}ID
     * java type: java.lang.String[]
     */
    private static final com.sforce.ws.bind.TypeInfo newWorkitemIds__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","newWorkitemIds","urn:tooling.soap.sforce.com","ID",0,-1,true);

    private boolean newWorkitemIds__is_set = false;

    private java.lang.String[] newWorkitemIds = new java.lang.String[0];

    public java.lang.String[] getNewWorkitemIds() {
      return newWorkitemIds;
    }

    public void setNewWorkitemIds(java.lang.String[] newWorkitemIds) {
      this.newWorkitemIds = newWorkitemIds;
      newWorkitemIds__is_set = true;
    }

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

    private boolean success__is_set = false;

    private boolean success;

    public boolean getSuccess() {
      return success;
    }

    public boolean isSuccess() {
      return success;
    }

    public void setSuccess(boolean success) {
      this.success = success;
      success__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.writeObject(__out, actorIds__typeInfo, actorIds, actorIds__is_set);
       __typeMapper.writeString(__out, entityId__typeInfo, entityId, entityId__is_set);
       __typeMapper.writeObject(__out, errors__typeInfo, errors, errors__is_set);
       __typeMapper.writeString(__out, instanceId__typeInfo, instanceId, instanceId__is_set);
       __typeMapper.writeString(__out, instanceStatus__typeInfo, instanceStatus, instanceStatus__is_set);
       __typeMapper.writeObject(__out, newWorkitemIds__typeInfo, newWorkitemIds, newWorkitemIds__is_set);
       __typeMapper.writeBoolean(__out, success__typeInfo, success, success__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.isElement(__in, actorIds__typeInfo)) {
            setActorIds((java.lang.String[])__typeMapper.readObject(__in, actorIds__typeInfo, java.lang.String[].class));
        }
        __in.peekTag();
        if (__typeMapper.verifyElement(__in, entityId__typeInfo)) {
            setEntityId(__typeMapper.readString(__in, entityId__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, errors__typeInfo)) {
            setErrors((com.sforce.soap.tooling.Error[])__typeMapper.readObject(__in, errors__typeInfo, com.sforce.soap.tooling.Error[].class));
        }
        __in.peekTag();
        if (__typeMapper.verifyElement(__in, instanceId__typeInfo)) {
            setInstanceId(__typeMapper.readString(__in, instanceId__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.verifyElement(__in, instanceStatus__typeInfo)) {
            setInstanceStatus(__typeMapper.readString(__in, instanceStatus__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, newWorkitemIds__typeInfo)) {
            setNewWorkitemIds((java.lang.String[])__typeMapper.readObject(__in, newWorkitemIds__typeInfo, java.lang.String[].class));
        }
        __in.peekTag();
        if (__typeMapper.verifyElement(__in, success__typeInfo)) {
            setSuccess(__typeMapper.readBoolean(__in, success__typeInfo, boolean.class));
        }
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[ProcessResult ");
      sb.append(" actorIds=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(actorIds)+"'\n");
      sb.append(" entityId=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(entityId)+"'\n");
      sb.append(" errors=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(errors)+"'\n");
      sb.append(" instanceId=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(instanceId)+"'\n");
      sb.append(" instanceStatus=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(instanceStatus)+"'\n");
      sb.append(" newWorkitemIds=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(newWorkitemIds)+"'\n");
      sb.append(" success=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(success)+"'\n");
      sb.append("]\n");
      return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy