Interface Orderable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getOrder()
      The order by clause used during loading this plural attribute.
      boolean isOrdered()
      If the source of plural attribute is supposed to be applied the ORDER BY when loading.
    • Method Detail

      • isOrdered

        boolean isOrdered()
        If the source of plural attribute is supposed to be applied the ORDER BY when loading.
        Returns:
        true indicates to apply the ORDER BY; false means not.
      • getOrder

        String getOrder()
        The order by clause used during loading this plural attribute.

        If the ordering element is not specified, ordering by the primary key of the associated entity is assumed

        Returns:
        The ORDER BY fragment used during loading this plural attribute from DB.
        See Also:
        OrderBy.value()