SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

kodo.jdbc.schema
Class Constraint

java.lang.Object
  |
  +--kodo.jdbc.schema.ReferenceCounter
        |
        +--kodo.jdbc.schema.Constraint
Direct Known Subclasses:
ForeignKey, PrimaryKey

public abstract class Constraint
extends kodo.jdbc.schema.ReferenceCounter

A table constraint.


Method Summary
 void deref()
           
 String getFullName()
          Return the full name of the constraint, in the form <table>.<name>
 String getName()
          Return the name of the constraint.
 int getRefCount()
           
 Table getTable()
          Return the table of this constraint.
 boolean isDeferred()
          Return true if this is a deferred constraint.
abstract  boolean isLogical()
          Return whether this constraint is a logical constraint only; i.e.
 void ref()
           
 void setDeferred(boolean deferred)
          Make this constrain deferred.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTable

public Table getTable()
Return the table of this constraint.

getName

public String getName()
Return the name of the constraint.

getFullName

public String getFullName()
Return the full name of the constraint, in the form <table>.<name>

isLogical

public abstract boolean isLogical()
Return whether this constraint is a logical constraint only; i.e. if it does not exist in the database.

isDeferred

public boolean isDeferred()
Return true if this is a deferred constraint.

setDeferred

public void setDeferred(boolean deferred)
Make this constrain deferred.

toString

public String toString()
Overrides:
toString in class Object

getRefCount

public int getRefCount()

ref

public void ref()

deref

public void deref()

SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.