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

com.sforce.soap.tooling.ApexCodeCoverageAggregate 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 ApexCodeCoverageAggregate extends com.sforce.soap.tooling.SObject {

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

    /**
     * element : ApexClassOrTrigger of type {urn:tooling.soap.sforce.com}Name
     * java type: com.sforce.soap.tooling.Name
     */
    private static final com.sforce.ws.bind.TypeInfo ApexClassOrTrigger__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","ApexClassOrTrigger","urn:tooling.soap.sforce.com","Name",0,1,true);

    private boolean ApexClassOrTrigger__is_set = false;

    private com.sforce.soap.tooling.Name ApexClassOrTrigger;

    public com.sforce.soap.tooling.Name getApexClassOrTrigger() {
      return ApexClassOrTrigger;
    }

    public void setApexClassOrTrigger(com.sforce.soap.tooling.Name ApexClassOrTrigger) {
      this.ApexClassOrTrigger = ApexClassOrTrigger;
      ApexClassOrTrigger__is_set = true;
    }

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

    private boolean ApexClassOrTriggerId__is_set = false;

    private java.lang.String ApexClassOrTriggerId;

    public java.lang.String getApexClassOrTriggerId() {
      return ApexClassOrTriggerId;
    }

    public void setApexClassOrTriggerId(java.lang.String ApexClassOrTriggerId) {
      this.ApexClassOrTriggerId = ApexClassOrTriggerId;
      ApexClassOrTriggerId__is_set = true;
    }

    /**
     * element : Coverage of type {urn:tooling.soap.sforce.com}Coverage
     * java type: com.sforce.soap.tooling.Coverage
     */
    private static final com.sforce.ws.bind.TypeInfo Coverage__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","Coverage","urn:tooling.soap.sforce.com","Coverage",0,1,true);

    private boolean Coverage__is_set = false;

    private com.sforce.soap.tooling.Coverage Coverage;

    public com.sforce.soap.tooling.Coverage getCoverage() {
      return Coverage;
    }

    public void setCoverage(com.sforce.soap.tooling.Coverage Coverage) {
      this.Coverage = Coverage;
      Coverage__is_set = true;
    }

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

    private boolean CoverageLastModifiedDate__is_set = false;

    private java.util.Calendar CoverageLastModifiedDate;

    public java.util.Calendar getCoverageLastModifiedDate() {
      return CoverageLastModifiedDate;
    }

    public void setCoverageLastModifiedDate(java.util.Calendar CoverageLastModifiedDate) {
      this.CoverageLastModifiedDate = CoverageLastModifiedDate;
      CoverageLastModifiedDate__is_set = true;
    }

    /**
     * element : CreatedBy of type {urn:tooling.soap.sforce.com}User
     * java type: com.sforce.soap.tooling.User
     */
    private static final com.sforce.ws.bind.TypeInfo CreatedBy__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","CreatedBy","urn:tooling.soap.sforce.com","User",0,1,true);

    private boolean CreatedBy__is_set = false;

    private com.sforce.soap.tooling.User CreatedBy;

    public com.sforce.soap.tooling.User getCreatedBy() {
      return CreatedBy;
    }

    public void setCreatedBy(com.sforce.soap.tooling.User CreatedBy) {
      this.CreatedBy = CreatedBy;
      CreatedBy__is_set = true;
    }

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

    private boolean CreatedById__is_set = false;

    private java.lang.String CreatedById;

    public java.lang.String getCreatedById() {
      return CreatedById;
    }

    public void setCreatedById(java.lang.String CreatedById) {
      this.CreatedById = CreatedById;
      CreatedById__is_set = true;
    }

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

    private boolean CreatedDate__is_set = false;

    private java.util.Calendar CreatedDate;

    public java.util.Calendar getCreatedDate() {
      return CreatedDate;
    }

    public void setCreatedDate(java.util.Calendar CreatedDate) {
      this.CreatedDate = CreatedDate;
      CreatedDate__is_set = true;
    }

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

    private boolean IsDeleted__is_set = false;

    private java.lang.Boolean IsDeleted;

    public java.lang.Boolean getIsDeleted() {
      return IsDeleted;
    }

    public void setIsDeleted(java.lang.Boolean IsDeleted) {
      this.IsDeleted = IsDeleted;
      IsDeleted__is_set = true;
    }

    /**
     * element : LastModifiedBy of type {urn:tooling.soap.sforce.com}User
     * java type: com.sforce.soap.tooling.User
     */
    private static final com.sforce.ws.bind.TypeInfo LastModifiedBy__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","LastModifiedBy","urn:tooling.soap.sforce.com","User",0,1,true);

    private boolean LastModifiedBy__is_set = false;

    private com.sforce.soap.tooling.User LastModifiedBy;

    public com.sforce.soap.tooling.User getLastModifiedBy() {
      return LastModifiedBy;
    }

    public void setLastModifiedBy(com.sforce.soap.tooling.User LastModifiedBy) {
      this.LastModifiedBy = LastModifiedBy;
      LastModifiedBy__is_set = true;
    }

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

    private boolean LastModifiedById__is_set = false;

    private java.lang.String LastModifiedById;

    public java.lang.String getLastModifiedById() {
      return LastModifiedById;
    }

    public void setLastModifiedById(java.lang.String LastModifiedById) {
      this.LastModifiedById = LastModifiedById;
      LastModifiedById__is_set = true;
    }

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

    private boolean LastModifiedDate__is_set = false;

    private java.util.Calendar LastModifiedDate;

    public java.util.Calendar getLastModifiedDate() {
      return LastModifiedDate;
    }

    public void setLastModifiedDate(java.util.Calendar LastModifiedDate) {
      this.LastModifiedDate = LastModifiedDate;
      LastModifiedDate__is_set = true;
    }

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

    private boolean NumLinesCovered__is_set = false;

    private java.lang.Integer NumLinesCovered;

    public java.lang.Integer getNumLinesCovered() {
      return NumLinesCovered;
    }

    public void setNumLinesCovered(java.lang.Integer NumLinesCovered) {
      this.NumLinesCovered = NumLinesCovered;
      NumLinesCovered__is_set = true;
    }

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

    private boolean NumLinesUncovered__is_set = false;

    private java.lang.Integer NumLinesUncovered;

    public java.lang.Integer getNumLinesUncovered() {
      return NumLinesUncovered;
    }

    public void setNumLinesUncovered(java.lang.Integer NumLinesUncovered) {
      this.NumLinesUncovered = NumLinesUncovered;
      NumLinesUncovered__is_set = true;
    }

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

    private boolean SystemModstamp__is_set = false;

    private java.util.Calendar SystemModstamp;

    public java.util.Calendar getSystemModstamp() {
      return SystemModstamp;
    }

    public void setSystemModstamp(java.util.Calendar SystemModstamp) {
      this.SystemModstamp = SystemModstamp;
      SystemModstamp__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());
      __typeMapper.writeXsiType(__out, "urn:tooling.soap.sforce.com", "ApexCodeCoverageAggregate");
      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 {
       super.writeFields(__out, __typeMapper);
       __typeMapper.writeObject(__out, ApexClassOrTrigger__typeInfo, ApexClassOrTrigger, ApexClassOrTrigger__is_set);
       __typeMapper.writeString(__out, ApexClassOrTriggerId__typeInfo, ApexClassOrTriggerId, ApexClassOrTriggerId__is_set);
       __typeMapper.writeObject(__out, Coverage__typeInfo, Coverage, Coverage__is_set);
       __typeMapper.writeObject(__out, CoverageLastModifiedDate__typeInfo, CoverageLastModifiedDate, CoverageLastModifiedDate__is_set);
       __typeMapper.writeObject(__out, CreatedBy__typeInfo, CreatedBy, CreatedBy__is_set);
       __typeMapper.writeString(__out, CreatedById__typeInfo, CreatedById, CreatedById__is_set);
       __typeMapper.writeObject(__out, CreatedDate__typeInfo, CreatedDate, CreatedDate__is_set);
       __typeMapper.writeObject(__out, IsDeleted__typeInfo, IsDeleted, IsDeleted__is_set);
       __typeMapper.writeObject(__out, LastModifiedBy__typeInfo, LastModifiedBy, LastModifiedBy__is_set);
       __typeMapper.writeString(__out, LastModifiedById__typeInfo, LastModifiedById, LastModifiedById__is_set);
       __typeMapper.writeObject(__out, LastModifiedDate__typeInfo, LastModifiedDate, LastModifiedDate__is_set);
       __typeMapper.writeObject(__out, NumLinesCovered__typeInfo, NumLinesCovered, NumLinesCovered__is_set);
       __typeMapper.writeObject(__out, NumLinesUncovered__typeInfo, NumLinesUncovered, NumLinesUncovered__is_set);
       __typeMapper.writeObject(__out, SystemModstamp__typeInfo, SystemModstamp, SystemModstamp__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 {
        super.loadFields(__in, __typeMapper);
        __in.peekTag();
        if (__typeMapper.isElement(__in, ApexClassOrTrigger__typeInfo)) {
            setApexClassOrTrigger((com.sforce.soap.tooling.Name)__typeMapper.readObject(__in, ApexClassOrTrigger__typeInfo, com.sforce.soap.tooling.Name.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, ApexClassOrTriggerId__typeInfo)) {
            setApexClassOrTriggerId(__typeMapper.readString(__in, ApexClassOrTriggerId__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, Coverage__typeInfo)) {
            setCoverage((com.sforce.soap.tooling.Coverage)__typeMapper.readObject(__in, Coverage__typeInfo, com.sforce.soap.tooling.Coverage.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, CoverageLastModifiedDate__typeInfo)) {
            setCoverageLastModifiedDate((java.util.Calendar)__typeMapper.readObject(__in, CoverageLastModifiedDate__typeInfo, java.util.Calendar.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, CreatedBy__typeInfo)) {
            setCreatedBy((com.sforce.soap.tooling.User)__typeMapper.readObject(__in, CreatedBy__typeInfo, com.sforce.soap.tooling.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.tooling.User)__typeMapper.readObject(__in, LastModifiedBy__typeInfo, com.sforce.soap.tooling.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, NumLinesCovered__typeInfo)) {
            setNumLinesCovered((java.lang.Integer)__typeMapper.readObject(__in, NumLinesCovered__typeInfo, java.lang.Integer.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, NumLinesUncovered__typeInfo)) {
            setNumLinesUncovered((java.lang.Integer)__typeMapper.readObject(__in, NumLinesUncovered__typeInfo, java.lang.Integer.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, SystemModstamp__typeInfo)) {
            setSystemModstamp((java.util.Calendar)__typeMapper.readObject(__in, SystemModstamp__typeInfo, java.util.Calendar.class));
        }
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[ApexCodeCoverageAggregate ");
      sb.append(super.toString());sb.append(" ApexClassOrTrigger=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(ApexClassOrTrigger)+"'\n");
      sb.append(" ApexClassOrTriggerId=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(ApexClassOrTriggerId)+"'\n");
      sb.append(" Coverage=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(Coverage)+"'\n");
      sb.append(" CoverageLastModifiedDate=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(CoverageLastModifiedDate)+"'\n");
      sb.append(" CreatedBy=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(CreatedBy)+"'\n");
      sb.append(" CreatedById=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(CreatedById)+"'\n");
      sb.append(" CreatedDate=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(CreatedDate)+"'\n");
      sb.append(" IsDeleted=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(IsDeleted)+"'\n");
      sb.append(" LastModifiedBy=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(LastModifiedBy)+"'\n");
      sb.append(" LastModifiedById=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(LastModifiedById)+"'\n");
      sb.append(" LastModifiedDate=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(LastModifiedDate)+"'\n");
      sb.append(" NumLinesCovered=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(NumLinesCovered)+"'\n");
      sb.append(" NumLinesUncovered=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(NumLinesUncovered)+"'\n");
      sb.append(" SystemModstamp=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(SystemModstamp)+"'\n");
      sb.append("]\n");
      return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy