Annotation Type EdmVisibleFor


@Retention(RUNTIME) @Target(FIELD) public @interface EdmVisibleFor
The annotation can be used to assign attributes or properties to field or visibility groups. On case such a group is provided during a GET request all properties that are assigned to that group and all properties that are assigned to no group, or in other words that are not annotated, get selected. In case properties that belong to another group are requested, a null value is returned.

Note: Keys, mandatory fields as well as association or navigation properties can not be annotated

Author:
Oliver Grande
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    List of field groups an attribute or property belongs to.
  • Element Details

    • value

      String[] value
      List of field groups an attribute or property belongs to.
      Returns: