Home
last modified time | relevance | path

Searched refs:objectIdInfo (Results 1 – 11 of 11) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DAbstractDeserializer.java130 ObjectIdInfo objectIdInfo = intr.findObjectIdInfo(accessor); in createContextual() local
131 … if (objectIdInfo != null) { // some code duplication here as well (from BeanDeserializerFactory) in createContextual()
135 … ObjectIdResolver resolver = ctxt.objectIdResolverInstance(accessor, objectIdInfo); in createContextual()
138 objectIdInfo = intr.findObjectReferenceInfo(accessor, objectIdInfo); in createContextual()
139 Class<?> implClass = objectIdInfo.getGeneratorType(); in createContextual()
142 PropertyName propName = objectIdInfo.getPropertyName(); in createContextual()
150 idGen = new PropertyBasedObjectIdGenerator(objectIdInfo.getScope()); in createContextual()
158 resolver = ctxt.objectIdResolverInstance(accessor, objectIdInfo); in createContextual()
161 idGen = ctxt.objectIdGeneratorInstance(accessor, objectIdInfo); in createContextual()
164 … ObjectIdReader oir = ObjectIdReader.construct(idType, objectIdInfo.getPropertyName(), in createContextual()
DBeanDeserializerFactory.java368 ObjectIdInfo objectIdInfo = beanDesc.getObjectIdInfo(); in addObjectIdReader() local
369 if (objectIdInfo == null) { in addObjectIdReader()
372 Class<?> implClass = objectIdInfo.getGeneratorType(); in addObjectIdReader()
377 … ObjectIdResolver resolver = ctxt.objectIdResolverInstance(beanDesc.getClassInfo(), objectIdInfo); in addObjectIdReader()
381 PropertyName propName = objectIdInfo.getPropertyName(); in addObjectIdReader()
388 gen = new PropertyBasedObjectIdGenerator(objectIdInfo.getScope()); in addObjectIdReader()
393 gen = ctxt.objectIdGeneratorInstance(beanDesc.getClassInfo(), objectIdInfo); in addObjectIdReader()
398 objectIdInfo.getPropertyName(), gen, deser, idProp, resolver)); in addObjectIdReader()
889 ObjectIdInfo objectIdInfo = propDef.findObjectIdInfo(); in constructSettableProperty() local
890 if (objectIdInfo != null){ in constructSettableProperty()
[all …]
DBeanDeserializerBase.java744 ObjectIdInfo objectIdInfo = intr.findObjectIdInfo(accessor); in createContextual() local
745 … if (objectIdInfo != null) { // some code duplication here as well (from BeanDeserializerFactory) in createContextual()
747 objectIdInfo = intr.findObjectReferenceInfo(accessor, objectIdInfo); in createContextual()
749 Class<?> implClass = objectIdInfo.getGeneratorType(); in createContextual()
754 ObjectIdResolver resolver = ctxt.objectIdResolverInstance(accessor, objectIdInfo); in createContextual()
756 PropertyName propName = objectIdInfo.getPropertyName(); in createContextual()
764 idGen = new PropertyBasedObjectIdGenerator(objectIdInfo.getScope()); in createContextual()
769 idGen = ctxt.objectIdGeneratorInstance(accessor, objectIdInfo); in createContextual()
772 oir = ObjectIdReader.construct(idType, objectIdInfo.getPropertyName(), in createContextual()
893 ObjectIdInfo objectIdInfo = prop.getObjectIdInfo(); in _resolvedObjectIdProperty() local
[all …]
DSettableBeanProperty.java301 public void setObjectIdInfo(ObjectIdInfo objectIdInfo) { in setObjectIdInfo() argument
302 _objectIdInfo = objectIdInfo; in setObjectIdInfo()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DBeanSerializerBase.java505 ObjectIdInfo objectIdInfo = intr.findObjectIdInfo(accessor); in createContextual() local
506 if (objectIdInfo == null) { in createContextual()
509 objectIdInfo = intr.findObjectReferenceInfo(accessor, null); in createContextual()
510 if (objectIdInfo != null) { in createContextual()
511 oiw = _objectIdWriter.withAlwaysAsId(objectIdInfo.getAlwaysAsId()); in createContextual()
519 objectIdInfo = intr.findObjectReferenceInfo(accessor, objectIdInfo); in createContextual()
520 Class<?> implClass = objectIdInfo.getGeneratorType(); in createContextual()
525 String propName = objectIdInfo.getPropertyName().getSimpleName(); in createContextual()
544 … ObjectIdGenerator<?> gen = new PropertyBasedObjectIdGenerator(objectIdInfo, idProp); in createContextual()
545 … oiw = ObjectIdWriter.construct(idType, (PropertyName) null, gen, objectIdInfo.getAlwaysAsId()); in createContextual()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDatabindContext.java314 ObjectIdInfo objectIdInfo) in objectIdGeneratorInstance() argument
317 Class<?> implClass = objectIdInfo.getGeneratorType(); in objectIdGeneratorInstance()
325 return gen.forScope(objectIdInfo.getScope()); in objectIdGeneratorInstance()
328 public ObjectIdResolver objectIdResolverInstance(Annotated annotated, ObjectIdInfo objectIdInfo) in objectIdResolverInstance() argument
330 Class<? extends ObjectIdResolver> implClass = objectIdInfo.getResolverType(); in objectIdResolverInstance()
DAnnotationIntrospector.java221 public ObjectIdInfo findObjectReferenceInfo(Annotated ann, ObjectIdInfo objectIdInfo) { in findObjectReferenceInfo() argument
222 return objectIdInfo; in findObjectReferenceInfo()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerFactory.java486 ObjectIdInfo objectIdInfo = beanDesc.getObjectIdInfo(); in constructObjectIdHandler() local
487 if (objectIdInfo == null) { in constructObjectIdHandler()
491 Class<?> implClass = objectIdInfo.getGeneratorType(); in constructObjectIdHandler()
495 String propName = objectIdInfo.getPropertyName().getSimpleName(); in constructObjectIdHandler()
516 gen = new PropertyBasedObjectIdGenerator(objectIdInfo, idProp); in constructObjectIdHandler()
518 … return ObjectIdWriter.construct(idType, (PropertyName) null, gen, objectIdInfo.getAlwaysAsId()); in constructObjectIdHandler()
525 gen = prov.objectIdGeneratorInstance(beanDesc.getClassInfo(), objectIdInfo); in constructObjectIdHandler()
526 return ObjectIdWriter.construct(idType, objectIdInfo.getPropertyName(), gen, in constructObjectIdHandler()
527 objectIdInfo.getAlwaysAsId()); in constructObjectIdHandler()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DObjectIdReferenceProperty.java21 public ObjectIdReferenceProperty(SettableBeanProperty forward, ObjectIdInfo objectIdInfo) in ObjectIdReferenceProperty() argument
25 _objectIdInfo = objectIdInfo; in ObjectIdReferenceProperty()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotationIntrospectorPair.java448 public ObjectIdInfo findObjectReferenceInfo(Annotated ann, ObjectIdInfo objectIdInfo) { in findObjectReferenceInfo() argument
450 objectIdInfo = _secondary.findObjectReferenceInfo(ann, objectIdInfo); in findObjectReferenceInfo()
451 objectIdInfo = _primary.findObjectReferenceInfo(ann, objectIdInfo); in findObjectReferenceInfo()
452 return objectIdInfo; in findObjectReferenceInfo()
DJacksonAnnotationIntrospector.java650 public ObjectIdInfo findObjectReferenceInfo(Annotated ann, ObjectIdInfo objectIdInfo) { in findObjectReferenceInfo() argument
653 return objectIdInfo; in findObjectReferenceInfo()
655 if (objectIdInfo == null) { in findObjectReferenceInfo()
656 objectIdInfo = ObjectIdInfo.empty(); in findObjectReferenceInfo()
658 return objectIdInfo.withAlwaysAsId(ref.alwaysAsId()); in findObjectReferenceInfo()