public class FieldMetadataProviderAdapter extends AbstractFieldMetadataProvider
entityConfiguration, enumerationUtilitymetadataOverridesADORNED_TARGET, BASIC, COLLECTION, MAP, MAP_FIELD| Constructor and Description |
|---|
FieldMetadataProviderAdapter() |
| Modifier and Type | Method and Description |
|---|---|
MetadataProviderResponse |
addMetadata(AddFieldMetadataRequest addFieldMetadataRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the
Field instance in the request. |
MetadataProviderResponse |
addMetadataFromFieldType(AddMetadataFromFieldTypeRequest addMetadataFromFieldTypeRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the
Field instance in the request. |
MetadataProviderResponse |
addMetadataFromMappingData(AddMetadataFromMappingDataRequest addMetadataFromMappingDataRequest,
FieldMetadata metadata)
Contribute to metadata inspection using Hibernate column information.
|
int |
getOrder() |
MetadataProviderResponse |
lateStageAddMetadata(LateStageAddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the
Field instance in the request. |
MetadataProviderResponse |
overrideViaAnnotation(OverrideViaAnnotationRequest overrideViaAnnotationRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the entity in the request.
|
MetadataProviderResponse |
overrideViaXml(OverrideViaXmlRequest overrideViaXmlRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the ceiling entity and config key.
|
buildFieldInfo, convertType, getAdminPresentationEntries, getBasicJavaType, getTargetedOverride, setClassOwnership, setupBroadleafEnumerationgetTargetedOverride, setMetadataOverridespublic MetadataProviderResponse addMetadata(AddFieldMetadataRequest addFieldMetadataRequest, Map<String,FieldMetadata> metadata)
FieldMetadataProviderField instance in the request. Implementations should
add values to the metadata parameter.addFieldMetadataRequest - contains the requested field and support classes.metadata - implementations should add metadata for the requested field herepublic MetadataProviderResponse lateStageAddMetadata(LateStageAddMetadataRequest addMetadataRequest, Map<String,FieldMetadata> metadata)
FieldMetadataProviderField instance in the request. Implementations should
add values to the metadata parameter.
This method differs from FieldMetadataProvider.addMetadata(AddFieldMetadataRequest, 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.addMetadataRequest - contains the requested field name and support classes.metadata - implementations should add metadata for the requested field herepublic MetadataProviderResponse overrideViaAnnotation(OverrideViaAnnotationRequest overrideViaAnnotationRequest, Map<String,FieldMetadata> metadata)
FieldMetadataProvideroverrideViaAnnotationRequest - contains the requested entity and support classes.metadata - implementations should override metadata herepublic MetadataProviderResponse overrideViaXml(OverrideViaXmlRequest overrideViaXmlRequest, Map<String,FieldMetadata> metadata)
FieldMetadataProvideroverrideViaXmlRequest - contains the requested config key, ceiling entity and support classes.metadata - implementations should override metadata herepublic MetadataProviderResponse addMetadataFromMappingData(AddMetadataFromMappingDataRequest addMetadataFromMappingDataRequest, FieldMetadata metadata)
FieldMetadataProvideraddMetadataFromMappingDataRequest - contains the requested Hibernate type and support classes.metadata - implementations should impact values for the metadata for the field herepublic MetadataProviderResponse addMetadataFromFieldType(AddMetadataFromFieldTypeRequest addMetadataFromFieldTypeRequest, Map<String,FieldMetadata> metadata)
FieldMetadataProviderField 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 herepublic int getOrder()
Copyright © 2017. All rights reserved.