org.jpox.metadata
Class ForeignKeyAction

java.lang.Object
  extended byorg.jpox.metadata.ForeignKeyAction
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ForeignKeyDeleteAction, ForeignKeyUpdateAction

public abstract class ForeignKeyAction
extends java.lang.Object
implements java.io.Serializable

Foreign keys represent a consistency constraint in the database that must be maintained. This class enumerates the actions which happens when foreign-keys are updated or deleted.

Version:
$Revision: 1.3 $
Author:
Erik Bengtson
See Also:
Serialized Form

Constructor Summary
protected ForeignKeyAction(int i)
          constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
protected  int getType()
          Accessor for the type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeyAction

protected ForeignKeyAction(int i)
constructor

Parameters:
i - type id
Method Detail

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.

Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

getType

protected int getType()
Accessor for the type.

Returns:
The type


Copyright © -2007 . All Rights Reserved.