Class Hierarchy        Index

Interface COM.cloudscape.types.ReferencedColumnsDescriptor

public interface ReferencedColumnsDescriptor
extends Serializable
Copyright © 1997-1999, Cloudscape, Inc. All rights reserved.

This interface is used in the column SYS.SYSCHECKS.REFERENCEDCOLUMNSDESCRIPTOR. It encapsulates information about the columns that are referenced by a CHECK CONSTRAINT definition.


Variable Index

 o CLASS_NAME

Method Index

 o getReferencedColumnPositions()
Returns an array of 1-based column positions in the table that the check constraint is on.
 o isReferencedColumn(int)
Returns true if the column at the specified position is referenced by this check constraint.
 o isReferencedColumn(Integer)
Returns true if the column at the specified position is referenced by this check constraint.

Variables

 o CLASS_NAME
 public static final String CLASS_NAME

Methods

 o getReferencedColumnPositions
 public abstract int[] getReferencedColumnPositions()
Returns an array of 1-based column positions in the table that the check constraint is on.

Returns:
An array of ints representing the 1-based column positions of the columns that are referenced in this check constraint.
 o isReferencedColumn
 public abstract boolean isReferencedColumn(Integer columnPosition)
Returns true if the column at the specified position is referenced by this check constraint.

Returns:
Whether or not the column at the specified position is referenced in this check constraint.
 o isReferencedColumn
 public abstract boolean isReferencedColumn(int columnPosition)
Returns true if the column at the specified position is referenced by this check constraint.

Returns:
Whether or not the column at the specified position is referenced in this check constraint.

  Class Hierarchy        Index