|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ClassPersister that may be loaded by outer join using the OuterJoinLoader hierarchy and may be an element of a one-to-many association.
OuterJoinLoader
Field Summary |
Fields inherited from interface net.sf.hibernate.persister.ClassPersister |
ENTITY_ID |
Method Summary | |
int |
countSubclassProperties()
How many properties are there, for this class and all subclasses. |
int |
enableJoinedFetch(int i)
May this property be fetched using an SQL outerjoin. |
String |
fromTableFragment(String alias)
Get the main from table fragment, given a query alias. |
String |
getDiscriminatorColumnName()
Get the name of the column used as a discriminator |
String[] |
getIdentifierColumnNames()
Get the names of columns used to persist the identifier |
String[] |
getSubclassPropertyColumnNames(int i)
Return the column names used to persist the numbered property of the class or a subclass. |
String |
getSubclassPropertyName(int i)
Get the name of the numbered property of the class or a subclass. |
String |
getSubclassPropertyTableName(int i)
Return the table name used to persist the numbered property of the class or a subclass. |
Type |
getSubclassPropertyType(int i)
Get the type of the numbered property of the class or a subclass. |
boolean |
isDefinedOnSubclass(int i)
Is this property defined on a subclass of the mapped class. |
String |
selectFragment(String alias,
String suffix)
Generate a list of collection index and element columns |
String[] |
toColumns(String name,
int i)
Given the number of a property of a subclass, and a table alias, return the aliased column names. |
Methods inherited from interface net.sf.hibernate.persister.Loadable |
getDiscriminatorAlias, getDiscriminatorType, getIdentifierAliases, getPropertyAliases, getSubclassForDiscriminatorValue, hasSubclasses |
Methods inherited from interface net.sf.hibernate.persister.Joinable |
consumesAlias, fromJoinFragment, getJoinKeyColumnNames, getName, getTableName, isCollection, isManyToMany, selectFragment, whereJoinFragment |
Method Detail |
public String[] getIdentifierColumnNames()
public String getDiscriminatorColumnName()
public int countSubclassProperties()
public int enableJoinedFetch(int i)
public boolean isDefinedOnSubclass(int i)
public Type getSubclassPropertyType(int i)
public String getSubclassPropertyName(int i)
public String[] getSubclassPropertyColumnNames(int i)
public String getSubclassPropertyTableName(int i)
public String[] toColumns(String name, int i)
public String fromTableFragment(String alias)
public String selectFragment(String alias, String suffix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |