com.fasterxml.jackson.databind.AnnotationIntrospector that adds support for using
javax.persistence.Transient to denote ignorable fields (alongside with Jackson
and/or JAXB annotations).
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | HibernateAnnotationIntrospector.
Helper class used to encapsulate detection of |
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | _cfgCheckTransient
Whether we should check for existence of @Transient or not. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | hasIgnoreMarker(AnnotatedMember m)
Overrides com. Method called to check whether given property is marked to be ignored. |
| public Boolean | isIgnorableType(AnnotatedClass
Annotated class to introspect ac)Overrides com. Method for checking whether properties that have specified type (class, not generics aware) should be completely ignored for serialization and deserialization purposes. |
| public HibernateAnnotationIntrospector | setUseTransient(boolean state)
Method to call to specify whether @Transient annotation is to be supported; if false, will be ignored, if true, will be used to detect "ignorable" properties. |
| public Version | version()
Implements abstract com. Implements com. Method called to detect version of the component that implements this interface;
returned version should never be null, but may return specific "not available"
instance (see |
| _cfgCheckTransient | back to summary |
|---|---|
| protected boolean _cfgCheckTransient Whether we should check for existence of @Transient or not. Default value is 'true'. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HibernateAnnotationIntrospector | back to summary |
|---|---|
| public HibernateAnnotationIntrospector() | |
| doesUseTransient | back to summary |
|---|---|
public boolean doesUseTransient()
| |
| hasIgnoreMarker | back to summary |
|---|---|
| public boolean hasIgnoreMarker(AnnotatedMember m) Overrides com. Doc from com. Method called to check whether given property is marked to be ignored. This is used to determine whether to ignore properties, on per-property basis, usually combining annotations from multiple accessors (getters, setters, fields, constructor parameters).
| |
| isIgnorableType | back to summary |
|---|---|
| public Boolean isIgnorableType(AnnotatedClass ac) Overrides com. Doc from com. Method for checking whether properties that have specified type (class, not generics aware) should be completely ignored for serialization and deserialization purposes.
| |
| setUseTransient | back to summary |
|---|---|
| public HibernateAnnotationIntrospector setUseTransient(boolean state) Method to call to specify whether @Transient annotation is to be supported; if false, will be ignored, if true, will be used to detect "ignorable" properties. | |
| version | back to summary |
|---|---|
| public Version version() Implements abstract com. Implements com. Doc from com. Method called to detect version of the component that implements this interface;
returned version should never be null, but may return specific "not available"
instance (see | |
FieldHandler; class
that was part of Hibernate from 4.0 until 5.0, but removed from 5.1.
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private static final String | |
| public static final HibernateAnnotationIntrospector. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class |
| _handlerClass | back to summary |
|---|---|
| private final Class<?> _handlerClass | |
| FIELD_HANDLER_INTERFACE | back to summary |
|---|---|
| private static final String FIELD_HANDLER_INTERFACE | |
| instance | back to summary |
|---|---|
| public static final HibernateAnnotationIntrospector. | |
| FieldHandlerChecker | back to summary |
|---|---|
| public FieldHandlerChecker() | |
| getHandlerClass | back to summary |
|---|---|
| public Class | |