Package jakarta.persistence.metamodel
Interface Type<X>
- Type Parameters:
X- The type of the represented object or attribute
- All Known Subinterfaces:
AdjustableBasicType<J>,AnyMappingDomainType<J>,BasicDomainType<J>,BasicPluralType<C,,E> BasicType<X>,BasicType<T>,ConvertedBasicType<J>,DiscriminatorType<O>,EmbeddableDomainType<J>,EmbeddableType<X>,EmbeddedDomainType<J>,EntityDomainType<J>,EntityType<X>,IdentifiableDomainType<J>,IdentifiableType<X>,ManagedDomainType<J>,ManagedType<X>,MappedSuperclassDomainType<J>,MappedSuperclassType<X>,ReturnableType<T>,SimpleDomainType<J>,TreatableDomainType<J>
- All Known Implementing Classes:
AbstractDiscriminatorSqmPathSource,AbstractDomainType,AbstractIdentifiableType,AbstractManagedType,AbstractSingleColumnStandardBasicType,AbstractStandardBasicType,AnonymousTupleType,AnyDiscriminatorSqmPathSource,AnyMappingDomainTypeImpl,ArrayTupleType,BasicArrayType,BasicCollectionType,BasicSqmPathSource,BasicTypeImpl,BasicTypeImpl,BottomType,ConvertedBasicArrayType,ConvertedBasicCollectionType,ConvertedBasicTypeImpl,CustomMutabilityConvertedBasicTypeImpl,CustomMutabilityConvertedPrimitiveBasicTypeImpl,CustomType,DiscriminatorType,DiscriminatorTypeImpl,EmbeddableTypeImpl,EmbeddedDiscriminatorSqmPathSource,EntityDiscriminatorSqmPathSource,EntityTypeImpl,ImmutableNamedBasicTypeImpl,JavaObjectType,MappedSuperclassTypeImpl,NamedBasicTypeImpl,NullType,PrimitiveBasicTypeImpl,QueryParameterJavaObjectType,SerializableToBlobType,SerializableType,SqmCteTable,SqmPolymorphicRootDescriptor,StandardBasicTypeTemplate
public interface Type<X>
Instances of the type
Type represent persistent object
or attribute types.- Since:
- 2.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturn the represented Java type.Return the persistence type.
-
Method Details
-
getPersistenceType
Type.PersistenceType getPersistenceType()Return the persistence type.- Returns:
- persistence type
-
getJavaType
Return the represented Java type.- Returns:
- Java type
-