Package com.enonic.xp.name

## Class Name

- java.lang.Object
- - com.enonic.xp.name.Name

- Direct Known Subclasses:
    `ContentName`, `IssueName`, `NodeName`

      @PublicApi
      public abstract class Name
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected String` | `value` |

  - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `Name​(String name)` |
    `protected` | `Name​(String name, boolean validate)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `int` | `hashCode()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### value

          protected final String value

  - ### Constructor Detail

    - #### Name

          protected Name​(String name)

    - #### Name

          protected Name​(String name,
                         boolean validate)

  - ### Method Detail

    - #### equals

          public final boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public final int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public final String toString()

      Overrides:
        `toString` in class `Object`