com.fasterxml.jackson.databind.introspect

Class ObjectIdInfo



  • public class ObjectIdInfo
    extends Object
    Container object that encapsulates information usually derived from JsonIdentityInfo annotation or its custom alternatives
    • Field Detail

      • _generator

        protected final Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> _generator
      • _resolver

        protected final Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> _resolver
      • _scope

        protected final Class<?> _scope
      • _alwaysAsId

        protected final boolean _alwaysAsId
    • Constructor Detail

      • ObjectIdInfo

        public ObjectIdInfo(PropertyName name,
                            Class<?> scope,
                            Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
                            Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver)
      • ObjectIdInfo

        protected ObjectIdInfo(PropertyName prop,
                               Class<?> scope,
                               Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
                               boolean alwaysAsId)
      • ObjectIdInfo

        protected ObjectIdInfo(PropertyName prop,
                               Class<?> scope,
                               Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
                               boolean alwaysAsId,
                               Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver)
    • Method Detail

      • withAlwaysAsId

        public ObjectIdInfo withAlwaysAsId(boolean state)
      • getScope

        public Class<?> getScope()
      • getGeneratorType

        public Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> getGeneratorType()
      • getResolverType

        public Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> getResolverType()
      • getAlwaysAsId

        public boolean getAlwaysAsId()

Copyright © 2008–2020 FasterXML. All rights reserved.