public class CompositeFetchOwnerDelegate extends Object implements FetchOwnerDelegate
| Constructor and Description |
|---|
CompositeFetchOwnerDelegate(SessionFactoryImplementor sessionFactory,
CompositeType compositeType,
String[] columnNames)
Constructs a
CompositeFetchOwnerDelegate. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumnNames(Fetch fetch)
Returns the column names used for loading the specified fetch.
|
Type |
getType(Fetch fetch)
Returns the type of the specified fetch.
|
boolean |
isNullable(Fetch fetch)
Is the specified fetch nullable?
|
public CompositeFetchOwnerDelegate(SessionFactoryImplementor sessionFactory, CompositeType compositeType, String[] columnNames)
CompositeFetchOwnerDelegate.sessionFactory - - the session factory.compositeType - - the composite type.columnNames - - the column names used by sub-attribute fetches.public boolean isNullable(Fetch fetch)
FetchOwnerDelegateisNullable in interface FetchOwnerDelegatefetch - - the owned fetch.public Type getType(Fetch fetch)
FetchOwnerDelegategetType in interface FetchOwnerDelegatefetch - - the owned fetch.public String[] getColumnNames(Fetch fetch)
FetchOwnerDelegategetColumnNames in interface FetchOwnerDelegatefetch - - the owned fetch.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.