Top Description Inners Methods
javax.persistence.metamodel

public Interface Type<X>

Known Direct Subinterfaces
javax.persistence.metamodel.BasicType, javax.persistence.metamodel.ManagedType
Type Parameters
<X>
The type of the represented object or attribute

Instances of the type Type represent persistent object or attribute types.
Since
Java Persistence 2.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public Class<X>

Returns:

Java type
getJavaType
()

Return the represented Java type.

public Type.PersistenceType

Returns:

persistence type
getPersistenceType
()

Return the persistence type.

Method Detail

getJavaTypeback to summary
public Class<X> getJavaType()

Return the represented Java type.

Returns:Class<X>

Java type

getPersistenceTypeback to summary
public Type.PersistenceType getPersistenceType()

Return the persistence type.

Returns:Type.PersistenceType

persistence type

javax.persistence.metamodel back to summary

public final Enum Type.PersistenceType

extends Enum<Type.PersistenceType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Type.PersistenceType
BASIC

Basic type

public static final Type.PersistenceType
EMBEDDABLE

Embeddable class

public static final Type.PersistenceType
ENTITY

Entity

public static final Type.PersistenceType
MAPPED_SUPERCLASS

Mapped superclass

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Type.PersistenceType
public static Type.PersistenceType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BASICback to summary
public static final Type.PersistenceType BASIC

Basic type

EMBEDDABLEback to summary
public static final Type.PersistenceType EMBEDDABLE

Embeddable class

ENTITYback to summary
public static final Type.PersistenceType ENTITY

Entity

MAPPED_SUPERCLASSback to summary
public static final Type.PersistenceType MAPPED_SUPERCLASS

Mapped superclass

Constructor Detail

PersistenceTypeback to summary
private PersistenceType()

Method Detail

valueOfback to summary
public static Type.PersistenceType valueOf(String name)
valuesback to summary
public static Type.PersistenceType[] values()