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

Quick Search    Search Deep

org.hibernate.loader
Class OuterJoinableAssociation  view OuterJoinableAssociation download OuterJoinableAssociation.java

java.lang.Object
  extended byorg.hibernate.loader.OuterJoinableAssociation

public final class OuterJoinableAssociation
extends java.lang.Object


Field Summary
private  java.util.Map enabledFilters
           
private  org.hibernate.persister.entity.Joinable joinable
           
private  org.hibernate.type.AssociationType joinableType
           
private  int joinType
           
private  java.lang.String lhsAlias
           
private  java.lang.String[] lhsColumns
           
private  java.lang.String on
           
private  java.lang.String rhsAlias
           
private  java.lang.String[] rhsColumns
           
 
Constructor Summary
OuterJoinableAssociation(org.hibernate.type.AssociationType joinableType, java.lang.String lhsAlias, java.lang.String[] lhsColumns, java.lang.String rhsAlias, int joinType, org.hibernate.engine.SessionFactoryImplementor factory, java.util.Map enabledFilters)
           
 
Method Summary
 void addJoins(org.hibernate.sql.JoinFragment outerjoin)
           
 void addManyToManyJoin(org.hibernate.sql.JoinFragment outerjoin, org.hibernate.persister.collection.QueryableCollection collection)
           
 org.hibernate.persister.entity.Joinable getJoinable()
           
 org.hibernate.type.AssociationType getJoinableType()
           
 int getJoinType()
           
 int getOwner(java.util.List associations)
           
private static int getPosition(java.lang.String lhsAlias, java.util.List associations)
          Get the position of the join with the given alias in the list of joins
 java.lang.String getRHSAlias()
           
 java.lang.String getRHSUniqueKeyName()
           
 boolean isCollection()
           
 boolean isManyToManyWith(OuterJoinableAssociation other)
           
private  boolean isOneToOne()
           
 void validateJoin(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

joinableType

private final org.hibernate.type.AssociationType joinableType

joinable

private final org.hibernate.persister.entity.Joinable joinable

lhsAlias

private final java.lang.String lhsAlias

lhsColumns

private final java.lang.String[] lhsColumns

rhsAlias

private final java.lang.String rhsAlias

rhsColumns

private final java.lang.String[] rhsColumns

joinType

private final int joinType

on

private final java.lang.String on

enabledFilters

private final java.util.Map enabledFilters
Constructor Detail

OuterJoinableAssociation

public OuterJoinableAssociation(org.hibernate.type.AssociationType joinableType,
                                java.lang.String lhsAlias,
                                java.lang.String[] lhsColumns,
                                java.lang.String rhsAlias,
                                int joinType,
                                org.hibernate.engine.SessionFactoryImplementor factory,
                                java.util.Map enabledFilters)
                         throws org.hibernate.MappingException
Method Detail

getJoinType

public int getJoinType()

getRHSAlias

public java.lang.String getRHSAlias()

isOneToOne

private boolean isOneToOne()

getJoinableType

public org.hibernate.type.AssociationType getJoinableType()

getRHSUniqueKeyName

public java.lang.String getRHSUniqueKeyName()

isCollection

public boolean isCollection()

getJoinable

public org.hibernate.persister.entity.Joinable getJoinable()

getOwner

public int getOwner(java.util.List associations)

getPosition

private static int getPosition(java.lang.String lhsAlias,
                               java.util.List associations)
Get the position of the join with the given alias in the list of joins


addJoins

public void addJoins(org.hibernate.sql.JoinFragment outerjoin)
              throws org.hibernate.MappingException

validateJoin

public void validateJoin(java.lang.String path)
                  throws org.hibernate.MappingException

isManyToManyWith

public boolean isManyToManyWith(OuterJoinableAssociation other)

addManyToManyJoin

public void addManyToManyJoin(org.hibernate.sql.JoinFragment outerjoin,
                              org.hibernate.persister.collection.QueryableCollection collection)
                       throws org.hibernate.MappingException