@Test public void readSecurityCategoryIdentifier() throws Exception { SecurityCategoryId id = parseSecurityCategoryId( fileToType("securitycategoryid.xml", SECURITYCATEGORY, XRoadSecurityCategoryIdentifierType.class)); assertEquals("EE", id.getXRoadInstance()); assertEquals("ISKE_H", id.getCategoryCode()); assertEquals("SECURITYCATEGORY:EE/ISKE_H", id.toString()); }
static SecurityCategoryId parseSecurityCategoryId(XRoadIdentifierType v) { return SecurityCategoryId.create(v.getXRoadInstance(), v.getSecurityCategoryCode()); }
IdentifierTypeConverter { static SecurityCategoryId parseSecurityCategoryId(XRoadIdentifierType v) { return SecurityCategoryId.create(v.getXRoadInstance(), v.getSecurityCategoryCode()); } }
IdentifierTypeConverter { static SecurityCategoryId parseSecurityCategoryId(XRoadIdentifierType v) { return SecurityCategoryId.create(v.getXRoadInstance(), v.getSecurityCategoryCode()); } private  IdentifierTypeConverter(); }
IdentifierTypeConverter { static SecurityCategoryId parseSecurityCategoryId(XRoadIdentifierType v) { return SecurityCategoryId.create(v.getXRoadInstance(), v.getSecurityCategoryCode()); } private  IdentifierTypeConverter();  }
IdentifierTypeConverter { static SecurityCategoryId parseSecurityCategoryId(XRoadIdentifierType v) { return SecurityCategoryId.create(v.getXRoadInstance(), v.getSecurityCategoryCode()); } private  IdentifierTypeConverter();   }