public interface JoinableAssociation
| Modifier and Type | Method and Description |
|---|---|
AssociationType |
getAssociationType()
Returns the association type.
|
CollectionReference |
getCurrentCollectionReference()
Return the current
CollectionReference, or null if none. |
EntityReference |
getCurrentEntityReference()
Return the current
EntityReference, or null if none. |
Fetch |
getCurrentFetch()
Returns the current association fetch object.
|
Map<String,Filter> |
getEnabledFilters()
Returns the filters that are enabled for this association.
|
Joinable |
getJoinable()
Return the persister for creating the join for the association.
|
JoinType |
getJoinType()
Returns the type of join used for the association.
|
PropertyPath |
getPropertyPath()
Returns the property path of the association.
|
String |
getWithClause()
Returns the with clause for this association.
|
boolean |
hasRestriction()
Does this association have a restriction?
|
boolean |
isCollection()
Is this a collection association?
|
boolean |
isManyToManyWith(JoinableAssociation other)
Does this association have a many-to-many association
with the specified association?
|
PropertyPath getPropertyPath()
JoinType getJoinType()
JoinTypeFetch getCurrentFetch()
FetchEntityReference getCurrentEntityReference()
EntityReference, or null if none.
If getCurrentFetch() returns an
EntityFetch, this method will
return the same object as getCurrentFetch().
If getCurrentFetch() returns a
CollectionFetch and
the collection's owner is returned or fetched, this
method will return the EntityReference that owns the
Fetch returned by getCurrentFetch();
otherwise this method returns null.EntityReference, or null if none.getCurrentFetch(),
Fetch,
CollectionFetch,
EntityFetch,
EntityReferenceCollectionReference getCurrentCollectionReference()
CollectionReference, or null if none.
If getCurrentFetch() returns a
CollectionFetch, this method
will return the same object as getCurrentFetch().
If getCurrentFetch() returns an
EntityFetch that is
a collection element (or part of a composite collection element),
and that collection is being returned or fetched, this
method will return the CollectionReference;
otherwise this method returns null.CollectionReference, or null if none.getCurrentFetch(),
Fetch,
EntityFetch,
CollectionFetch,
CollectionReferenceAssociationType getAssociationType()
AssociationTypeJoinable getJoinable()
boolean isCollection()
boolean hasRestriction()
boolean isManyToManyWith(JoinableAssociation other)
other - - the other association.String getWithClause()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.