FolderImpl extends RelationalObjectImpl implements Folder, EventManager { @Override public KomodoType getTypeIdentifier(UnitOfWork uow) { return Folder.IDENTIFIER; } FolderImpl( final UnitOfWork uow,
                       final Repository repository,
                       final String path ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override int getTypeId(); @Override Dataservice addDataservice( final UnitOfWork uow,
                                       final String serviceName ); @Override Connection addConnection( final UnitOfWork uow,
                                     final String connectionName ); @Override Folder addFolder( final UnitOfWork uow,
                             final String folderName ); @Override Schema addSchema( final UnitOfWork uow,
                             final String schemaName ); @Override Vdb addVdb( final UnitOfWork uow,
                       final String vdbName,
                       final String externalFilePath ); @Override Dataservice[] getDataservices( final UnitOfWork transaction,
                                          final String... namePatterns ); @Override Connection[] getConnections( final UnitOfWork transaction,
                                        final String... namePatterns ); @Override Vdb[] getVdbs( final UnitOfWork transaction,
                          final String... namePatterns ); @Override Schema[] getSchemas( final UnitOfWork transaction,
                                final String... namePatterns ); @Override Translator[] getTranslators( final UnitOfWork transaction,
                                        final String... namePatterns ); @Override Driver[] getDrivers( final UnitOfWork transaction,
                                final String... namePatterns ); @Override Template[] getTemplates( final UnitOfWork transaction,
                                        final String... namePatterns ); @Override Folder[] getFolders( final UnitOfWork transaction,
                                final String... namePatterns ); @Override KomodoObject[] getChildrenOfType( final UnitOfWork transaction,
                                             final String type,
                                             final String... namePatterns ); @Override KomodoType[] getChildTypes(); @Override boolean addListener( ExecutionConfigurationListener listener ); @Override void permitListeners( boolean enable ); @Override void notifyListeners( ExecutionConfigurationEvent event ); @Override boolean removeListener( ExecutionConfigurationListener listener );  }
@Test public void shouldHaveCorrectTypeIdentifier() throws Exception { assertThat(this.folder.getTypeIdentifier( getTransaction() ), is(KomodoType.FOLDER)); }