Class BasicArrayType<T,E>
java.lang.Object
org.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
org.hibernate.type.BasicArrayType<T,E>
- All Implemented Interfaces:
BasicType<T>, Type<T>, Serializable, BasicValuedMapping, Bindable, JdbcMapping, JdbcMappingContainer, MappingModelExpressible, MappingType, SqlExpressible, ValueMapping, BasicDomainType<T>, DomainType<T>, ReturnableType<T>, SimpleDomainType<T>, SqmBindableType<T>, SqmExpressible<T>, SqmDomainType<T>, AdjustableBasicType<T>, BasicPluralType<T,E>, BasicType<T>, BindableType<T>, JavaTypedExpressible, OutputableType<T>, ProcedureParameterExtractionAware<T>, ProcedureParameterNamedBinder<T>, Type
public final class BasicArrayType<T,E>
extends AbstractSingleColumnStandardBasicType<T>
implements AdjustableBasicType<T>, BasicPluralType<T,E>
A type that maps between
ARRAY and T[]- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface Type
Type.PersistenceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy(Object value, SessionFactoryImplementor factory) Return a deep copy of the persistent state, stopping at entities and at collections.booleanGet element typegetName()Returns the abbreviated name of the type.inthashCode()booleanCompare two instances of the class mapped by this type for persistence "equality", that is, equality of persistent state.protected boolean<X> BasicType<X> resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<X> domainJtd) Perform the adjustmentMethods inherited from class AbstractSingleColumnStandardBasicType
nullSafeSetMethods inherited from class AbstractStandardBasicType
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, 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, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableStringMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BasicDomainType
getPersistenceTypeMethods inherited from interface 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 BasicValuedMapping
addToCacheKeyMethods inherited from interface Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcJavaType, getJdbcTypeMethods inherited from interface OutputableType
canDoExtraction, extract, extract, getJdbcTypeMethods inherited from interface SqmBindableType
resolveExpressibleMethods inherited from interface SqmDomainType
getTupleLength, getTypeNameMethods inherited from interface SqmExpressible
getRelationalJavaTypeMethods inherited from interface Type
assemble, beforeAssemble, compare, disassemble, disassemble, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getReturnedClassName, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableStringMethods inherited from interface ValueMapping
treatAs
-
Constructor Details
-
BasicArrayType
-
-
Method Details
-
getElementType
Description copied from interface:BasicPluralTypeGet element type- Specified by:
getElementTypein interfaceBasicPluralType<T,E>
-
getName
-
registerUnderJavaType
protected boolean registerUnderJavaType()- Overrides:
registerUnderJavaTypein classAbstractStandardBasicType<T>
-
resolveIndicatedType
Description copied from interface:AdjustableBasicTypePerform the adjustment- Specified by:
resolveIndicatedTypein interfaceAdjustableBasicType<T>
-
equals
-
hashCode
-
isEqual
Description copied from interface:TypeCompare two instances of the class mapped by this type for persistence "equality", that is, equality of persistent state. For most types this could simply delegate toequals().This should always equate to some form of comparison of the value's internal state. As an example, for Java's
Dateclass, the comparison should be of its internal state, but based only on the specific part which is persistent (the timestamp, date, or time).- Specified by:
isEqualin interfaceType- Overrides:
isEqualin classAbstractStandardBasicType<T>- Parameters:
one- The first valueanother- The second value- Returns:
- True if there are considered equal (see discussion above).
-
deepCopy
Description copied from interface:TypeReturn a deep copy of the persistent state, stopping at entities and at collections.- Specified by:
deepCopyin interfaceType- Overrides:
deepCopyin classAbstractStandardBasicType<T>- Parameters:
value- The value to be copiedfactory- The session factory- Returns:
- The deep copy
-