@@ -0,0 +1,946 @@
+package gov.nih.nci.caadapter.common.util;%0D%0A%0D%0Aimport gov.nih.nci.caadapter.common.metadata.ObjectMetadata;%0D%0A%0D%0Aimport java.util.LinkedHashMap;%0D%0A%0D%0Apublic class Iso21090Util %7B%0D%0A%09%0D%0A%09public static ObjectMetadata resolveAttributeDatatype(LinkedHashMap metaHash, String typeName)%0D%0A%09%7B%0D%0A%09%09System.out.println(%22Iso21090Util.resolveAttributeDatatype()..search type:%22+typeName);%0D%0A%09%09for (Object dtKey:metaHash.keySet())%0D%0A%09%09%7B%0D%0A%09%09%09Object dtMeta=metaHash.get(dtKey);%0D%0A%09%09%09if (dtMeta instanceof ObjectMetadata)%0D%0A%09%09%09%7B%0D%0A%09%09%09%09ObjectMetadata dtObjectMeta=(ObjectMetadata)dtMeta;%0D%0A//%09%09%09%09System.out.println(%22Iso21090Util.resolveAttributeDatatype()..objectName:%22+dtObjectMeta.getName());%0D%0A%09%09%09%09if (dtObjectMeta.getName().equals(typeName))%0D%0A%09%09%09%09%09try %7B%0D%0A%09%09%09%09%09%09return (ObjectMetadata)dtObjectMeta.clone(false);%0D%0A%09%09%09%09%09%7D catch (CloneNotSupportedException e) %7B%0D%0A%09%09%09%09%09%09// TODO Auto-generated catch block%0D%0A%09%09%09%09%09%09e.printStackTrace();%0D%0A%09%09%09%09%09%7D%0D%0A%09%09%09%7D%0D%0A%09%09%7D%0D%0A%09%09return null;%0D%0A%09%09%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

Support ISO 21090 datatypes