Class Hierarchy    Previous  Next  Index

Interface COM.cloudscape.types.ReferencedColumnsDescriptor


public interface ReferencedColumnsDescriptor
extends java.io.Serializable
Copyright © 1998-2000, Informix Software, 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.


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.

Method Detail

 o getReferencedColumnPositions
public 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 boolean isReferencedColumn(java.lang.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 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    Previous  Next  Index