public static PropertyAdapter getPropertyAdapter(MetaType metaType)
{
PropertyAdapter propertyAdapter = null;
if (metaType.isSimple())
{
propertyAdapter = new PropertySimpleToSimpleValueAdapter();
}
else if (metaType.isGeneric())
{
propertyAdapter = new PropertyMapToGenericValueAdapter();
}