@Test( expected = UnsupportedOperationException.class ) public void shouldNotAllowRename() throws Exception { this.resultSet.rename( getTransaction(), "newName" ); }
@Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } TabularResultSetImpl( final UnitOfWork uow,
                                 final Repository repository,
                                 final String workspacePath ); }
TabularResultSetImpl extends RelationalObjectImpl implements TabularResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } 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 final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } 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 );  }