|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable
org.LexGrid.LexBIG.Impl.Extensions.Sort.AbstractSort
public abstract class AbstractSort
The Class AbstractSort.
Constructor Summary | |
---|---|
AbstractSort()
Instantiates a new abstract sort. |
Method Summary | ||
---|---|---|
protected ExtensionDescription |
buildExtensionDescription()
Builds the extension description. |
|
protected abstract SortDescription |
buildSortDescription()
Builds the sort description. |
|
|
getComparatorForSearchClass(java.lang.Class<T> searchClass)
Gets the comparator for search class. |
|
java.util.Set<java.lang.Class> |
getSupportedClassComparators()
Gets the supported class comparators. |
|
boolean |
isSortValidForClass(java.lang.Class clazz)
Checks if this sort is valid for the class. |
|
void |
register()
Register. |
|
abstract void |
registerComparators(java.util.Map<java.lang.Class,java.util.Comparator> classToComparatorsMap)
Register comparators. |
Methods inherited from class org.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable |
---|
getDescription, getExtensionDescription, getName, getProvider, getVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable |
---|
getDescription, getName, getProvider, getVersion |
Constructor Detail |
---|
public AbstractSort() throws LBParameterException, LBException
LBParameterException
- the LB parameter exception
LBException
- the LB exceptionMethod Detail |
---|
public void register() throws LBParameterException, LBException
LBParameterException
- the LB parameter exception
LBException
- the LB exceptionprotected abstract SortDescription buildSortDescription()
protected ExtensionDescription buildExtensionDescription()
AbstractExtendable
buildExtensionDescription
in class AbstractExtendable
public abstract void registerComparators(java.util.Map<java.lang.Class,java.util.Comparator> classToComparatorsMap)
classToComparatorsMap
- the class to comparators mappublic <T> java.util.Comparator<T> getComparatorForSearchClass(java.lang.Class<T> searchClass) throws LBParameterException
Sort
getComparatorForSearchClass
in interface Sort
searchClass
- the search class
LBParameterException
- the LB parameter exceptionpublic boolean isSortValidForClass(java.lang.Class clazz)
Sort
isSortValidForClass
in interface Sort
clazz
- the clazz
public java.util.Set<java.lang.Class> getSupportedClassComparators()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |