Interface IDfForeignKey

All Superinterfaces:
IDfPersistentObject, IDfRelationType, IDfTypedObject

public interface IDfForeignKey extends IDfRelationType
  • Method Details

    • getParentAttributesCount

      int getParentAttributesCount() throws DfException
      Returns the number of parent key properties for the foreign key.
      Returns:
      the number parent key properties
      Throws:
      DfException - if a server error occurs
    • getParentAttribute

      String getParentAttribute(int index) throws DfException
      Returns the parent key property for the foreign key at the specified index.
      Parameters:
      index - index of the attribute
      Returns:
      returns the property at that index
      Throws:
      DfException - if a server error occurs.
    • getChildAttributesCount

      int getChildAttributesCount() throws DfException
      Returns the number child key properties for the foreign key.
      Returns:
      the number child key properties
      Throws:
      DfException - if a server error occurs
    • getChildAttribute

      String getChildAttribute(int index) throws DfException
      Returns the child key property for the foreign key at the specified index.
      Parameters:
      index - index of the attribute
      Returns:
      returns the child property at that index
      Throws:
      DfException - if a server error occurs.