@Test public void testComplexRecord() { String id = "messageJuminCheck"; Type type = typeLoader.getType(id); Assert.assertEquals(id, type.getId()); Assert.assertEquals(RecordType.class, type.getClass()); RecordType recordType = (RecordType) type; Assert.assertEquals(PrimitiveType.STRING, recordType.getFieldType("serviceId")); Assert.assertEquals(typeLoader.getType("recordJuminCheck"), recordType.getFieldType("body")); }
public Type getType(String id) { return getType(id, null); }
TypeLoaderUsingMetadata implements TypeLoader, InitializingBean { public Type getType(String id) { return getType(id, null); } }
TypeLoaderUsingMetadata implements TypeLoader, InitializingBean { public Type getType(String id) { return getType(id, null); } TypeLoaderUsingMetadata();  TypeLoaderUsingMetadata(
			final RecordTypeDefinitionDao recordTypeDefinitionDao); }
TypeLoaderUsingMetadata implements TypeLoader, InitializingBean { public Type getType(String id) { return getType(id, null); } TypeLoaderUsingMetadata();  TypeLoaderUsingMetadata(
			final RecordTypeDefinitionDao recordTypeDefinitionDao); void setRecordTypeDefinitionDao(
			RecordTypeDefinitionDao recordTypeDefinitionDao); void afterPropertiesSet(); Type getType(String id); }
TypeLoaderUsingMetadata implements TypeLoader, InitializingBean { public Type getType(String id) { return getType(id, null); } TypeLoaderUsingMetadata();  TypeLoaderUsingMetadata(
			final RecordTypeDefinitionDao recordTypeDefinitionDao); void setRecordTypeDefinitionDao(
			RecordTypeDefinitionDao recordTypeDefinitionDao); void afterPropertiesSet(); Type getType(String id);  }