Class AbstractJdkValueExtractor<V>
java.lang.Object
org.hibernate.models.internal.jdk.AbstractJdkValueExtractor<V>
- All Implemented Interfaces:
JdkValueExtractor<V>
- Direct Known Subclasses:
JdkArrayValueExtractor,JdkNestedValueExtractor,JdkPassThruExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
VextractValue(A usage, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelContext) Extract the value of the described attribute from the given annotationextractValue(Annotation annotation, String attributeName, ModelsContext modelsContext) Extract the value of the named attribute from the given annotationprotected abstract Vwrap(V rawValue, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelsContext)
-
Constructor Details
-
AbstractJdkValueExtractor
public AbstractJdkValueExtractor()
-
-
Method Details
-
extractValue
public <A extends Annotation> V extractValue(A usage, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelContext) Description copied from interface:JdkValueExtractorExtract the value of the described attribute from the given annotation- Specified by:
extractValuein interfaceJdkValueExtractor<V>
-
extractValue
Description copied from interface:JdkValueExtractorExtract the value of the named attribute from the given annotation- Specified by:
extractValuein interfaceJdkValueExtractor<V>
-
wrap
protected abstract V wrap(V rawValue, AttributeDescriptor<V> attributeDescriptor, ModelsContext modelsContext)
-