Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.tooling.model
Interface HierarchicalElement

All Superinterfaces:
  Element

All Known Subinterfaces:
  BasicIdeaProject, EclipseProject, GradleProject, HierarchicalEclipseProject, HierarchicalProject, IdeaModule, IdeaProject

    public interface HierarchicalElement

extends Element

Represents an element which belongs to some hierarchy.

Since:
  1.0-rc-1

Method Summary
`DomainObjectSet<? extends HierarchicalElement>` | `getChildren()` Returns the child elements.
`HierarchicalElement` | `getParent()` Returns the parent of this element, if any.

Methods inherited from interface org.gradle.tooling.model.Element
`getDescription, getName`

Method Detail

### getParent

    HierarchicalElement getParent()

  Returns the parent of this element, if any.

  Returns:
    The parent, or null if it has no parent.

### getChildren

    DomainObjectSet<? extends HierarchicalElement> getChildren()

  Returns the child elements.

  Returns:
    The child elements. Returns an empty set if it has no children.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD