Package my.uum.model

Class LocationHierarchy.LocationNode

java.lang.Object
my.uum.model.LocationHierarchy.LocationNode
Enclosing class:
LocationHierarchy

public static class LocationHierarchy.LocationNode extends Object
Represents a node in the location hierarchy.
  • Constructor Details

    • LocationNode

      public LocationNode(String name, String type)
      Creates a new LocationNode.
      Parameters:
      name - Name of the location
      type - Type of the location (e.g., state, city)
  • Method Details

    • getName

      public String getName()
      Gets the name of the location.
      Returns:
      Location name
    • getType

      public String getType()
      Gets the type of the location.
      Returns:
      Location type
    • getChildren

      public Map<String,LocationHierarchy.LocationNode> getChildren()
      Gets the child nodes of this location.
      Returns:
      Map of child locations