public PLSQLargument(String name, int index, int direction, DatabaseType databaseType) { this.name = name; this.index = index; this.direction = direction; if (!databaseType.isComplexDatabaseType() && databaseType.isJDBCType()) { databaseTypeWrapper = new JDBCTypeWrapper(databaseType); } else if (!databaseType.isComplexDatabaseType() && !databaseType.isJDBCType()) { databaseTypeWrapper = new SimplePLSQLTypeWrapper(databaseType); } else if (databaseType.isComplexDatabaseType()) { databaseTypeWrapper = new ComplexPLSQLTypeWrapper(databaseType); } }