/** * The output arguments are used to get values back from the proc. */ public void addOutputArgument(String argumentName, Class type) { addOutputArgument(new FieldDefinition(argumentName, type)); }
/** * The arguments are the names of the parameters to the procedure. */ public void addArgument(String argumentName, Class type, int size) { addArgument(new FieldDefinition(argumentName, type, size)); }
/** * The output arguments are used to get values back from the proc. */ public void addOutputArgument(String argumentName, Class type) { addOutputArgument(new FieldDefinition(argumentName, type)); }
/** * PUBLIC: * Add the field to the type. * @param type is the Java class type coresponding to the database type. */ public void addField(String fieldName, Class type, int fieldSize) { this.addField(new FieldDefinition(fieldName, type, fieldSize)); }
/** * PUBLIC: * Add the field to the type. * @param type is the Java class type coresponding to the database type. */ public void addField(String fieldName, Class type, int fieldSize, int fieldSubSize) { this.addField(new FieldDefinition(fieldName, type, fieldSize, fieldSubSize)); }
/** * PUBLIC: * Add the field to the table, default sizes are used. * @param type is the Java class type corresponding to the database type. */ public void addField(String fieldName, Class type) { this.addField(new FieldDefinition(fieldName, type)); }
/** * PUBLIC: * Add the field to the table. * @param type is the Java class type corresponding to the database type. */ public void addField(String fieldName, Class type, int fieldSize, int fieldSubSize) { this.addField(new FieldDefinition(fieldName, type, fieldSize, fieldSubSize)); }
public StoredFunctionDefinition() { super(); this.addOutputArgument(new FieldDefinition()); }
/** * PUBLIC: * Add the field to the table, default sizes are used. * @param type is the Java class type corresponding to the database type. */ public void addField(String fieldName, Class type) { this.addField(new FieldDefinition(fieldName, type)); }
/** * PUBLIC: * Add the field to the table. * @param type is the Java class type corresponding to the database type. */ public void addField(String fieldName, Class type, int fieldSize) { this.addField(new FieldDefinition(fieldName, type, fieldSize)); }
/** * PUBLIC: * Add the field to the table. * @param type is the Java class type corresponding to the database type. */ public void addField(String fieldName, Class type, int fieldSize, int fieldSubSize) { this.addField(new FieldDefinition(fieldName, type, fieldSize, fieldSubSize)); }
/** * PUBLIC: * Add the field to the type, default sizes are used. * @param type is the Java class type coresponding to the database type. */ public void addField(String fieldName, Class type) { this.addField(new FieldDefinition(fieldName, type)); }
/** * The arguments are the names of the parameters to the procedure. */ public void addArgument(String argumentName, Class type) { addArgument(new FieldDefinition(argumentName, type)); }
/** * The output arguments are used to get values back from the proc. */ public void addInOutputArgument(String argumentName, Class type) { addInOutputArgument(new FieldDefinition(argumentName, type)); }
/** * The output arguments are used to get values back from the proc. */ public void addOutputArgument(String argumentName, Class type) { addOutputArgument(new FieldDefinition(argumentName, type)); }
/** * The output arguments are used to get values back from the proc. */ public void addOutputArgument(String argumentName, Class type, int size) { addOutputArgument(new FieldDefinition(argumentName, type, size)); }
/** * The variables are the names of the declared variables used in the procedure. */ public void addVariable(String variableName, String typeName) { this.addVariable(new FieldDefinition(variableName, typeName)); }
/** * PUBLIC: * Add the field to the type. * @param type is the Java class type coresponding to the database type. */ public void addField(String fieldName, Class type, int fieldSize, int fieldSubSize) { this.addField(new FieldDefinition(fieldName, type, fieldSize, fieldSubSize)); }
/** * PUBLIC: * Add the field to the type to a nested type. * @param typeName is the name of the nested type. */ public void addField(String fieldName, String typeName) { this.addField(new FieldDefinition(fieldName, typeName)); }
/** * PUBLIC: * Add the field to the table, default sizes are used. * This field is set as part of the primary key. * @param type is the Java class type corresponding to the database type. */ public void addPrimaryKeyField(String fieldName, Class type, int fieldSize) { FieldDefinition fieldDef = new FieldDefinition(fieldName, type, fieldSize); fieldDef.setIsPrimaryKey(true); addField(fieldDef); }