Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
javax.persistence.metamodel |
Java Persistence Metamodel API
|
Modifier and Type | Method and Description |
---|---|
<Y> Fetch<X,Y> |
FetchParent.fetch(SingularAttribute<? super X,Y> attribute)
Create a fetch join to the specified single-valued attribute
using an inner join.
|
<Y> Fetch<X,Y> |
FetchParent.fetch(SingularAttribute<? super X,Y> attribute,
JoinType jt)
Create a fetch join to the specified single-valued attribute
using the given join type.
|
<Y> Path<Y> |
Path.get(SingularAttribute<? super X,Y> attribute)
Create a path corresponding to the referenced
single-valued attribute.
|
<Y> Join<X,Y> |
From.join(SingularAttribute<? super X,Y> attribute)
Create an inner join to the specified single-valued
attribute.
|
<Y> Join<X,Y> |
From.join(SingularAttribute<? super X,Y> attribute,
JoinType jt)
Create a join to the specified single-valued attribute
using the given join type.
|
<Y> CriteriaUpdate<T> |
CriteriaUpdate.set(SingularAttribute<? super T,Y> attribute,
Expression<? extends Y> value)
Update the value of the specified attribute.
|
<Y,X extends Y> |
CriteriaUpdate.set(SingularAttribute<? super T,Y> attribute,
X value)
Update the value of the specified attribute.
|
Modifier and Type | Method and Description |
---|---|
<Y> SingularAttribute<X,Y> |
IdentifiableType.getDeclaredId(Class<Y> type)
Return the attribute that corresponds to the id attribute
declared by the entity or mapped superclass.
|
SingularAttribute<X,?> |
ManagedType.getDeclaredSingularAttribute(String name)
Return the single-valued attribute declared by the managed
type that corresponds to the specified name.
|
<Y> SingularAttribute<X,Y> |
ManagedType.getDeclaredSingularAttribute(String name,
Class<Y> type)
Return the single-valued attribute declared by the
managed type that corresponds to the specified name and
Java type.
|
<Y> SingularAttribute<X,Y> |
IdentifiableType.getDeclaredVersion(Class<Y> type)
Return the attribute that corresponds to the version
attribute declared by the entity or mapped superclass.
|
<Y> SingularAttribute<? super X,Y> |
IdentifiableType.getId(Class<Y> type)
Return the attribute that corresponds to the id attribute of
the entity or mapped superclass.
|
SingularAttribute<? super X,?> |
ManagedType.getSingularAttribute(String name)
Return the single-valued attribute of the managed type that
corresponds to the specified name.
|
<Y> SingularAttribute<? super X,Y> |
ManagedType.getSingularAttribute(String name,
Class<Y> type)
Return the single-valued attribute of the managed
type that corresponds to the specified name and Java type.
|
<Y> SingularAttribute<? super X,Y> |
IdentifiableType.getVersion(Class<Y> type)
Return the attribute that corresponds to the version
attribute of the entity or mapped superclass.
|
Modifier and Type | Method and Description |
---|---|
Set<SingularAttribute<X,?>> |
ManagedType.getDeclaredSingularAttributes()
Return the single-valued attributes declared by the managed
type.
|
Set<SingularAttribute<? super X,?>> |
IdentifiableType.getIdClassAttributes()
Return the attributes corresponding to the id class of the
identifiable type.
|
Set<SingularAttribute<? super X,?>> |
ManagedType.getSingularAttributes()
Return the single-valued attributes of the managed type.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.