com.fasterxml.jackson.annotation

Class ObjectIdGenerator.IdKey

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ObjectIdGenerator<T>


    public static final class ObjectIdGenerator.IdKey
    extends Object
    implements Serializable
    Simple key class that can be used as a key for ObjectId-to-POJO mappings, when multiple ObjectId types and scopes are used.
    See Also:
    Serialized Form
    • Field Detail

      • scope

        public final Class<?> scope
        Scope of the Object Id (may be null, to denote global)
      • key

        public final Object key
        Object for which Object Id was generated: can NOT be null.

Copyright © 2008–2021 FasterXML. All rights reserved.