getContext().getLevelByName(mdmShipmentsHier, "WAREHOUSE_AW");
println("Getting the Type of an MdmSource.");
// The following line is the code from the example.
MetadataObject mdmWarehouseType = mdmWarehouse.getType();
println(mdmWarehouseType.getID());
}