@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() ) ); }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } DataTypeResultSetImpl( final UnitOfWork uow,
                                  final Repository repository,
                                  final String workspacePath ); }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } DataTypeResultSetImpl( final UnitOfWork uow,
                                  final Repository repository,
                                  final String workspacePath ); @Override String getDisplayString( final UnitOfWork transaction ); @Override Type getType( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override AbstractProcedure getParent( final UnitOfWork transaction ); @Override boolean isArray( final UnitOfWork uow ); @Override final void rename( final UnitOfWork transaction,
                              final String newName ); @Override void setArray( final UnitOfWork uow,
                          final boolean newArrayIndicator ); @Override void setDatatypeName( final UnitOfWork uow,
                                 final String newTypeName ); @Override void setType( final UnitOfWork uow,
                         final Type newType ); }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public final void rename( final UnitOfWork transaction, final String newName ) throws UnsupportedOperationException { throw new UnsupportedOperationException( Messages.getString( Relational.RENAME_NOT_ALLOWED, getAbsolutePath() ) ); } DataTypeResultSetImpl( final UnitOfWork uow,
                                  final Repository repository,
                                  final String workspacePath ); @Override String getDisplayString( final UnitOfWork transaction ); @Override Type getType( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override AbstractProcedure getParent( final UnitOfWork transaction ); @Override boolean isArray( final UnitOfWork uow ); @Override final void rename( final UnitOfWork transaction,
                              final String newName ); @Override void setArray( final UnitOfWork uow,
                          final boolean newArrayIndicator ); @Override void setDatatypeName( final UnitOfWork uow,
                                 final String newTypeName ); @Override void setType( final UnitOfWork uow,
                         final Type newType );  }