public interface FieldMetadataProvider
extends org.springframework.core.Ordered
FieldMetadataProviderAdapter.| Modifier and Type | Field and Description |
|---|---|
static int |
ADORNED_TARGET |
static int |
BASIC |
static int |
COLLECTION |
static int |
MAP |
static int |
MAP_FIELD |
| Modifier and Type | Method and Description |
|---|---|
FieldProviderResponse |
addMetadata(AddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the
Field instance in the request. |
FieldProviderResponse |
addMetadataFromFieldType(AddMetadataFromFieldTypeRequest addMetadataFromFieldTypeRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the
Field instance in the request. |
FieldProviderResponse |
addMetadataFromMappingData(AddMetadataFromMappingDataRequest addMetadataFromMappingDataRequest,
FieldMetadata metadata)
Contribute to metadata inspection using Hibernate column information.
|
FieldProviderResponse |
lateStageAddMetadata(LateStageAddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the
Field instance in the request. |
FieldProviderResponse |
overrideViaAnnotation(OverrideViaAnnotationRequest overrideViaAnnotationRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the entity in the request.
|
FieldProviderResponse |
overrideViaXml(OverrideViaXmlRequest overrideViaXmlRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the ceiling entity and config key.
|
static final int BASIC
static final int COLLECTION
static final int ADORNED_TARGET
static final int MAP
static final int MAP_FIELD
FieldProviderResponse addMetadata(AddMetadataRequest addMetadataRequest, Map<String,FieldMetadata> metadata)
Field instance in the request. Implementations should
add values to the metadata parameter.addMetadataRequest - contains the requested field and support classes.metadata - implementations should add metadata for the requested field hereFieldProviderResponse lateStageAddMetadata(LateStageAddMetadataRequest addMetadataRequest, Map<String,FieldMetadata> metadata)
Field instance in the request. Implementations should
add values to the metadata parameter.
This method differs from addMetadata(AddMetadataRequest, Map) in that it will be invoked after the cacheable
properties are assembled. It is therefore useful in scenarios where you may want to contribute properties to
metadata that are dynamic and should not be cached normally.lateStageAddMetadataRequest - contains the requested field name and support classes.metadata - implementations should add metadata for the requested field hereFieldProviderResponse overrideViaAnnotation(OverrideViaAnnotationRequest overrideViaAnnotationRequest, Map<String,FieldMetadata> metadata)
overrideViaAnnotationRequest - contains the requested entity and support classes.metadata - implementations should override metadata hereFieldProviderResponse overrideViaXml(OverrideViaXmlRequest overrideViaXmlRequest, Map<String,FieldMetadata> metadata)
overrideViaXmlRequest - contains the requested config key, ceiling entity and support classes.metadata - implementations should override metadata hereFieldProviderResponse addMetadataFromMappingData(AddMetadataFromMappingDataRequest addMetadataFromMappingDataRequest, FieldMetadata metadata)
addMetadataFromMappingDataRequest - contains the requested Hibernate type and support classes.metadata - implementations should impact values for the metadata for the field hereFieldProviderResponse addMetadataFromFieldType(AddMetadataFromFieldTypeRequest addMetadataFromFieldTypeRequest, Map<String,FieldMetadata> metadata)
Field instance in the request. Implementations should
add values to the metadata parameter. This is metadata based on the field type.addMetadataFromFieldTypeRequest - contains the requested field, property name and support classes.metadata - implementations should add values for the field hereCopyright © 2017. All rights reserved.