@Test public void testExampleItemIdentifierType() throws FileNotFoundException, ToolkitException, ServiceException, ValidationException { Properties properties = new Properties(); properties.put(CoreConfiguration.CORE_SCHEME_VALUE_PAIR_ADDED_CLASSES_LIST_KEY, ExampleItemIdentifierType.class.getName()); Translator translator = TranslatorFactory.buildTranslator(properties); String testFile = System.getProperty("testFile", TEST_FILE); InputStream inStream = new FileInputStream(new File(testFile)); ServiceContext serviceContext = ServiceValidatorFactory.buildServiceValidator().getInitialServiceContext(); NCIPInitiationData initiationData = translator.createInitiationData(serviceContext, inStream); Assert.assertNotNull(initiationData); }
protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } protected  ExampleItemIdentifierType(String scheme, String value); }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } protected  ExampleItemIdentifierType(String scheme, String value); static void loadAll(); }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } protected  ExampleItemIdentifierType(String scheme, String value); static void loadAll(); static final String EXAMPLE_ITEM_IDENTIFIER_TYPE; static final ExampleItemIdentifierType ITEM_ID; }