Package org.hibernate.loader
Class OuterJoinableAssociation
- java.lang.Object
-
- org.hibernate.loader.OuterJoinableAssociation
-
public final class OuterJoinableAssociation extends java.lang.ObjectPart of the Hibernate SQL rendering internals. This class represents a joinable association.
-
-
Constructor Summary
Constructors Constructor Description OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, java.lang.String lhsAlias, java.lang.String[] lhsColumns, java.lang.String rhsAlias, JoinType joinType, java.lang.String withClause, boolean hasRestriction, SessionFactoryImplementor factory, java.util.Map enabledFilters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddJoins(JoinFragment outerjoin)voidaddManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection)static OuterJoinableAssociationcreateRoot(AssociationType joinableType, java.lang.String alias, SessionFactoryImplementor factory)JoinablegetJoinable()AssociationTypegetJoinableType()JoinTypegetJoinType()java.lang.StringgetLhsAlias()intgetOwner(java.util.List associations)PropertyPathgetPropertyPath()java.lang.StringgetRhsAlias()java.lang.StringgetRHSAlias()java.lang.StringgetRHSUniqueKeyName()booleanhasRestriction()booleanisCollection()booleanisManyToManyWith(OuterJoinableAssociation other)voidvalidateJoin(java.lang.String path)
-
-
-
Constructor Detail
-
OuterJoinableAssociation
public OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, java.lang.String lhsAlias, java.lang.String[] lhsColumns, java.lang.String rhsAlias, JoinType joinType, java.lang.String withClause, boolean hasRestriction, SessionFactoryImplementor factory, java.util.Map enabledFilters) throws MappingException
- Throws:
MappingException
-
-
Method Detail
-
createRoot
public static OuterJoinableAssociation createRoot(AssociationType joinableType, java.lang.String alias, SessionFactoryImplementor factory)
-
getPropertyPath
public PropertyPath getPropertyPath()
-
getJoinType
public JoinType getJoinType()
-
getLhsAlias
public java.lang.String getLhsAlias()
-
getRHSAlias
public java.lang.String getRHSAlias()
-
getRhsAlias
public java.lang.String getRhsAlias()
-
getJoinableType
public AssociationType getJoinableType()
-
getRHSUniqueKeyName
public java.lang.String getRHSUniqueKeyName()
-
isCollection
public boolean isCollection()
-
getJoinable
public Joinable getJoinable()
-
hasRestriction
public boolean hasRestriction()
-
getOwner
public int getOwner(java.util.List associations)
-
addJoins
public void addJoins(JoinFragment outerjoin) throws MappingException
- Throws:
MappingException
-
validateJoin
public void validateJoin(java.lang.String path) throws MappingException- Throws:
MappingException
-
isManyToManyWith
public boolean isManyToManyWith(OuterJoinableAssociation other)
-
addManyToManyJoin
public void addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection) throws MappingException
- Throws:
MappingException
-
-