org.apache.olingo.odata2.api.edm

## Interface EdmAssociationEnd

- All Superinterfaces:
    EdmAnnotatable
  All Known Subinterfaces:
    EdmMetadataAssociationEnd
  All Known Implementing Classes:
    EdmAssociationEndImpl

      public interface EdmAssociationEnd
      extends EdmAnnotatable

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

    EdmAssociationEnd defines one side of the relationship of two entity types.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmEntityType` | `getEntityType()`
    `EdmMultiplicity` | `getMultiplicity()` See `EdmMultiplicity` for more information about possible multiplicities.
    `String` | `getRole()`

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

      `getAnnotations`

- - ### Method Detail

    - #### getRole

          String getRole()

      Returns:
        the role of this `EdmAssociationEnd` as a String.

    - #### getEntityType

          EdmEntityType getEntityType()
                               throws EdmException

      Returns:
        `EdmEntityType` this association end points to.
      Throws:
        `EdmException`

    - #### getMultiplicity

          EdmMultiplicity getMultiplicity()

      See `EdmMultiplicity` for more information about possible multiplicities.
      Returns:
        `EdmMultiplicity`

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