@Test public void testGetEntityMetadata() throws IOException { requests(); Metadata metadata = metadataSimpleService.getEntityMetadata("defect"); Assert.assertEquals("defect", metadata.getEntityType()); Assert.assertEquals(Integer.class, metadata.getField("id").getClazz()); Assert.assertEquals(metadata, metadataSimpleService.getEntityMetadata("defect")); }
Metadata getEntityMetadata(String entityType) { return getValue(entityType); }
MetadataSimpleService extends AbstractCachingService<String, Metadata, AbstractCachingService.Callback<Metadata>> { Metadata getEntityMetadata(String entityType) { return getValue(entityType); } }
MetadataSimpleService extends AbstractCachingService<String, Metadata, AbstractCachingService.Callback<Metadata>> { Metadata getEntityMetadata(String entityType) { return getValue(entityType); } MetadataSimpleService(Project project); }
MetadataSimpleService extends AbstractCachingService<String, Metadata, AbstractCachingService.Callback<Metadata>> { Metadata getEntityMetadata(String entityType) { return getValue(entityType); } MetadataSimpleService(Project project);  }
MetadataSimpleService extends AbstractCachingService<String, Metadata, AbstractCachingService.Callback<Metadata>> { Metadata getEntityMetadata(String entityType) { return getValue(entityType); } MetadataSimpleService(Project project);   }