@Test public void testFilenameCreator() throws Exception { ReadMetadataFromFilesystem service = new ReadMetadataFromFilesystem(); assertEquals(FormattedFilenameCreator.class, service.filenameCreator().getClass()); service.setFilenameCreator(new EmptyFileNameCreator()); assertEquals(EmptyFileNameCreator.class, service.getFilenameCreator().getClass()); service.setFilenameCreator(null); assertEquals(FormattedFilenameCreator.class, service.filenameCreator().getClass()); }
FileNameCreator filenameCreator() { return getFilenameCreator() != null ? getFilenameCreator() : new FormattedFilenameCreator(); }
ReadMetadataFromFilesystem extends MetadataServiceImpl { FileNameCreator filenameCreator() { return getFilenameCreator() != null ? getFilenameCreator() : new FormattedFilenameCreator(); } }
ReadMetadataFromFilesystem extends MetadataServiceImpl { FileNameCreator filenameCreator() { return getFilenameCreator() != null ? getFilenameCreator() : new FormattedFilenameCreator(); } ReadMetadataFromFilesystem();  ReadMetadataFromFilesystem(MessageDrivenDestination d); }
ReadMetadataFromFilesystem extends MetadataServiceImpl { FileNameCreator filenameCreator() { return getFilenameCreator() != null ? getFilenameCreator() : new FormattedFilenameCreator(); } ReadMetadataFromFilesystem();  ReadMetadataFromFilesystem(MessageDrivenDestination d); @Override void doService(AdaptrisMessage msg); InputStyle getInputStyle(); void setInputStyle(InputStyle style); MessageDrivenDestination getDestination(); void setDestination(MessageDrivenDestination d); Boolean getOverwriteExistingMetadata(); void setOverwriteExistingMetadata(Boolean b); boolean overwriteExistingMetadata(); FileNameCreator getFilenameCreator(); void setFilenameCreator(FileNameCreator creator); }
ReadMetadataFromFilesystem extends MetadataServiceImpl { FileNameCreator filenameCreator() { return getFilenameCreator() != null ? getFilenameCreator() : new FormattedFilenameCreator(); } ReadMetadataFromFilesystem();  ReadMetadataFromFilesystem(MessageDrivenDestination d); @Override void doService(AdaptrisMessage msg); InputStyle getInputStyle(); void setInputStyle(InputStyle style); MessageDrivenDestination getDestination(); void setDestination(MessageDrivenDestination d); Boolean getOverwriteExistingMetadata(); void setOverwriteExistingMetadata(Boolean b); boolean overwriteExistingMetadata(); FileNameCreator getFilenameCreator(); void setFilenameCreator(FileNameCreator creator);  }