org.LexGrid.LexBIG.cagrid.adapters
Class FilterAdapter

java.lang.Object
  extended by org.LexGrid.LexBIG.cagrid.adapters.FilterAdapter
All Implemented Interfaces:
java.io.Serializable, Extendable, Filter

public class FilterAdapter
extends java.lang.Object
implements Filter

See Also:
Serialized Form

Constructor Summary
FilterAdapter(FilterClient client)
           
 
Method Summary
 java.lang.String getDescription()
          Return a description of the extension.
 java.lang.String getName()
          Return the name assigned to this service extension.
 java.lang.String getProvider()
          Return an identifier for the extension provider.
 java.lang.String getVersion()
          Return version information about the extension.
 boolean match(ResolvedConceptReference ref)
          Indicates whether or not the given reference satisfies criteria for this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterAdapter

public FilterAdapter(FilterClient client)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: Extendable
Return a description of the extension.

Specified by:
getDescription in interface Extendable

getName

public java.lang.String getName()
Description copied from interface: Extendable
Return the name assigned to this service extension. This name must be unique within context of the installed node and is used to register and lookup the extension through a LexBIGService.

Specified by:
getName in interface Extendable

getProvider

public java.lang.String getProvider()
Description copied from interface: Extendable
Return an identifier for the extension provider.

Specified by:
getProvider in interface Extendable

getVersion

public java.lang.String getVersion()
Description copied from interface: Extendable
Return version information about the extension.

Specified by:
getVersion in interface Extendable

match

public boolean match(ResolvedConceptReference ref)
Description copied from interface: Filter
Indicates whether or not the given reference satisfies criteria for this filter. Filters should _NOT_ be used for search criteria that can be done with built in restrictions. Filters are very inefficient.

Specified by:
match in interface Filter
Parameters:
ref - The concept reference to evaluate.
Returns:
true if the reference is to be included in returned results; otherwise false.

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.