Interface HasLocation

    • Method Summary

      Modifier and Type Method Description
      List<Location> getLocation()
      Gets the value of the location property.
    • Method Detail

      • getLocation

        List<Location> getLocation()
        Gets the value of the location property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification made to the returned list will be present inside the object. This is why there is not a set method for the location property.

        For example, to add a new item, do as follows:

            getLocation().add(newItem);
         
        Returns:
        a list of objects of type Location