Interface Orderable
- All Known Subinterfaces:
PluralAttributeElementSourceManyToMany
- All Known Implementing Classes:
PluralAttributeElementSourceManyToManyImpl
,PluralAttributeSourceBagImpl
,PluralAttributeSourceIdBagImpl
,PluralAttributeSourceSetImpl
public interface Orderable
Contact to define if a plural attribute source is orderable or not.
-
Method Summary
-
Method Details
-
isOrdered
boolean isOrdered()If the source of plural attribute is supposed to be applied theORDER BY
when loading.- Returns:
true
indicates to apply theORDER 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:
-