Interface Orderable
-
- All Known Subinterfaces:
PluralAttributeElementSourceManyToMany
public interface OrderableContact to define if a plural attribute source is orderable or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOrder()The order by clause used during loading this plural attribute.booleanisOrdered()If the source of plural attribute is supposed to be applied theORDER BYwhen loading.
-
-
-
Method Detail
-
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
java.lang.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:
OrderBy.value()
-
-