org.hibernate.loader
Class OuterJoinableAssociation
java.lang.Object
org.hibernate.loader.OuterJoinableAssociation
public final class OuterJoinableAssociation
- extends Object
Part of the Hibernate SQL rendering internals. This class represents
a joinable association.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OuterJoinableAssociation
public OuterJoinableAssociation(PropertyPath propertyPath,
AssociationType joinableType,
String lhsAlias,
String[] lhsColumns,
String rhsAlias,
int joinType,
String withClause,
boolean hasRestriction,
SessionFactoryImplementor factory,
Map enabledFilters)
throws MappingException
- Throws:
MappingException
createRoot
public static OuterJoinableAssociation createRoot(AssociationType joinableType,
String alias,
SessionFactoryImplementor factory)
getPropertyPath
public PropertyPath getPropertyPath()
getJoinType
public int getJoinType()
getLhsAlias
public String getLhsAlias()
getRHSAlias
public String getRHSAlias()
getRhsAlias
public String getRhsAlias()
getJoinableType
public AssociationType getJoinableType()
getRHSUniqueKeyName
public String getRHSUniqueKeyName()
isCollection
public boolean isCollection()
getJoinable
public Joinable getJoinable()
hasRestriction
public boolean hasRestriction()
getOwner
public int getOwner(List associations)
addJoins
public void addJoins(JoinFragment outerjoin)
throws MappingException
- Throws:
MappingException
validateJoin
public void validateJoin(String path)
throws MappingException
- Throws:
MappingException
isManyToManyWith
public boolean isManyToManyWith(OuterJoinableAssociation other)
addManyToManyJoin
public void addManyToManyJoin(JoinFragment outerjoin,
QueryableCollection collection)
throws MappingException
- Throws:
MappingException
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.