Home » Search

About Metamodel

1-10 of 183 Refresh
Manual
291

JPA Metamodel API

The JPA Metamodel API provides the ability to examine the persistent object model and retrieve ... reflection provides for general Java types. The Metamodel Interface The main interface of the JPA Metamodel API is Metamodel. It can be obtained either by the EntityManagerFactory's getMetamodel method or
JPA Doc
265

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields ... of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties ... : The JPA Metamodel API may optionally be used with the JPA Criteria API. Many of the interfaces in
JPA Doc
257

JPA Metamodel API Attributes

The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API: See the Metamodel Attribute Interface Hierarchy section for more details and examples.
JPA Doc
257

JPA Metamodel API Types

The following interfaces and enum represent types in the JPA Metamodel API:  See the Metamodel Type Interface Hierarchy section for more details and examples.
JPA Doc
95

javax.persistence.metamodel.Metamodel

javax.persistence. metamodel Interface Metamodel Provides access to the metamodel of persistent ... the metamodel embeddable type representing the embeddable class. Return the metamodel embeddable type ... Returns: the metamodel embeddable type Throws: IllegalArgumentException - if not an embeddable class
JPA Doc
62

embeddable(cls)

Method javax.persistence. metamodel. Metamodel EmbeddableType embeddable(   Class  cls ) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented embeddable class Returns: the metamodel embeddable type Throws: IllegalArgumentException - if not an embeddable class Since: JPA 2.0
JPA Doc
62

entity(cls)

Method javax.persistence. metamodel. Metamodel EntityType entity(   Class  cls ) Return the metamodel entity type representing the entity. Parameters: cls - the type of the represented entity Returns: the metamodel entity type Throws: IllegalArgumentException - if not an entity Since: JPA 2.0
JPA Doc
62

getEmbeddables()

Method javax.persistence. metamodel. Metamodel Set > getEmbeddables() Return the metamodel embeddable types. Returns empty set if there are no embeddable types. Returns: the metamodel embeddable types Since: JPA 2.0
JPA Doc
62

getEntities()

Method javax.persistence. metamodel. Metamodel Set > getEntities() Return the metamodel entity types. Returns: the metamodel entity types Since: JPA 2.0
JPA Doc
62

getManagedTypes()

Method javax.persistence. metamodel. Metamodel Set > getManagedTypes() Return the metamodel managed types. Returns: the metamodel managed types Since: JPA 2.0