Annotation Interface Element


Annotation to define an ordinal element index within a tuple. Ordinals map to fields or property accessors within a domain class. Element indexes within a tuple must be unique and consecutive beginning with the first index at 0.
Since:
2.1
Author:
Mark Paluch
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value
      Returns:
      ordinal index within a tuple. First index is 0, must be greater or equal to zero.