|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A type that represents some kind of association between entities.
Cascades
Method Summary | |
Class |
getAssociatedClass(SessionFactoryImplementor factory)
|
ForeignKeyDirection |
getForeignKeyDirection()
Get the foreign key directionality of this association |
Joinable |
getJoinable(SessionFactoryImplementor factory)
Get the "persister" for this association - a class or collection persister |
String[] |
getReferencedColumns(SessionFactoryImplementor factory)
Get the columns referenced by this association. |
boolean |
usePrimaryKeyAsForeignKey()
Is the foreign key the primary key of the table? |
Methods inherited from interface net.sf.hibernate.type.Type |
assemble, copy, deepCopy, disassemble, equals, fromString, getColumnSpan, getName, getReturnedClass, hasNiceEquals, hydrate, isAssociationType, isComponentType, isDirty, isEntityType, isModified, isMutable, isObjectType, isPersistentCollectionType, nullSafeGet, nullSafeGet, nullSafeSet, resolveIdentifier, sqlTypes, toString |
Method Detail |
public ForeignKeyDirection getForeignKeyDirection()
public boolean usePrimaryKeyAsForeignKey()
public Joinable getJoinable(SessionFactoryImplementor factory) throws MappingException
MappingException
public String[] getReferencedColumns(SessionFactoryImplementor factory) throws MappingException
MappingException
public Class getAssociatedClass(SessionFactoryImplementor factory) throws MappingException
MappingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |