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

Interface ForeignKeyInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote

@SASScope("ALL") @BinaryCompatibilityOnly public interface ForeignKeyInterface extends MetadataInterface
Represents foreign key associated with the relational table
  • Method Details

    • getAssociations

      List<KeyAssociationInterface> getAssociations() throws ServiceException, RemoteException
      Get the column associations bind with this foreign key
      Returns:
      Throws:
      ServiceException - - If a repository error occurs.
      RemoteException - - In the event of remote object failure.
    • addAssociation

      void addAssociation(KeyAssociationInterface associatoin) throws ServiceException, RemoteException
      Add a key association to the foreign key
      Parameters:
      associatoin -
      Throws:
      ServiceException - - 1] If key association exist in the foreign key 2] If a repository error occurs.
      RemoteException - - In the event of remote object failure.
    • removeAssociation

      void removeAssociation(KeyAssociationInterface association) throws ServiceException, RemoteException
      Remove a key association from the foreign key
      Parameters:
      association -
      Throws:
      ServiceException - - 1] If key association to remove is the only key association in the foreign key 2] If a repository error occurs.
      RemoteException - - In the event of remote object failure.
    • getOwningTable

      DataTableInterface getOwningTable() throws ServiceException, RemoteException
      Get a owning table of the foreign key
      Returns:
      Throws:
      ServiceException - - If a repository error occurs.
      RemoteException - - In the event of remote object failure.
    • getPartnerUniqueKey

      RelationalKeyInterface getPartnerUniqueKey() throws ServiceException, RemoteException
      Get a partner unique key of the foreign key.
      Returns:
      Throws:
      ServiceException - - If a repository error occurs.
      RemoteException - - In the event of remote object failure.