/** * @see java.lang.Object#clone() */ public Object clone() { SPParameter copy = new SPParameter(); copy.index = this.index; copy.parameterType = this.parameterType; copy.parameterSymbol = this.parameterSymbol.clone(); if(this.expression != null) { copy.setExpression((Expression)this.expression.clone()); } if(this.resultSetColumns != null) { Iterator<ElementSymbol> iter = this.resultSetColumns.iterator(); Iterator<Object> idIter = this.resultSetIDs.iterator(); while(iter.hasNext()) { ElementSymbol column = iter.next(); copy.addResultSetColumn(column.getName(), column.getType(), idIter.next()); } } copy.setUsingDefault(this.usingDefault); copy.varArg = this.varArg; return copy; }
/** * @see java.lang.Object#clone() */ public Object clone() { SPParameter copy = new SPParameter(); copy.index = this.index; copy.parameterType = this.parameterType; copy.parameterSymbol = this.parameterSymbol.clone(); if(this.expression != null) { copy.setExpression((Expression)this.expression.clone()); } if(this.resultSetColumns != null) { Iterator<ElementSymbol> iter = this.resultSetColumns.iterator(); Iterator<Object> idIter = this.resultSetIDs.iterator(); while(iter.hasNext()) { ElementSymbol column = iter.next(); copy.addResultSetColumn(column.getName(), column.getType(), idIter.next()); } } copy.setUsingDefault(this.usingDefault); copy.varArg = this.varArg; return copy; }
/** * @see java.lang.Object#clone() */ public Object clone() { SPParameter copy = new SPParameter(); copy.index = this.index; copy.parameterType = this.parameterType; copy.parameterSymbol = this.parameterSymbol.clone(); if(this.expression != null) { copy.setExpression((Expression)this.expression.clone()); } if(this.resultSetColumns != null) { Iterator<ElementSymbol> iter = this.resultSetColumns.iterator(); Iterator<Object> idIter = this.resultSetIDs.iterator(); while(iter.hasNext()) { ElementSymbol column = iter.next(); copy.addResultSetColumn(column.getName(), column.getType(), idIter.next()); } } copy.setUsingDefault(this.usingDefault); copy.varArg = this.varArg; return copy; }
param.addResultSetColumn(columnRecord.getFullName(), DataTypeManager.getDataTypeClass(colType), columnRecord);
param.addResultSetColumn(columnRecord.getFullName(), DataTypeManager.getDataTypeClass(colType), columnRecord);
param.addResultSetColumn(columnRecord.getFullName(), DataTypeManager.getDataTypeClass(colType), columnRecord);