org.qi4j.bootstrap

## Class Assemblers.Identity<AssemblerType>

- java.lang.Object
- - org.qi4j.bootstrap.Assemblers.Identity<AssemblerType>

- Type Parameters:
    `AssemblerType` - Parameterized type of Assembler
  All Implemented Interfaces:
    Assembler, Assemblers.Identifiable<AssemblerType>
  Enclosing class:
    Assemblers

      public abstract static class Assemblers.Identity<AssemblerType>
      extends Object
      implements Assemblers.Identifiable<AssemblerType>

  Assembler with Identity adapter.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Assemblers.Identity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasIdentity()`
    `AssemblerType` | `identifiedBy(String identity)` Set Identity.
    `String` | `identity()` Get Identity.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.qi4j.bootstrap.Assembler

      `assemble`

- - ### Constructor Detail

    - #### Assemblers.Identity

          public Assemblers.Identity()

  - ### Method Detail

    - #### identifiedBy

          public final AssemblerType identifiedBy(String identity)

      Description copied from interface: `Assemblers.Identifiable`
      Set Identity.
      Specified by:
        `identifiedBy` in interface `Assemblers.Identifiable<AssemblerType>`
      Parameters:
        `identity` - Identity
      Returns:
        This Assembler instance

    - #### hasIdentity

          public final boolean hasIdentity()

      Specified by:
        `hasIdentity` in interface `Assemblers.Identifiable<AssemblerType>`
      Returns:
        true if `Assemblers.Identifiable.identity()` do not return null, false otherwise

    - #### identity

          public final String identity()

      Description copied from interface: `Assemblers.Identifiable`
      Get Identity.

      Default to null.

      Specified by:
        `identity` in interface `Assemblers.Identifiable<AssemblerType>`
      Returns:
        Identity