URIType extends AbstractSingleColumnStandardBasicType<URI> implements DiscriminatorType<URI> { @Override public URI stringToObject(final String xml) throws Exception { return URITypeDescriptor.INSTANCE.fromString(xml); } URIType(); @Override String toString(final URI value); @Override URI stringToObject(final String xml); @Override String objectToSQLString(final URI value,
                                    final Dialect dialect); @Override String getName();  }
@Test public void testGenericConstructor() throws Exception { DiscriminatorType t = new URIType(); URI uri = (URI) t.stringToObject("http: assertEquals(testUri, uri); }
@Test public void testStringToObject() throws Exception { URIType t = new URIType(); URI uri = t.stringToObject("http: assertEquals(testUri, uri); }