Annotation Interface EdmFacets


@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface EdmFacets

Annotation for definition of EdmFactes on an EdmProperty (for an EdmEntityType or EdmComplexType which contains the EdmProperty as a field).

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The maximum length of the type in use.
    boolean
    The information if the type in use is nullable.
    int
    The precision of the type in use.
    int
    The scale of the type in use.
  • Element Details

    • maxLength

      int maxLength
      The maximum length of the type in use. A negative value indicates for the EDM provider an unset/default value.
      Returns:
      the maximum length of the type in use as Integer
      Default:
      -1
    • scale

      int scale
      The scale of the type in use. A negative value indicates for the EDM provider an unset/default value.
      Returns:
      the scale of the type in use as Integer
      Default:
      -1
    • precision

      int precision
      The precision of the type in use. A negative value indicates for the EDM provider an unset/default value.
      Returns:
      the precision of the type in use as Integer
      Default:
      -1
    • nullable

      boolean nullable
      The information if the type in use is nullable. The default value for nullable is true.
      Returns:
      true if the type in use is nullable, false otherwise.
      Default:
      true