
com.google.api.ads.dfp.axis.v201602.ResultSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-axis Show documentation
Show all versions of dfp-axis Show documentation
Ad Manager specific Axis components.
/**
* ResultSet.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201602;
/**
* The {@code ResultSet} represents a table of data obtained from
* the execution of a PQL {@link
* Statement}.
*/
public class ResultSet implements java.io.Serializable {
/* A collection of {@link ColumnType} objects. */
private com.google.api.ads.dfp.axis.v201602.ColumnType[] columnTypes;
/* A collection of {@link Row} objects. */
private com.google.api.ads.dfp.axis.v201602.Row[] rows;
public ResultSet() {
}
public ResultSet(
com.google.api.ads.dfp.axis.v201602.ColumnType[] columnTypes,
com.google.api.ads.dfp.axis.v201602.Row[] rows) {
this.columnTypes = columnTypes;
this.rows = rows;
}
/**
* Gets the columnTypes value for this ResultSet.
*
* @return columnTypes * A collection of {@link ColumnType} objects.
*/
public com.google.api.ads.dfp.axis.v201602.ColumnType[] getColumnTypes() {
return columnTypes;
}
/**
* Sets the columnTypes value for this ResultSet.
*
* @param columnTypes * A collection of {@link ColumnType} objects.
*/
public void setColumnTypes(com.google.api.ads.dfp.axis.v201602.ColumnType[] columnTypes) {
this.columnTypes = columnTypes;
}
public com.google.api.ads.dfp.axis.v201602.ColumnType getColumnTypes(int i) {
return this.columnTypes[i];
}
public void setColumnTypes(int i, com.google.api.ads.dfp.axis.v201602.ColumnType _value) {
this.columnTypes[i] = _value;
}
/**
* Gets the rows value for this ResultSet.
*
* @return rows * A collection of {@link Row} objects.
*/
public com.google.api.ads.dfp.axis.v201602.Row[] getRows() {
return rows;
}
/**
* Sets the rows value for this ResultSet.
*
* @param rows * A collection of {@link Row} objects.
*/
public void setRows(com.google.api.ads.dfp.axis.v201602.Row[] rows) {
this.rows = rows;
}
public com.google.api.ads.dfp.axis.v201602.Row getRows(int i) {
return this.rows[i];
}
public void setRows(int i, com.google.api.ads.dfp.axis.v201602.Row _value) {
this.rows[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ResultSet)) return false;
ResultSet other = (ResultSet) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.columnTypes==null && other.getColumnTypes()==null) ||
(this.columnTypes!=null &&
java.util.Arrays.equals(this.columnTypes, other.getColumnTypes()))) &&
((this.rows==null && other.getRows()==null) ||
(this.rows!=null &&
java.util.Arrays.equals(this.rows, other.getRows())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getColumnTypes() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy