Package org.hibernate.models.internal
Class AbstractTypeDescriptor<V>
java.lang.Object
org.hibernate.models.internal.AbstractTypeDescriptor<V>
- All Implemented Interfaces:
ValueTypeDescriptor<V>
- Direct Known Subclasses:
BooleanTypeDescriptor,ByteTypeDescriptor,CharacterTypeDescriptor,ClassTypeDescriptor,DoubleTypeDescriptor,EnumTypeDescriptor,FloatTypeDescriptor,IntegerTypeDescriptor,LongTypeDescriptor,NestedTypeDescriptor,ShortTypeDescriptor,StringTypeDescriptor
Base support for AttributeDescriptor implementations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAttributeDescriptor(AnnotationDescriptor<?> annotationDescriptor, String attributeName) Factory for creating typed AttributeDescriptor referencescreateValue(AttributeDescriptor<?> attributeDescriptor, AnnotationTarget target, SourceModelBuildingContext context) Creates a properly typed default attribute value.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.models.spi.ValueTypeDescriptor
createJandexExtractor, createJandexWrapper, createJdkExtractor, createJdkWrapper, getWrappedValueType, unwrap
-
Constructor Details
-
AbstractTypeDescriptor
public AbstractTypeDescriptor()
-
-
Method Details
-
createAttributeDescriptor
public AttributeDescriptor<V> createAttributeDescriptor(AnnotationDescriptor<?> annotationDescriptor, String attributeName) Description copied from interface:ValueTypeDescriptorFactory for creating typed AttributeDescriptor references- Specified by:
createAttributeDescriptorin interfaceValueTypeDescriptor<V>
-
createValue
public V createValue(AttributeDescriptor<?> attributeDescriptor, AnnotationTarget target, SourceModelBuildingContext context) Description copied from interface:ValueTypeDescriptorCreates a properly typed default attribute value. Generally used in creating dynamic annotations.- Specified by:
createValuein interfaceValueTypeDescriptor<V>
-
toString
-