|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UniqueKey
interface represents a data entity unique key constraint. Unique key integrity constraint requires that every value in a column or set of columns be unique--that is, no two rows of a table have duplicate values in a specified column or set of columns.
Method Summary | |
Column[] |
getColumns() Gets the ordered list of columns this unique key consists of. |
ForeignKey[] |
getForeignKeys() Get the foreign keys that reference this unique key. |
KeyOwner |
getKeyOwner() Get the KeyOwner. |
boolean |
isPrimaryKey() Determines if the UniqueKey is primary or not. |
void |
setColumns(Column[] columns) Sets the ordered list of columns this unique key consists of. |
void |
setPrimaryKey(boolean isPrimaryKey) Sets whether this is a 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 |
Method Detail |
public boolean isPrimaryKey()
public void setPrimaryKey(boolean isPrimaryKey)
isPrimaryKey
- sets the UniqueKey to true or false.public KeyOwner getKeyOwner()
public ForeignKey[] getForeignKeys()
public Column[] getColumns()
public void setColumns(Column[] columns)
columns
- an array of columns in the order they should appear in the unique key.
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |