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 BYwhen loading.- Returns:
trueindicates to apply theORDER BY;falsemeans 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 BYfragment used during loading this plural attribute from DB. - See Also:
-