org.beanfabrics
Interface HasComparable

All Known Subinterfaces:
CustomizerPM, IBigDecimalPM, IBooleanPM, IDatePM, IIconPM, IImagePM, IIntegerPM, IListPM<T>, IMapPM<K,V>, IOperationPM, ITextPM, IValuePM, PresentationModel
All Known Implementing Classes:
AbstractCustomizerPM, AbstractOperationPM, AbstractPM, AbstractValuePM, BigDecimalPM, BnListCustomizerPM, BnTableCustomizerPM, BooleanPM, ColumnListConfigurationPM, ColumnListPM, ColumnPM, ContactPM, DatePM, DecimalPM, EntryPM, GroupPM, HorizontalAlignmentPM, IconPM, IconTextPM, ImageTextPM, IntegerPM, ListPM, LoginPM, LoginPM, MapPM, ModelSubscriberCustomizerPM, MoneyPM, OperationPM, PathBrowserPM, PathChooserPM, PathNodePM, PathPM, PhoneNumberPM, PropertiesPM, RegexPM, RegexTesterPM, TextPM, TimeSpanPM, TitlePM

public interface HasComparable

The HasComparable is the interface of classes that do not implement the Comparable interface itself but provide access to a comparable substitute.


Method Summary
 java.lang.Comparable<?> getComparable()
          Returns the comparable substitute.
 

Method Detail

getComparable

java.lang.Comparable<?> getComparable()
Returns the comparable substitute. This substitute can be used for comparison of this object with another.

Override this method to control how instances of this class are sorted by a Sorter.

Returns:
the comparable substitute