public static org.uddi.api_v2.TModel MapTModel(org.uddi.api_v3.TModel be) {
if (be == null) {
return null;
}
TModel item = new org.uddi.api_v2.TModel();
item.setTModelKey(be.getTModelKey());
item.setName(new Name(be.getName().getValue(), be.getName().getLang()));
item.setCategoryBag(MapCategoryBag(be.getCategoryBag()));
item.getDescription().addAll(MapDescription(be.getDescription()));
item.setIdentifierBag(MapIdentBag(be.getIdentifierBag()));
item.setOverviewDoc(MapOverviewDoc(be.getOverviewDoc()));
return item;
}