Interface EntityId

All Superinterfaces:
Serializable, TechnicalId
All Known Subinterfaces:
AggregateRootId
All Known Implementing Classes:
AggregateRootUuid, IntegerEntityId

public interface EntityId extends TechnicalId
Identifies an entity within all entities of the same type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the entity identifier as string.
    Returns the entity identifier as string with type and identifier.
    Returns the type represented by this identifier.
  • Method Details

    • getType

      EntityType getType()
      Returns the type represented by this identifier.
      Returns:
      Type of entity.
    • asString

      String asString()
      Returns the entity identifier as string.
      Returns:
      Entity identifier.
    • asTypedString

      String asTypedString()
      Returns the entity identifier as string with type and identifier.
      Returns:
      Type and identifier.