Top Description Methods
org.hibernate.boot.model.source.spi

public Interface Sortable

Known Direct Implementers
org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceMapImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceSetImpl

Contact to define if the source of plural attribute is sortable or not.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

Qualified class name which implements java.util.Comparator contact.
getComparatorName
()

The comparator class name which will be used to sort the attribute.

public boolean

Returns:

true the attribute will be sortable or false means not.
isSorted
()

If the source of plural attribute is supposed to be sorted.

Method Detail

getComparatorNameback to summary
public String getComparatorName()

The comparator class name which will be used to sort the attribute.

Returns:String

Qualified class name which implements java.util.Comparator contact.

isSortedback to summary
public boolean isSorted()

If the source of plural attribute is supposed to be sorted.

Returns:boolean

true the attribute will be sortable or false means not.