org.apache.olingo.ext.proxy.api.annotations

## Annotation Type ReferentialConstraint

-     @Retention(value=RUNTIME)
       @Target(value=FIELD)
      public @interface ReferentialConstraint

  Annotate navigation property with information about referential constraint.
  See Also:
    `NavigationProperty`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String[]` | `dependentPropertyRefs`
    `Class<?>` | `dependentRole`
    `String[]` | `principalPropertyRefs`
    `Class<?>` | `principalRole`

- - ### Element Detail

    - #### principalRole

          public abstract Class<?> principalRole

  - - #### principalPropertyRefs

          public abstract String[] principalPropertyRefs

  - - #### dependentRole

          public abstract Class<?> dependentRole

  - - #### dependentPropertyRefs

          public abstract String[] dependentPropertyRefs

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.