gov.nih.nlm.mms
Interface CuiList

All Known Implementing Classes:
CuiSuiAuiList

public interface CuiList

This class is used during the first phase of MetamorphoSys subsetting, in which a list of cuis to be kept is built up. The class is designed to minimize the memory impact of keeping track of the cuis.

Author:
Deborah Shapiro, Brian Carlsen

Method Summary
 void addCui(String cui)
          Enables a filter to specify a Cui should be added to the cui list.
 boolean addedByUserOnly(String cui)
          Indicates that cui was added by the user and not just left through filtering process.
 boolean inList(String cui)
          Returns true if any part of the Concept being kept.
 void removeCui(String cui)
          Enables a filter to specify a Cui that should be removed from the cui list.
 

Method Detail

inList

public boolean inList(String cui)
Returns true if any part of the Concept being kept.

Parameters:
cui - a String cui value
Returns:
true if any part of the Concept being kept

addCui

public void addCui(String cui)
Enables a filter to specify a Cui should be added to the cui list.

Parameters:
cui - String

addedByUserOnly

public boolean addedByUserOnly(String cui)
Indicates that cui was added by the user and not just left through filtering process.

Parameters:
cui - String
Returns:
boolean

removeCui

public void removeCui(String cui)
Enables a filter to specify a Cui that should be removed from the cui list.

Parameters:
cui - String


Copyright ©2005