org.apache.olingo.odata2.api.edm

## Interface EdmAssociationSet

- All Superinterfaces:
    EdmAnnotatable, EdmNamed
  All Known Implementing Classes:
    EdmAssociationSetImpl

      public interface EdmAssociationSet
      extends EdmNamed, EdmAnnotatable

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

    EdmAssociationSet defines the relationship of two entity sets.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmAssociation` | `getAssociation()` Get the association
    `EdmAssociationSetEnd` | `getEnd(String role)` Get the association set end
    `EdmEntityContainer` | `getEntityContainer()` Get the entity container the association set is located in

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

      `getName`

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

      `getAnnotations`

- - ### Method Detail

    - #### getAssociation

          EdmAssociation getAssociation()
                                 throws EdmException

      Get the association
      Returns:
        `EdmAssociation`
      Throws:
        `EdmException`

    - #### getEnd

          EdmAssociationSetEnd getEnd(String role)
                               throws EdmException

      Get the association set end
      Parameters:
        `role` -
      Returns:
        `EdmAssociationSetEnd`
      Throws:
        `EdmException`

    - #### getEntityContainer

          EdmEntityContainer getEntityContainer()
                                         throws EdmException

      Get the entity container the association set is located in
      Returns:
        `EdmEntityContainer`
      Throws:
        `EdmException`

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