@Test public void testTag2String() throws OSHDBKeytablesNotFoundException { OSHDBTag tag = new OSHDBTag(1, 2); TagTranslator instance = new TagTranslator(TagTranslatorTest.conn); OSMTag expResult = new OSMTag("building", "residential"); OSMTag result = instance.getOSMTagOf(tag); assertEquals(expResult, result); }
public OSMTag getOSMTagOf(int key, int value) { return this.getOSMTagOf(new OSHDBTag(key, value)); }
TagTranslator implements AutoCloseable { public OSMTag getOSMTagOf(int key, int value) { return this.getOSMTagOf(new OSHDBTag(key, value)); } }
TagTranslator implements AutoCloseable { public OSMTag getOSMTagOf(int key, int value) { return this.getOSMTagOf(new OSHDBTag(key, value)); } TagTranslator(Connection conn); }
TagTranslator implements AutoCloseable { public OSMTag getOSMTagOf(int key, int value) { return this.getOSMTagOf(new OSHDBTag(key, value)); } TagTranslator(Connection conn); @Override void close(); OSHDBTagKey getOSHDBTagKeyOf(String key); OSHDBTagKey getOSHDBTagKeyOf(OSMTagKey key); OSMTagKey getOSMTagKeyOf(int key); OSMTagKey getOSMTagKeyOf(OSHDBTagKey key); OSHDBTag getOSHDBTagOf(String key, String value); OSHDBTag getOSHDBTagOf(OSMTag tag); OSMTag getOSMTagOf(int key, int value); OSMTag getOSMTagOf(OSHDBTag tag); OSHDBRole getOSHDBRoleOf(String role); OSHDBRole getOSHDBRoleOf(OSMRole role); OSMRole getOSMRoleOf(int role); OSMRole getOSMRoleOf(OSHDBRole role); Connection getConnection(); }
TagTranslator implements AutoCloseable { public OSMTag getOSMTagOf(int key, int value) { return this.getOSMTagOf(new OSHDBTag(key, value)); } TagTranslator(Connection conn); @Override void close(); OSHDBTagKey getOSHDBTagKeyOf(String key); OSHDBTagKey getOSHDBTagKeyOf(OSMTagKey key); OSMTagKey getOSMTagKeyOf(int key); OSMTagKey getOSMTagKeyOf(OSHDBTagKey key); OSHDBTag getOSHDBTagOf(String key, String value); OSHDBTag getOSHDBTagOf(OSMTag tag); OSMTag getOSMTagOf(int key, int value); OSMTag getOSMTagOf(OSHDBTag tag); OSHDBRole getOSHDBRoleOf(String role); OSHDBRole getOSHDBRoleOf(OSMRole role); OSMRole getOSMRoleOf(int role); OSMRole getOSMRoleOf(OSHDBRole role); Connection getConnection();  }