public abstract class AbstractSingularAttributeFetch extends AbstractFetchOwner implements Fetch
FetchOwner and a Fetch.NO_FETCHES| Constructor and Description |
|---|
AbstractSingularAttributeFetch(AbstractSingularAttributeFetch original,
CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
AbstractSingularAttributeFetch(SessionFactoryImplementor factory,
FetchOwner owner,
String ownerProperty,
FetchStrategy fetchStrategy)
Constructs an
AbstractSingularAttributeFetch object. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumnNames()
Gets the column names used for this fetch.
|
FetchStrategy |
getFetchStrategy()
Gets the fetch strategy for this fetch.
|
FetchOwner |
getOwner()
Obtain the owner of this fetch.
|
String |
getOwnerPropertyName()
Obtain the name of the property, relative to the owner, being fetched.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch
|
boolean |
isNullable()
Is this fetch nullable?
|
String |
toString() |
void |
validateFetchPlan(FetchStrategy fetchStrategy)
Is the asserted plan valid from this owner to a fetch?
|
addFetch, buildCollectionFetch, buildCompositeFetch, buildEntityFetch, getColumnNames, getFetches, getFetchOwnerDelegate, getType, isNullablesessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitretrieveFetchSourcePersisterpublic AbstractSingularAttributeFetch(SessionFactoryImplementor factory, FetchOwner owner, String ownerProperty, FetchStrategy fetchStrategy)
AbstractSingularAttributeFetch object.factory - - the session factory.owner - - the fetch owner for this fetch.ownerProperty - - the owner's property referring to this fetch.fetchStrategy - - the fetch strategy for this fetch.public AbstractSingularAttributeFetch(AbstractSingularAttributeFetch original, CopyContext copyContext, FetchOwner fetchOwnerCopy)
public FetchOwner getOwner()
Fetchpublic String getOwnerPropertyName()
FetchgetOwnerPropertyName in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic String[] getColumnNames()
FetchgetColumnNames in interface Fetchpublic FetchStrategy getFetchStrategy()
FetchgetFetchStrategy in interface Fetchpublic void validateFetchPlan(FetchStrategy fetchStrategy)
FetchOwnervalidateFetchPlan in interface FetchOwnerfetchStrategy - The pla to validatepublic PropertyPath getPropertyPath()
FetchgetPropertyPath in interface FetchgetPropertyPath in interface FetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.