JPA Interface

Bindable

Type Parameters:
<T> - The type of the represented object or attribute

Instances of the type Bindable represent object or attribute types that can be bound into a javax.persistence.criteria.Path.
Since:
JPA 2.0

Public Methods

Return the Java type of the represented object.
If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.
Return:
Java type
Since:
JPA 2.0
Bindable<T>.BindableType getBindableType()
Return the bindable type of the represented object.
Return:
bindable type
Since:
JPA 2.0