Annotation Type PdoTreeContextMenuItemService

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int ordinal
      The unique ordinal to sort the menu-items within the context menu.
      0 comes first.
      java.lang.Class<? extends org.tentackle.pdo.PersistentDomainObject> value
      Determines the serviced PDO class.
      The PDO-class usually is an interface extending the persistent and the domain interfaces.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String group
      Defines the group the item belongs to.
      Separators will be inserted between groups.
    • Element Detail

      • value

        java.lang.Class<? extends org.tentackle.pdo.PersistentDomainObject> value
        Determines the serviced PDO class.
        The PDO-class usually is an interface extending the persistent and the domain interfaces.

        The class may be also a super-interface. For example, PersistentDomainObject will apply to all PDOs.

        Returns:
        the PDO class
      • ordinal

        int ordinal
        The unique ordinal to sort the menu-items within the context menu.
        0 comes first.

        If the same ordinal is defined more than once, the menu item closest in the the PDO-inheritance tree will override all others.

        Returns:
        the ordinal
      • group

        java.lang.String group
        Defines the group the item belongs to.
        Separators will be inserted between groups.
        Returns:
        the group, empty for default group
        Default:
        ""