Package javax.persistence.metamodel
Interface Type<X>
-
- Type Parameters:
X- The type of the represented object or attribute
- All Known Subinterfaces:
BasicType<X>,EmbeddableType<X>,EntityType<X>,IdentifiableType<X>,ManagedType<X>,MappedSuperclassType<X>
public interface Type<X>Instances of the typeTyperepresent persistent object or attribute types.- Since:
- 2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classType.PersistenceType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<X>getJavaType()Return the represented Java type.Type.PersistenceTypegetPersistenceType()Return the persistence type.
-
-
-
Method Detail
-
getPersistenceType
Type.PersistenceType getPersistenceType()
Return the persistence type.- Returns:
- persistence type
-
getJavaType
java.lang.Class<X> getJavaType()
Return the represented Java type.- Returns:
- Java type
-
-