Interface EntityMapper.StatefulEntityMapper<T extends Identifiable>

  • Enclosing interface:
    EntityMapper<T extends Identifiable>

    public static interface EntityMapper.StatefulEntityMapper<T extends Identifiable>
    A stateful entity mapper keeps an internal state for a set of candidates to optimize the mapping process.
    • Method Detail

      • contains

        boolean contains​(String identifier)
        Check if any of the candidates can be mapped to the identifier.
      • containsAny

        boolean containsAny​(Collection<String> identifiers)
        Check if any of the candidates can be mapped to any of the identifiers.
      • matchOne

        Optional<T> matchOne​(String identifier)
        Map the identifier to a matching candidate.
      • matchAll

        Set<T> matchAll​(String identifier)
        Match the identifier to all the matching candidates.