org.LexGrid.LexBIG.cagrid.adapters
Class SortAdapter

java.lang.Object
  extended by org.LexGrid.LexBIG.cagrid.adapters.SortAdapter
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference>, org.LexGrid.LexBIG.Extensions.Extendable, org.LexGrid.LexBIG.Extensions.Query.Sort

public class SortAdapter
extends java.lang.Object
implements org.LexGrid.LexBIG.Extensions.Query.Sort

See Also:
Serialized Form

Field Summary
private  SortClient sort
           
 
Constructor Summary
SortAdapter(SortClient client)
           
 
Method Summary
 int compare(org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference o1, org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference o2)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getProvider()
           
 java.lang.String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

sort

private SortClient sort
Constructor Detail

SortAdapter

public SortAdapter(SortClient client)
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.LexGrid.LexBIG.Extensions.Extendable

getName

public java.lang.String getName()
Specified by:
getName in interface org.LexGrid.LexBIG.Extensions.Extendable

getProvider

public java.lang.String getProvider()
Specified by:
getProvider in interface org.LexGrid.LexBIG.Extensions.Extendable

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface org.LexGrid.LexBIG.Extensions.Extendable

compare

public int compare(org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference o1,
                   org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference o2)
Specified by:
compare in interface java.util.Comparator<org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference>