org.apache.olingo.odata2.api.edm

## Interface EdmReferentialConstraint

- All Superinterfaces:
    EdmAnnotatable
  All Known Implementing Classes:
    EdmReferentialConstraintImpl

      public interface EdmReferentialConstraint
      extends EdmAnnotatable

  Do not implement this interface or derive from class.
    A CSDL ReferentialConstraint element

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmReferentialConstraintRole` | `getDependent()` Get the dependent end element
    `EdmReferentialConstraintRole` | `getPrincipal()` Get the principal end element

    - ### Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable

      `getAnnotations`

- - ### Method Detail

    - #### getPrincipal

          EdmReferentialConstraintRole getPrincipal()
                                             throws EdmException

      Get the principal end element
      Returns:
        `EdmReferentialConstraintRole`
      Throws:
        `EdmException`

    - #### getDependent

          EdmReferentialConstraintRole getDependent()
                                             throws EdmException

      Get the dependent end element
      Returns:
        `EdmReferentialConstraintRole`
      Throws:
        `EdmException`

Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.