@Test public void shouldObtainStrongTypedChildren() throws Exception { this.resultSet.addColumn( getTransaction(), "resultSetColumn" ); assertThat( this.resultSet.getChildren( getTransaction() ).length, is( 1 ) ); assertThat( this.resultSet.getChildren( getTransaction() )[0], is( instanceOf( ResultSetColumn.class ) ) ); }
@Override public ResultSetColumn addColumn( final UnitOfWork transaction, final String columnName ) throws KException { return RelationalModelFactory.createResultSetColumn( transaction, getRepository(), this, columnName ); }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public ResultSetColumn addColumn( final UnitOfWork transaction, final String columnName ) throws KException { return RelationalModelFactory.createResultSetColumn( transaction, getRepository(), this, columnName ); } }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public ResultSetColumn addColumn( final UnitOfWork transaction, final String columnName ) throws KException { return RelationalModelFactory.createResultSetColumn( transaction, getRepository(), this, columnName ); } TabularResultSetImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public ResultSetColumn addColumn( final UnitOfWork transaction, final String columnName ) throws KException { return RelationalModelFactory.createResultSetColumn( transaction, getRepository(), this, columnName ); } TabularResultSetImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); @Override ResultSetColumn addColumn( final UnitOfWork transaction,
                                      final String columnName ); @Override KomodoType[] getChildTypes(); @Override ResultSetColumn[] getColumns( final UnitOfWork transaction ); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override AbstractProcedure getParent( final UnitOfWork transaction ); @Override void removeColumn( final UnitOfWork transaction,
                              final String columnToRemove ); @Override final void rename( final UnitOfWork transaction,
                              final String newName ); }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public ResultSetColumn addColumn( final UnitOfWork transaction, final String columnName ) throws KException { return RelationalModelFactory.createResultSetColumn( transaction, getRepository(), this, columnName ); } TabularResultSetImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); @Override ResultSetColumn addColumn( final UnitOfWork transaction,
                                      final String columnName ); @Override KomodoType[] getChildTypes(); @Override ResultSetColumn[] getColumns( final UnitOfWork transaction ); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override AbstractProcedure getParent( final UnitOfWork transaction ); @Override void removeColumn( final UnitOfWork transaction,
                              final String columnToRemove ); @Override final void rename( final UnitOfWork transaction,
                              final String newName );  }