public Region getContainingRegion ( RegionType type ) { loadRegionData ( ) ; if ( containingRegion == null ) { return null ; } if ( containingRegion . type . equals ( type ) ) { return containingRegion ; } else { return containingRegion . getContainingRegion ( type ) ; } }
Used to determine the macroregion that geographically contains this region and that matches the given type .