Package org.hibernate.models.spi
Interface ValueExtractor<S,V>
- Type Parameters:
S- The annotation sourceV- The value type
- All Known Implementing Classes:
AbstractValueExtractor,AbstractValueExtractor,ArrayValueExtractor,ArrayValueExtractor,BooleanValueExtractor,ByteValueExtractor,CharacterValueExtractor,ClassValueExtractor,ClassValueExtractor,DoubleValueExtractor,EnumValueExtractor,FloatValueExtractor,IntegerValueExtractor,LongValueExtractor,NestedValueExtractor,NestedValueExtractor,PassThruExtractor,ShortValueExtractor,StringValueExtractor
public interface ValueExtractor<S,V>
-
Method Summary
Modifier and TypeMethodDescriptionextractValue(S annotation, String attributeName, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extract the value of the named attribute from the given annotationdefault VextractValue(S annotation, AttributeDescriptor<V> attributeDescriptor, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extract the value of the described attribute from the given annotation
-
Method Details
-
extractValue
V extractValue(S annotation, String attributeName, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extract the value of the named attribute from the given annotation -
extractValue
default V extractValue(S annotation, AttributeDescriptor<V> attributeDescriptor, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extract the value of the described attribute from the given annotation
-