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, isNullable
sessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
retrieveFetchSourcePersister
public 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()
Fetch
public String getOwnerPropertyName()
Fetch
getOwnerPropertyName
in interface Fetch
public boolean isNullable()
Fetch
isNullable
in interface Fetch
public String[] getColumnNames()
Fetch
getColumnNames
in interface Fetch
public FetchStrategy getFetchStrategy()
Fetch
getFetchStrategy
in interface Fetch
public void validateFetchPlan(FetchStrategy fetchStrategy)
FetchOwner
validateFetchPlan
in interface FetchOwner
fetchStrategy
- The pla to validatepublic PropertyPath getPropertyPath()
Fetch
getPropertyPath
in interface Fetch
getPropertyPath
in interface FetchOwner
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.