*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface RelationalKeyInterface

All Superinterfaces:
ColumnContainerInterface, MetadataInterface, PublicObjectInterface, Remote

@SASScope("ALL") @BinaryCompatibilityOnly public interface RelationalKeyInterface extends ColumnContainerInterface
Represents Unique Key associated with the Relational Table.
  • Method Details

    • getKeyType

      RelationalKeyInterface.KeyType getKeyType() throws ServiceException, RemoteException
      Get a key type of the relational key which could be either Primary or Unique.
      Returns:
      RelationalKeyInterface.KeyType
      Throws:
      ServiceException - - If a repository error occurs.
      RemoteException - - In the event of remote object failure.
    • setKeyType

      void setKeyType(RelationalKeyInterface.KeyType keyType) throws ServiceException, RemoteException
      Set a key type of the relational key which could be either Primary or Unique.
      Parameters:
      keyType -
      Throws:
      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.
      RemoteException - - In the event of remote object failure.
    • getForeignKeys

      List<ForeignKeyInterface> getForeignKeys() throws ServiceException, RemoteException
      Get associated foreign keys of the Relational Key.
      Returns:
      List
      Throws:
      ServiceException - - If a repository error occurs.
      RemoteException - - In the event of remote object failure.
    • getAssociatedIndex

      IndexInterface getAssociatedIndex() throws ServiceException, RemoteException
      Get the associated index with a Unique/Primary Key.
      Returns:
      Throws:
      ServiceException - If there's a repository error.
      RemoteException - in the event of remote object failure.
    • setAssociatedIndex

      void setAssociatedIndex(IndexInterface index) throws ServiceException, RemoteException
      Set the associated index with a Unique/Primary Key.
      Parameters:
      index - is the associated index with a Unique/Primary Key.
      Throws:
      ServiceException - If there's a repository error.
      RemoteException - in the event of remote object failure.