Class HierarchicalElement


  • public class HierarchicalElement
    extends Object
    Hierarchical Element Object, used for ContentServicesUtil.parseHtml(String) extractions.
    Since:
    9.0.0
    Version:
    $Revision: 19135 $ $Date: 2016-06-02 18:12:21 -0300 (Thu, 02 Jun 2016) $
    • Constructor Detail

      • HierarchicalElement

        public HierarchicalElement()
    • Method Detail

      • getId

        public String getId()
        Returns the identifier.
        Returns:
        the identifier.
        Since:
        9.0.0
      • setId

        public HierarchicalElement setId​(String id)
        Set identifier with a given id.
        Parameters:
        id - the identifier to be set.
        Returns:
        the changed element.
        Since:
        9.0.0
      • getName

        public String getName()
        Returns the name.
        Returns:
        the name.
        Since:
        9.0.0
      • setName

        public HierarchicalElement setName​(String name)
        Set name with a given name.
        Parameters:
        name - the name to be set.
        Returns:
        the changed element.
        Since:
        9.0.0
      • getParentId

        public String getParentId()
        Returns the parent identifier.
        Returns:
        the parent identifier.
        Since:
        9.0.0
      • setParentId

        public HierarchicalElement setParentId​(String parentId)
        Set the parent identifier with a given parentId.
        Parameters:
        parentId - the parent identifier.
        Returns:
        the changed element.
        Since:
        9.0.0
      • getPosition

        public int getPosition()
        Returns the position.
        Returns:
        the hierarchy position.
        Since:
        9.0.0
      • setPosition

        public HierarchicalElement setPosition​(int position)
        Set the hierarchy position with a given position.
        Parameters:
        position - the hierarchy position.
        Returns:
        the changed element.
        Since:
        9.0.0