Package com.fasterxml.jackson.annotation
Class ObjectIdGenerator.IdKey
- java.lang.Object
-
- com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ObjectIdGenerator<T>
public static final class ObjectIdGenerator.IdKey extends java.lang.Object implements java.io.SerializableSimple 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 Summary
Fields Modifier and Type Field Description java.lang.ObjectkeyObject for which Object Id was generated: can NOT be null.java.lang.Class<?>scopeScope of the Object Id (may be null, to denote global)java.lang.Class<?>typeType ofObjectIdGeneratorused for generating Object Id
-
Constructor Summary
Constructors Constructor Description IdKey(java.lang.Class<?> type, java.lang.Class<?> scope, java.lang.Object key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
type
public final java.lang.Class<?> type
Type ofObjectIdGeneratorused for generating Object Id
-
scope
public final java.lang.Class<?> scope
Scope of the Object Id (may be null, to denote global)
-
key
public final java.lang.Object key
Object for which Object Id was generated: can NOT be null.
-
-