Fast Object Database for Java - with JPA/JDO support

javax.persistence.metamodel.Type - JPA interface

javax.persistence.metamodel
Interface Type<X>

Subinterfaces:
BasicType, EmbeddableType, EntityType, IdentifiableType, ManagedType, MappedSuperclassType
Instances of the type Type represent persistent object or attribute types.
Since:
JPA 2.0
Class<X> getJavaType()
Return the represented Java type.
Return the represented Java type.
Returns:
Java type
Since:
JPA 2.0
Return the persistence type.
Return the persistence type.
Returns:
persistence type
Since:
JPA 2.0