|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface RelationalKeyInterface
Represents Unique Key associated with the Relational Table.
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
|---|---|
IndexInterface |
getAssociatedIndex()
Get the associated index with a Unique/Primary Key. |
java.util.List<ForeignKeyInterface> |
getForeignKeys()
Get associated foreign keys of the Relational Key. |
com.sas.services.information.metadata.RelationalKeyInterface.KeyType |
getKeyType()
Get a key type of the relational key which could be either Primary or Unique. |
void |
setAssociatedIndex(IndexInterface index)
Set the associated index with a Unique/Primary Key. |
void |
setKeyType(com.sas.services.information.metadata.RelationalKeyInterface.KeyType keyType)
Set a key type of the relational key which could be either Primary or Unique. |
| Methods inherited from interface com.sas.services.information.metadata.ColumnContainerInterface |
|---|
addColumn, addColumnAt, addColumns, getColumns, getOwningTable, removeColumn, removeColumn, removeColumns |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
com.sas.services.information.metadata.RelationalKeyInterface.KeyType getKeyType()
throws ServiceException,
java.rmi.RemoteException
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
void setKeyType(com.sas.services.information.metadata.RelationalKeyInterface.KeyType keyType)
throws ServiceException,
java.rmi.RemoteException
keyType -
ServiceException - - 1] If Primary Key exist in the Relational Table while
converting the type to Primary Key.
2] If Nullable column in the unique key while converting the type to Primary Key.
3] If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
java.util.List<ForeignKeyInterface> getForeignKeys()
throws ServiceException,
java.rmi.RemoteException
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.
IndexInterface getAssociatedIndex()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If there's a repository error.
java.rmi.RemoteException - in the event of remote object failure.
void setAssociatedIndex(IndexInterface index)
throws ServiceException,
java.rmi.RemoteException
index - is the associated index with a Unique/Primary Key.
ServiceException - If there's a repository error.
java.rmi.RemoteException - in the event of remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||