Class LocationItem


  • @Deprecated
    @ProviderType
    public class LocationItem
    extends java.lang.Object
    Deprecated.
    Simple data object that represents a targeted location item.
    • Constructor Summary

      Constructors 
      Constructor Description
      LocationItem​(java.lang.String name)
      Deprecated.
      Constructs an object of this type, using the name of the location
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Deprecated.
      Returns the name of the location
      java.lang.String getPage()
      Deprecated.
      Returns the path to the parent page of the location
      java.lang.String getPath()
      Deprecated.
      Returns the path to the location
      LocationItem withParentPage​(java.lang.String parentPage)
      Deprecated.
      Sets the parent page of this location
      LocationItem withPath​(java.lang.String path)
      Deprecated.
      Sets the path of this location
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocationItem

        public LocationItem​(java.lang.String name)
        Deprecated.
        Constructs an object of this type, using the name of the location
        Parameters:
        name - the name of the location
    • Method Detail

      • withPath

        public LocationItem withPath​(java.lang.String path)
        Deprecated.
        Sets the path of this location
        Parameters:
        path - the path of the location
        Returns:
        a reference to this object
      • withParentPage

        public LocationItem withParentPage​(java.lang.String parentPage)
        Deprecated.
        Sets the parent page of this location
        Parameters:
        parentPage - the path to the page that contains this targeted location
        Returns:
        a reference to this object
      • getName

        public java.lang.String getName()
        Deprecated.
        Returns the name of the location
        Returns:
        Name of the location
      • getPath

        public java.lang.String getPath()
        Deprecated.
        Returns the path to the location
        Returns:
        Path to the location
      • getPage

        public java.lang.String getPage()
        Deprecated.
        Returns the path to the parent page of the location
        Returns:
        Path to the parent page of the location