DataserviceImpl extends RelationalObjectImpl implements Dataservice { @Override public KomodoType getTypeIdentifier(UnitOfWork transaction) { return Dataservice.IDENTIFIER; } DataserviceImpl(final UnitOfWork transaction,
                      final Repository repository,
                      final String path ); @Override KomodoType getTypeIdentifier(UnitOfWork transaction); @Override byte[] export(UnitOfWork transaction, Properties exportProperties); @Override DocumentType getDocumentType(UnitOfWork transaction); @Override KomodoType[] getChildTypes(); @Override DataServiceEntry< ? > getChild( final UnitOfWork transaction,
                                           final String name ); @Override DataServiceEntry< ? > getChild( final UnitOfWork transaction,
                                           final String name,
                                           final String typeName ); @Override DataServiceEntry< ? >[] getChildren( final UnitOfWork transaction,
                                                final String... namePatterns ); @Override DataServiceEntry< ? >[] getChildrenOfType( final UnitOfWork transaction,
                                                      final String type,
                                                      final String... namePatterns ); @Override boolean hasChild( final UnitOfWork transaction,
                             final String name ); @Override boolean hasChild( final UnitOfWork transaction,
                             final String name,
                             final String typeName ); @Override boolean hasChildren( final UnitOfWork transaction ); @Override String[] getVdbPlan(UnitOfWork transaction); @Override Vdb getServiceVdb( final UnitOfWork transaction ); @Override DeployStatus deploy(UnitOfWork uow, Teiid teiid); @Override String getServiceViewName(UnitOfWork uow); @Override String getServiceViewModelName(UnitOfWork uow); @Override ConnectionEntry addConnection( final UnitOfWork uow,
                                          final Connection connection ); @Override ConnectionEntry addConnectionEntry( final UnitOfWork transaction,
                                               final String connectionEntryName ); @Override DdlEntry addDdlEntry( final UnitOfWork transaction,
                                 final String ddlEntryName ); @Override DdlEntry addDdlFile( final UnitOfWork uow,
                                final DdlFile ddlFile ); @Override DriverEntry addDriverEntry( final UnitOfWork transaction,
                                       final String driverEntryName ); @Override DriverEntry addDriverFile( final UnitOfWork uow,
                                      final Driver driverFile ); @Override ResourceEntry addResourceEntry( final UnitOfWork transaction,
                                           final String resourceEntryName ); @Override ResourceEntry addResourceFile( final UnitOfWork uow,
                                          final ResourceFile resourceFile ); @Override UdfEntry addUdfEntry( final UnitOfWork transaction,
                                 final String udfEntryName ); @Override UdfEntry addUdfFile( final UnitOfWork uow,
                                final UdfFile udfFile ); @Override VdbEntry addVdb( final UnitOfWork uow,
                            final Vdb vdb ); @Override VdbEntry addVdbEntry( final UnitOfWork transaction,
                            final String vdbEntryName ); @Override ConnectionEntry[] getConnectionEntries( final UnitOfWork transaction,
                                                   final String... namePatterns ); @Override Connection[] getConnections( final UnitOfWork transaction,
                                        final String... namePatterns ); @Override String[] getConnectionPlan( final UnitOfWork transaction ); @Override DdlEntry[] getDdlEntries( final UnitOfWork transaction,
                                     final String... namePatterns ); @Override DdlFile[] getDdlFiles( final UnitOfWork transaction,
                                  final String... namePatterns ); @Override String[] getDdlPlan( final UnitOfWork transaction ); @Override String getDescription( final UnitOfWork transaction ); @Override DriverEntry[] getDriverEntries( final UnitOfWork uow,
                                           final String... namePatterns ); @Override String[] getDriverPlan( final UnitOfWork transaction ); @Override Driver[] getDrivers( final UnitOfWork transaction,
                                    final String... namePatterns ); @Override Calendar getLastModified( final UnitOfWork transaction ); @Override String getModifiedBy( final UnitOfWork transaction ); @Override ResourceEntry[] getResourceEntries( final UnitOfWork uow,
                                               final String... namePatterns ); @Override ResourceFile[] getResourceFiles( final UnitOfWork transaction,
                                            final String... namePatterns ); @Override String[] getResourcePlan( final UnitOfWork transaction ); @Override ServiceVdbEntry getServiceVdbEntry( final UnitOfWork uow ); @Override UdfEntry[] getUdfEntries( final UnitOfWork uow,
                                     final String... namePatterns ); @Override UdfFile[] getUdfFiles( final UnitOfWork transaction,
                                  final String... namePatterns ); @Override String[] getUdfPlan( final UnitOfWork transaction ); @Override VdbEntry[] getVdbEntries( final UnitOfWork uow,
                                     final String... namePatterns ); @Override Vdb[] getVdbs( final UnitOfWork transaction,
                          final String... namePatterns ); @Override void setDescription( final UnitOfWork transaction,
                                final String newDescription ); @Override void setLastModified( final UnitOfWork transaction,
                                 final Calendar newLastModified ); @Override void setModifiedBy( final UnitOfWork transaction,
                               final String newModifiedBy ); @Override Vdb setServiceVdb( final UnitOfWork uow,
                              final Vdb serviceVdb ); @Override void clone(UnitOfWork transaction, Dataservice dataservice);  }
@Test public void shouldHaveCorrectTypeIdentifier() throws Exception { assertThat(this.dataservice.getTypeIdentifier( getTransaction() ), is(KomodoType.DATASERVICE)); }