站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Joinable (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.persister
Interface Joinable

All Known Subinterfaces:
OuterJoinLoadable, Queryable, QueryableCollection
All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, EntityPersister

public interface Joinable

Anything that can be loaded by outer join - namely persisters for classes or collections.

Author:
Gavin King

Method Summary
 boolean consumesAlias()
          Ugly, very ugly....
 String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)
          Get the from clause part of any joins (optional operation)
 String[] getJoinKeyColumnNames()
          The columns to join on.
 String getName()
          An identifying name; a class name or collection role name.
 String getTableName()
          The table to join to.
 boolean isCollection()
          Is this instance actually a CollectionPersister?
 boolean isManyToMany()
          Is this instance actually a many-to-many association?
 String selectFragment(String alias, String suffix, boolean includeCollectionColumns)
          All columns to select, when loading.
 String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)
          Get the where clause part of any joins (optional operation)
 

Method Detail

getName

public String getName()
An identifying name; a class name or collection role name.


getTableName

public String getTableName()
The table to join to.


selectFragment

public String selectFragment(String alias,
                             String suffix,
                             boolean includeCollectionColumns)
All columns to select, when loading.


whereJoinFragment

public String whereJoinFragment(String alias,
                                boolean innerJoin,
                                boolean includeSubclasses)
Get the where clause part of any joins (optional operation)


fromJoinFragment

public String fromJoinFragment(String alias,
                               boolean innerJoin,
                               boolean includeSubclasses)
Get the from clause part of any joins (optional operation)


getJoinKeyColumnNames

public String[] getJoinKeyColumnNames()
The columns to join on.


isCollection

public boolean isCollection()
Is this instance actually a CollectionPersister?


isManyToMany

public boolean isManyToMany()
Is this instance actually a many-to-many association?


consumesAlias

public boolean consumesAlias()
Ugly, very ugly....