oracle.owb.relational
Interface ForeignKey
- All Superinterfaces:
- Extensible, OWBNamedObject, PropertyOwner
- public interface ForeignKey
- extends OWBNamedObject, Extensible
ForeignKey interface represents a data entity foreign key
constraint. Foreign key integrity constraint requires each value in a
column or set of columns to match a value in a related table's UNIQUE
or PRIMARY KEY.
| Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
| Methods inherited from interface oracle.owb.foundation.property.PropertyOwner |
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString |
getKeyOwner
public KeyOwner getKeyOwner()
- Gets the key owner.
- Returns:
- the key data entity owner.
setUniqueKey
public void setUniqueKey(UniqueKey uniqueKey)
- Sets the unique key this foreign key is referencing.
- Parameters:
a - unique key.
getUniqueKey
public UniqueKey getUniqueKey()
- Gets the unique key this foreign key is referencing.
- Returns:
- a UniqueKey object.
getColumns
public Column[] getColumns()
- Gets the ordered list of columns this foreign key consists of.
- Returns:
- an array of columns in the order they appear in the foreign key.
setColumns
public void setColumns(Column[] columns)
- Sets the ordered list of columns this foreign key consists of.
- Parameters:
columns - an array of columns in the order they should appear in the
foreign key.