public EntityMetadataConfigurationUnit configuration(
     EntityMetadataConfigurationUnitBuilder configurationBuilder) {
   return configurationBuilder
       .nameExtractor(gridColumnOptionsExtractor())
       .singularName("Survey GridColumnOptions")
       .pluralName("Survey GridColumnOptions")
       .build();
 }
コード例 #2
0
 @Override
 public EntityMetadataConfigurationUnit configuration(
     EntityMetadataConfigurationUnitBuilder configurationBuilder) {
   return configurationBuilder
       .pluralName("Categories")
       .singularName("Category")
       .nameField("name")
       .build();
 }
コード例 #3
0
 public EntityMetadataConfigurationUnit configuration(
     EntityMetadataConfigurationUnitBuilder configurationBuilder) {
   return configurationBuilder.nameField("id").build();
 }