Interface EntityRegistry

All Known Implementing Classes:
NullEntityRegistry

public interface EntityRegistry
Provides information on entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new entity using its ID.
  • Method Details

    • createFromId

      @Nullable BaseEntity createFromId(String id)
      Create a new entity using its ID.
      Parameters:
      id - the id
      Returns:
      the entity, which may be null if the entity does not exist