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
      • _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

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

        @Deprecated
        public ObjectIdInfo(String name,
                               Class<?> scope,
                               Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen)
        Deprecated. 
      • 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 © 2014 FasterXML. All Rights Reserved.