1 package org.hibernate.type; 3 4 import org.hibernate.MappingException; 5 import org.hibernate.engine.SessionFactoryImplementor; 6 import org.hibernate.persister.entity.Joinable; 7 8 import java.util.Map ; 9 10 15 public interface AssociationType extends Type { 16 17 20 public ForeignKeyDirection getForeignKeyDirection(); 21 22 25 29 public boolean useLHSPrimaryKey(); 30 34 public String getLHSPropertyName(); 35 36 41 public String getRHSUniqueKeyPropertyName(); 42 43 47 public Joinable getAssociatedJoinable(SessionFactoryImplementor factory) throws MappingException; 48 49 52 public String getAssociatedEntityName(SessionFactoryImplementor factory) throws MappingException; 53 54 58 public String getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters) 59 throws MappingException; 60 61 65 public abstract boolean isAlwaysDirtyChecked(); 66 67 public boolean isEmbeddedInXML(); 68 } 69 70 71 72 73 74 75 | Popular Tags |