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
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 theORDER BY
when loading.
-
-
-
Method Detail
-
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:
OrderBy.value()
-
-