Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.persister.entity
Interface Joinable  view Joinable download Joinable.java

All Known Subinterfaces:
OuterJoinLoadable, Queryable
All Known Implementing Classes:
AbstractEntityPersister, BasicEntityPersister

public interface Joinable

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


Method Summary
 boolean consumesCollectionAlias()
          Very, very, very ugly...
 boolean consumesEntityAlias()
          Very, very, very ugly...
 java.lang.String filterFragment(java.lang.String alias, java.util.Map enabledFilters)
          Get the where clause filter, given a query alias and considering enabled session filters
 java.lang.String fromJoinFragment(java.lang.String alias, boolean innerJoin, boolean includeSubclasses)
          Get the from clause part of any joins (optional operation)
 java.lang.String[] getKeyColumnNames()
          The columns to join on
 java.lang.String getName()
          An identifying name; a class name or collection role name.
 java.lang.String getTableName()
          The table to join to.
 boolean isCollection()
          Is this instance actually a CollectionPersister?
 java.lang.String oneToManyFilterFragment(java.lang.String alias)
           
 java.lang.String selectFragment(Joinable rhs, java.lang.String rhsAlias, java.lang.String lhsAlias, java.lang.String currentEntitySuffix, java.lang.String currentCollectionSuffix, boolean includeCollectionColumns)
          All columns to select, when loading.
 java.lang.String whereJoinFragment(java.lang.String alias, boolean innerJoin, boolean includeSubclasses)
          Get the where clause part of any joins (optional operation)
 

Method Detail

getName

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


getTableName

public java.lang.String getTableName()
The table to join to.


selectFragment

public java.lang.String selectFragment(Joinable rhs,
                                       java.lang.String rhsAlias,
                                       java.lang.String lhsAlias,
                                       java.lang.String currentEntitySuffix,
                                       java.lang.String currentCollectionSuffix,
                                       boolean includeCollectionColumns)
All columns to select, when loading.


whereJoinFragment

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


fromJoinFragment

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


getKeyColumnNames

public java.lang.String[] getKeyColumnNames()
The columns to join on


filterFragment

public java.lang.String filterFragment(java.lang.String alias,
                                       java.util.Map enabledFilters)
                                throws org.hibernate.MappingException
Get the where clause filter, given a query alias and considering enabled session filters


oneToManyFilterFragment

public java.lang.String oneToManyFilterFragment(java.lang.String alias)
                                         throws org.hibernate.MappingException

isCollection

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


consumesEntityAlias

public boolean consumesEntityAlias()
Very, very, very ugly...


consumesCollectionAlias

public boolean consumesCollectionAlias()
Very, very, very ugly...