com.bixuebihui.jdbc.SqlObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of c-dbtools Show documentation
Show all versions of c-dbtools Show documentation
a fast small database connection pool and a active record flavor mini framework
package com.bixuebihui.jdbc;
/**
* SqlObject class.
*
* @author xingwx
* @version $Id: $Id
*/
public class SqlObject {
private String sqlString;
private Object[] parameters;
private int expectedResult;
/**
* Getter for the field sqlString
.
*
* @return a {@link java.lang.String} object.
*/
public String getSqlString() {
return sqlString;
}
/**
* Setter for the field sqlString
.
*
* @param sqlString a {@link java.lang.String} object.
*/
public void setSqlString(String sqlString) {
this.sqlString = sqlString;
}
/**
* Getter for the field parameters
.
*
* @return an array of {@link java.lang.Object} objects.
*/
public Object[] getParameters() {
return parameters;
}
/**
* Setter for the field parameters
.
*
* @param parameters an array of {@link java.lang.Object} objects.
*/
public void setParameters(Object[] parameters) {
this.parameters = parameters;
}
//set to -1 to ignored result
/**
* Getter for the field expectedResult
.
*
* @return a int.
*/
public int getExpectedResult() {
return expectedResult;
}
/**
* Setter for the field expectedResult
.
*
* @param expectedResult a int.
*/
public void setExpectedResult(int expectedResult) {
this.expectedResult = expectedResult;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy