Annotation Interface IpsTableUsage


@Retention(RUNTIME) @Target(METHOD) public @interface IpsTableUsage
Preserves design time information about the used table
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the used table.
    Class<? extends ITable<?>>[]
    Returns the allowed table types.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates whether the table usage is required.
  • Element Details

    • name

      String name
      The name of the used table.
    • tableClasses

      Class<? extends ITable<?>>[] tableClasses
      Returns the allowed table types.
      Returns:
      an array of classes representing the allowed table types
    • required

      boolean required
      Indicates whether the table usage is required.
      Returns:
      true if the table usage is required, false otherwise
      Default:
      false