* @param value Type: DataValue
*/
public void setValue(int attr, DataValue value) {
if (attr > this.getNumAttrs()) {
throw new Error(Error.BQ_ILLEGAL_ATTR, "SetValue", this, new IntegerData(attr), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
}
else if ((this.operation != BusinessQuery.OP_UPDATE) && (this.operation != BusinessQuery.OP_INSERT)) {
throw new Error(Error.BQ_ILLEGAL_ACTION_FOR_OP, "SetValue", this, new IntegerData(this.operation), Error.qq_Resolver.cERROR_METHODNAME_ORIGINATOR_PARAM1).getException();
}
else if (this.getValues() == null) {
this.setValues(new QueryConstraint());