ModelElement (Gradle API 2.14.1)
Date: 2016-07-18

Package: org.gradle.model

## [Java] Interface ModelElement

- org.gradle.api.Named

- All Superinterfaces:
    Named

  Represents an element in a model. Elements are arranged in a hierarchy.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `String` | `getDisplayName()` Returns a human-consumable display name for this element.
    `String` | `getName()` Returns the name of this element.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface Named` | `getName`

- - ### Method Detail

    - #### public String getDisplayName()

      Returns a human-consumable display name for this element.

    - #### @Override public String getName()

      Returns the name of this element. Each element has a name associated with it, that uniquely identifies the element amongst its siblings. Some element have their name generated or automatically assigned, and for these elements the name may not be human consumable.