Package org.hibernate.type
Class BasicCollectionType<C extendsCollection<E>,E>
java.lang.Object
org.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<C>
org.hibernate.type.BasicCollectionType<C,E>
- All Implemented Interfaces:
BasicType<C>,Type<C>,Serializable,BasicValuedMapping,Bindable,JdbcMapping,JdbcMappingContainer,MappingModelExpressible,MappingType,SqlExpressible,ValueMapping,BasicDomainType<C>,DomainType<C>,ReturnableType<C>,SimpleDomainType<C>,SqmBindableType<C>,SqmExpressible<C>,SqmDomainType<C>,AdjustableBasicType<C>,BasicPluralType<C,,E> BasicType<C>,BindableType<C>,JavaTypedExpressible,OutputableType<C>,ProcedureParameterExtractionAware<C>,ProcedureParameterNamedBinder<C>,Type
- Direct Known Subclasses:
ConvertedBasicCollectionType
public classBasicCollectionType<C extendsCollection<E>,E> extendsAbstractSingleColumnStandardBasicType<C>implementsAdjustableBasicType<C>,BasicPluralType<C,E>
A type that maps between
ARRAY andCollection<T>- See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>,Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceTypeConstructor Summary
ConstructorsConstructorDescriptionBasicCollectionType(BasicType<E> baseDescriptor,JdbcType arrayJdbcType,BasicCollectionJavaType<C, E> collectionTypeDescriptor) Method Summary
Modifier and TypeMethodDescriptionbooleanGet element typegetName()Returns the abbreviated name of the type.inthashCode()protected boolean<X> BasicType<X>resolveIndicatedType(JdbcTypeIndicators indicators,JavaType<X> domainJtd) Perform the adjustmentMethods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSetMethods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble,beforeAssemble,canDoExtraction,canDoSetting,compare,deepCopy,deepCopy,disassemble,extract,extract,fromString,getCastType,getColumnSpan,getHashCode,getHashCode,getJavaType,getJavaTypeDescriptor,getJdbcLiteralFormatter,getJdbcType,getJdbcValueBinder,getJdbcValueExtractor,getMutabilityPlan,getRegistrationKeys,getReturnedClass,getSqlTypeCodes,getTypeForEqualsHashCode,isAnyType,isAssociationType,isCollectionType,isComponentType,isDirty,isDirty,isDirty,isEntityType,isEqual,isEqual,isModified,isMutable,isSame,nullSafeSet,nullSafeSet,nullSafeSet,nullSafeSet,replace,replace,toColumnNullness,toLoggableStringMethods inherited from class java.lang.Object
clone,finalize,getClass,notify,notifyAll,toString,wait,wait,waitMethods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
getPersistenceTypeMethods inherited from interface org.hibernate.type.BasicType
compare,disassemble,forEachDisassembledJdbcValue,forEachJdbcType,forEachJdbcType,getCheckCondition,getExpressibleJavaType,getJavaType,getJavaTypeDescriptor,getJdbcLiteralFormatter,getJdbcMapping,getJdbcMapping,getJdbcTypeCount,getJdbcValueBinder,getJdbcValueExtractor,getMappedJavaType,getMappedType,getRegistrationKeys,getSingleJdbcMapping,getSqmType,getValueConverterMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue,forEachDisassembledJdbcValue,forEachDisassembledJdbcValue,forEachJdbcValue,forEachJdbcValue,forEachJdbcValue,forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue,convertToRelationalValue,getCastType,getJdbcJavaType,getJdbcTypeMethods inherited from interface org.hibernate.type.OutputableType
canDoExtraction,extract,extract,getJdbcTypeMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLength,getTypeNameMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaTypeMethods inherited from interface org.hibernate.type.Type
assemble,beforeAssemble,compare,deepCopy,disassemble,disassemble,getColumnSpan,getHashCode,getHashCode,getReturnedClass,getReturnedClassName,getSqlTypeCodes,getTypeForEqualsHashCode,isAnyType,isAssociationType,isCollectionType,isComponentType,isDirty,isDirty,isEntityType,isEqual,isEqual,isModified,isMutable,isSame,nullSafeSet,nullSafeSet,replace,replace,toColumnNullness,toLoggableStringMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
Constructor Details
BasicCollectionType
Method Details
getElementType
Description copied from interface:BasicPluralTypeGet element type- Specified by:
getElementTypein interfaceBasicPluralType<C extendsCollection<E>,E>
getName
Description copied from interface:TypeReturns the abbreviated name of the type.registerUnderJavaType
protected boolean registerUnderJavaType()- Overrides:
registerUnderJavaTypein classAbstractStandardBasicType<C extendsCollection<E>>
resolveIndicatedType
Description copied from interface:AdjustableBasicTypePerform the adjustment- Specified by:
resolveIndicatedTypein interfaceAdjustableBasicType<C extendsCollection<E>>
equals
hashCode
public int hashCode()