GeographicLocation Interface

Implements

public interface GeographicLocation
extends HasName, HasInnerModel<Region>

Type representing Geographic Hierarchy region (location).

Method Summary

Modifier and Type Method and Description
abstract List<GeographicLocation> childLocations()

Gets list of immediate child locations grouped under this location in the Geographic Hierarchy.

abstract String code()

Gets the location code.

abstract List<GeographicLocation> descendantLocations()

Gets list of all descendant locations grouped under this location in the Geographic Hierarchy.

Method Details

childLocations

public abstract List childLocations()

Gets list of immediate child locations grouped under this location in the Geographic Hierarchy.

Returns:

list of immediate child locations grouped under this location in the Geographic Hierarchy.

code

public abstract String code()

Gets the location code.

Returns:

the location code.

descendantLocations

public abstract List descendantLocations()

Gets list of all descendant locations grouped under this location in the Geographic Hierarchy.

Returns:

list of all descendant locations grouped under this location in the Geographic Hierarchy.

Applies to