oracle.jdeveloper.cm.ds.db
Class ColumnConstraint
java.lang.Object
oracle.jdeveloper.cm.ds.db.AbstractDBObject
oracle.jdeveloper.cm.ds.db.Constraint
oracle.jdeveloper.cm.ds.db.ColumnConstraint
- All Implemented Interfaces:
- Copyable, DBObject, Subject
- Direct Known Subclasses:
- FKConstraint, UniqueConstraint
- public abstract class ColumnConstraint
- extends Constraint
Fields inherited from class oracle.jdeveloper.cm.ds.db.Constraint |
TYPE |
Fields inherited from interface oracle.jdeveloper.cm.ds.db.DBObject |
COMMENT |
Methods inherited from class oracle.jdeveloper.cm.ds.db.AbstractDBObject |
attach, compareToImpl, copyToImpl, detach, equals, equalsImpl, getID, getName, getProperties, getProperty, hashCode, notifyObservers, setID, setName, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jdeveloper.cm.ds.db.DBObject |
copyTo |
copyToImpl
protected void copyToImpl(ColumnConstraint copy)
equalsImpl
protected boolean equalsImpl(ColumnConstraint target)
getColumns
public Column[] getColumns()
- Retrieves the constrained columns.
- Returns:
- the array containing the list of columns being constrained
setColumns
public void setColumns(Column[] columns)
- Sets the constrained columns.
- Parameters:
columns
- the array containing the list of columns being constrained
addColumn
public void addColumn(Column col)
- Adds a constrained column.
- Parameters:
col
- the Column to add to the list of constrained columns
removeColumn
public void removeColumn(Column col)
- Removes a column from the list of constrained columns.
- Parameters:
col
- the Column to remove to the list of constrained columns
setRelation
public void setRelation(Relation relation)
- Description copied from class:
Constraint
- Sets the
Relation
that owns this Constraint.
- Overrides:
setRelation
in class Constraint
- Parameters:
relation
- the Relation that owns this constraint.
Copyright © 1997, 2004, Oracle. All rights reserved.