Package org.hibernate.models.spi
Interface ValueWrapper<W,R>
- All Known Implementing Classes:
ArrayValueWrapper,ArrayValueWrapper,BooleanValueWrapper,ByteValueWrapper,CharacterValueWrapper,ClassValueWrapper,ClassValueWrapper,DoubleValueWrapper,EnumValueWrapper,FloatValueWrapper,IntegerValueWrapper,LongValueWrapper,NestedValueWrapper,NestedValueWrapper,PassThruWrapper,ShortValueWrapper,StringValueWrapper
public interface ValueWrapper<W,R>
Wraps a "raw" value. For most cases, this is a simple pass-thru. But for a few
cases, the raw and wrapper types differ:
- Class
Classvalues are wrapped as ClassDetails- Annotation
Classvalues are wrapped as AnnotationUsage- arrays
- Array values are wrapped as List
-
Method Summary
Modifier and TypeMethodDescriptionwrap(R rawValue, AnnotationTarget target, SourceModelBuildingContext buildingContext)
-
Method Details
-
wrap
-