org.qi4j.api.entity

## Class Identity.IdentityMixin

- java.lang.Object
- - org.qi4j.api.entity.Identity.IdentityMixin

- All Implemented Interfaces:
    Identity
  Enclosing interface:
    Identity

      public static class Identity.IdentityMixin
      extends Object
      implements Identity

  Default Identity implementation.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity

      `Identity.IdentityMixin`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Identity.IdentityMixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Property<String>` | `identity()` Returns the client view of the identity.

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

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

- - ### Constructor Detail

    - #### Identity.IdentityMixin

          public Identity.IdentityMixin()

  - ### Method Detail

    - #### identity

          public Property<String> identity()

      Description copied from interface: `Identity`
      Returns the client view of the identity.

      It is unique within the owning repository, but potentially not unique globally and between types.

      Specified by:
        `identity` in interface `Identity`
      Returns:
        The Identity of 'this' composite.