public abstract class

ForeignKeyDirection

extends Object
implements Serializable
java.lang.Object
   ↳ org.hibernate.type.ForeignKeyDirection

Class Overview

Represents directionality of the foreign key constraint

Summary

Fields
public static final ForeignKeyDirection FOREIGN_KEY_FROM_PARENT A foreign key from parent to child
public static final ForeignKeyDirection FOREIGN_KEY_TO_PARENT A foreign key from child to parent
Protected Constructors
ForeignKeyDirection()
Public Methods
abstract boolean cascadeNow(int cascadePoint)
Should we cascade at this cascade point?
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final ForeignKeyDirection FOREIGN_KEY_FROM_PARENT

A foreign key from parent to child

public static final ForeignKeyDirection FOREIGN_KEY_TO_PARENT

A foreign key from child to parent

Protected Constructors

protected ForeignKeyDirection ()

Public Methods

public abstract boolean cascadeNow (int cascadePoint)

Should we cascade at this cascade point?

See Also