Map<String, TypeFieldDescr> fields = td.getFields();
for ( Iterator<Map.Entry<String, TypeFieldDescr>> iterator = fields.entrySet().iterator(); iterator.hasNext(); ) {
Map.Entry<String, TypeFieldDescr> en = iterator.next();
String fieldName = en.getKey();
TypeFieldDescr descr = en.getValue();
FieldMetaModel fm = new FieldMetaModel( fieldName,
descr.getPattern().getObjectType() );
mm.getFields().add( fm );
}