1 package org.hibernate.persister.entity; 3 4 import org.hibernate.MappingException; 5 6 import java.util.Map ; 7 8 14 public interface Joinable { 15 17 20 public String getName(); 21 24 public String getTableName(); 25 26 29 public String selectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String currentEntitySuffix, String currentCollectionSuffix, boolean includeCollectionColumns); 30 31 35 public String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses); 36 40 public String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses); 41 44 public String [] getKeyColumnNames(); 45 48 public String filterFragment(String alias, Map enabledFilters) throws MappingException; 49 50 public String oneToManyFilterFragment(String alias) throws MappingException; 51 54 public boolean isCollection(); 55 56 62 public boolean consumesEntityAlias(); 63 64 70 public boolean consumesCollectionAlias(); 71 } 72 | Popular Tags |