Annotation Type EdmEntitySet


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface EdmEntitySet

    Annotation for a EDM/CSDL EntitySet element.

    EdmEntitySet is the container for entity type instances as described in the OData protocol. The EdmEntitySet annotation defines the annotated class as entity set and must be used in conjunction with an EdmEntityType annotation on a class.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String container
      Define the container name for the EDM Entity Set.
      String name
      Define the name for the EDM Entity Set.
    • Element Detail

      • name

        String name
        Define the name for the EDM Entity Set. If not set a default value has to be generated by the EDM provider.
        Returns:
        name for the EDM Entity Set
        Default:
        ""
      • container

        String container
        Define the container name for the EDM Entity Set. If not set a default value has to be generated by the EDM provider.
        Returns:
        container name for the EDM Entity Set
        Default:
        ""