gov.usda.gdpc
Interface TaxonGroup

All Superinterfaces:
java.util.Collection, DBElementGroup, Group, java.util.List
All Known Implementing Classes:
AbstractTaxonGroup

public interface TaxonGroup
extends DBElementGroup

Collection of taxa.

Author:
terryc

Method Summary
 Taxon getTaxon(java.lang.String dataSource, Identifier id)
          This returns the taxon instance from this group that matches the specified id and source.
 TaxonGroup getTaxonGroup(TaxonFilter filter)
          Get the taxon group matching the given filter from this taxon group.
 
Methods inherited from interface gov.usda.gdpc.DBElementGroup
getDBElements, getDefinedProperties, getDistinctProperties, getType, index
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getTaxonGroup

public TaxonGroup getTaxonGroup(TaxonFilter filter)
Get the taxon group matching the given filter from this taxon group.

Parameters:
filter - filter
Returns:
taxon group

getTaxon

public Taxon getTaxon(java.lang.String dataSource,
                      Identifier id)
This returns the taxon instance from this group that matches the specified id and source. Null will be returned if its not in this group.

Parameters:
dataSource - data source
id - identifier
Returns:
taxon or null if not in this group.