Java javax.persistence.metamodel EntityType fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence.metamodel EntityType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence.metamodel EntityType.

The text is from its open source code.

Implementation

javax.persistence.metamodel.EntityType has the following implementations.
Click this link to see all its implementation.

Method

AttributegetAttribute(String name)
Return the attribute of the managed type that corresponds to the specified name.
Set>getAttributes()
Return the attributes of the managed type.
ClassgetBindableJavaType()
Return the Java type of the represented object.
CollectionAttributegetCollection(String name)
Return the Collection-valued attribute of the managed type that corresponds to the specified name.
Set>getDeclaredAttributes()
Return the attributes declared by the managed type.
SingularAttributegetDeclaredSingularAttribute(String name, Class type)
Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type.
SingularAttributegetId(Class type)
Return the attribute that corresponds to the id attribute of the entity or mapped superclass.
TypegetIdType()
Return the type that represents the type of the id.
ClassgetJavaType()
Return the represented Java type.
ListAttributegetList(String name)
Return the List-valued attribute of the managed type that corresponds to the specified name.
StringgetName()
Return the entity name.
Set>getPluralAttributes()
Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type.
SetAttributegetSet(String name)
Return the Set-valued attribute of the managed type that corresponds to the specified name.
SingularAttributegetSingularAttribute(String name)
Return the single-valued attribute of the managed type that corresponds to the specified name.
Set>getSingularAttributes()
Return the single-valued attributes of the managed type.
SingularAttributegetVersion(Class type)
Return the attribute that corresponds to the version attribute of the entity or mapped superclass.
booleanhasSingleIdAttribute()
Whether the identifiable type has a single id attribute.
booleanhasVersionAttribute()
Whether the identifiable type has a version attribute.