Interface DomainType<J>
-
- Type Parameters:
J
- The Java type for this JPA Type
- All Superinterfaces:
Type<J>
- All Known Subinterfaces:
BasicDomainType<J>
,BasicTypeDescriptor<J>
,CollectionDomainType<C,E>
,DomainTypeDescriptor<J>
,EmbeddedDomainType<J>
,EmbeddedTypeDescriptor<J>
,EntityDomainType<J>
,EntityTypeDescriptor<J>
,IdentifiableDomainType<J>
,IdentifiableTypeDescriptor<J>
,ManagedDomainType<J>
,ManagedTypeDescriptor<J>
,MappedSuperclassDomainType<J>
,MappedSuperclassTypeDescriptor<J>
,SimpleDomainType<J>
,SimpleTypeDescriptor<J>
public interface DomainType<J> extends Type<J>
Base contract for Hibernate's extension of the JPA type system.- ApiNote:
- The "real" JPA type system is more akin to
SimpleDomainType
. We begin our JPA type system extension a "level above" that. This is to allow for: 1) JPA does not define a Type for collections. It's understandable why, but leads to limitations in regards to being able to understand the type of an attribute - in JPA, when the attribute is plural the only descriptor info available is for the the collection is its Java type (Class). 2) specialized types like ANY, The `*DomainType` naming pattern is used to more easily (visually) differentiate these extensions from the JPA ones in application use.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type
Type.PersistenceType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTypeName()
The name of the type - this is Hibernate notion of the type name including non-pojo mappings, etc.-
Methods inherited from interface javax.persistence.metamodel.Type
getJavaType, getPersistenceType
-
-
-
-
Method Detail
-
getTypeName
String getTypeName()
The name of the type - this is Hibernate notion of the type name including non-pojo mappings, etc.
-
-