Interface PrimitiveJavaType<J extends Serializable>
- All Superinterfaces:
BasicJavaType<J>
,JavaType<J>
,Serializable
- All Known Implementing Classes:
BooleanJavaType
,ByteJavaType
,CharacterJavaType
,DoubleJavaType
,FloatJavaType
,IntegerJavaType
,LongJavaType
,ShortJavaType
Additional contract for primitive / primitive wrapper Java types.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType
JavaType.CoercionContext
-
Method Summary
Methods inherited from interface org.hibernate.type.descriptor.java.BasicJavaType
fromString, getRecommendedJdbcType
Methods inherited from interface org.hibernate.type.descriptor.java.JavaType
appendEncodedString, areEqual, coerce, createJavaType, createJavaType, extractHashCode, extractLoggableRepresentation, fromEncodedString, getCheckCondition, getComparator, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getJavaType, getJavaTypeClass, getLongSqlLength, getMutabilityPlan, getReplacement, getTypeName, isInstance, isTemporalType, isWider, toString, unwrap, useObjectEqualsHashCode, wrap
-
Method Details
-
getPrimitiveClass
Class<?> getPrimitiveClass()Retrieve the primitive counterpart to the wrapper type identified by this descriptor- Returns:
- The primitive Java type.
-
getArrayClass
Get the Java type that describes an array of this type. -
getPrimitiveArrayClass
Class<?> getPrimitiveArrayClass()Get the Java type that describes an array of this type's primitive variant.
-