test_class.file: framework/persistence/src/test/java/org/koenighotze/jee7hotel/framework/persistence/converter/LocalDateConverterTest.java
test_class.identifier: LocalDateConverterTest
test_case.body: @Test
      public void localdates_are_converted_to_simple_dates_keeping_only_the_datefields() {
          final LocalDate localDate = LocalDate.of(1999, APRIL, 12);
  
          Date date = new LocalDateConverter().convertToDatabaseColumn(localDate);
  
          assertThat(date, is(equalTo(Date.valueOf(localDate))));
      }
test_case.class_method_signature: LocalDateConverterTest.localdates_are_converted_to_simple_dates_keeping_only_the_datefields()
test_case.full_signature: @Test public void localdates_are_converted_to_simple_dates_keeping_only_the_datefields()
test_case.identifier: localdates_are_converted_to_simple_dates_keeping_only_the_datefields
test_case.invocations: of convertToDatabaseColumn assertThat is equalTo valueOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void localdates_are_converted_to_simple_dates_keeping_only_the_datefields()
focal_class.declarator: LOGGER = Logger.getLogger(LocalDateConverter.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = Logger.getLogger(LocalDateConverter.class.getName());
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.file: framework/persistence/src/main/java/org/koenighotze/jee7hotel/framework/persistence/converter/LocalDateConverter.java
focal_class.identifier: LocalDateConverter
focal_class.interfaces: implements AttributeConverter<LocalDate, Date>
focal_class.class_method_signature: LocalDateConverter.convertToDatabaseColumn(LocalDate localDate)
focal_class.full_signature: @Override public Date convertToDatabaseColumn(LocalDate localDate)
focal_class.identifier: convertToDatabaseColumn
focal_class.modifiers: @Override public
focal_class.parameters: (LocalDate localDate)
focal_class.return: Date
focal_class.signature: Date convertToDatabaseColumn(LocalDate localDate)
focal_class.class_method_signature: LocalDateConverter.convertToEntityAttribute(Date date)
focal_class.full_signature: @Override public LocalDate convertToEntityAttribute(Date date)
focal_class.identifier: convertToEntityAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (Date date)
focal_class.return: LocalDate
focal_class.signature: LocalDate convertToEntityAttribute(Date date)
focal_method.body: @Override
      public Date convertToDatabaseColumn(LocalDate localDate) {
          LOGGER.finest(() -> "Converting " + localDate + " to database");
          if (null == localDate) {
              return null;
          }
          return Date.valueOf(localDate);
      }
focal_method.class_method_signature: LocalDateConverter.convertToDatabaseColumn(LocalDate localDate)
focal_method.full_signature: @Override public Date convertToDatabaseColumn(LocalDate localDate)
focal_method.identifier: convertToDatabaseColumn
focal_method.invocations: finest valueOf
focal_method.modifiers: @Override public
focal_method.parameters: (LocalDate localDate)
focal_method.return: Date
focal_method.signature: Date convertToDatabaseColumn(LocalDate localDate)