Package my.uum.model
Class LocationHierarchy.LocationNode
java.lang.Object
my.uum.model.LocationHierarchy.LocationNode
- Enclosing class:
- LocationHierarchy
Represents a node in the location hierarchy.
-
Constructor Details
-
LocationNode
Creates a new LocationNode.- Parameters:
name- Name of the locationtype- Type of the location (e.g., state, city)
-
-
Method Details
-
getName
Gets the name of the location.- Returns:
- Location name
-
getType
Gets the type of the location.- Returns:
- Location type
-
getChildren
Gets the child nodes of this location.- Returns:
- Map of child locations
-